feat: add 'Create new folder' option to Move To Folder dialog #423

Merged
guettlibot merged 9 commits from issue-422-move-to-folder-create-new into main 2026-06-05 16:53:37 +00:00
9 Commits
Author SHA1 Message Date
Thomas SharedInbox e6a7256df3 Merge remote-tracking branch 'origin/main' into issue-422-move-to-folder-create-new 2026-06-05 18:41:50 +02:00
Thomas SharedInbox ae1ae8ffa4 Merge remote-tracking branch 'origin/main' into issue-422-move-to-folder-create-new 2026-06-05 18:11:43 +02:00
Thomas SharedInbox 1421223953 Merge remote-tracking branch 'origin/main' into issue-422-move-to-folder-create-new 2026-06-05 18:01:19 +02:00
Thomas SharedInbox b7de448a83 fix: regenerate mockito mocks after MailboxRepository.createMailbox addition 2026-06-05 17:52:45 +02:00
Thomas SharedInbox 27de791a04 ci: retrigger after Dagger engine restart 2026-06-05 17:27:03 +02:00
Thomas SharedInboxandClaude Sonnet 4.6 5abdcdf19d fix: add createMailbox to MailboxRepository mock implementations
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 17:14:17 +02:00
guettli 27b5c2bed8 Merge branch 'main' into issue-422-move-to-folder-create-new 2026-06-05 16:23:55 +02:00
guettli 9c5933d984 Merge branch 'main' into issue-422-move-to-folder-create-new 2026-06-04 22:05:53 +02:00
Thomas SharedInboxandClaude Sonnet 4.6 46f1a7fb2a feat: add 'Create new folder' option to Move To Folder dialog
Adds a 'Create new folder…' tile at the bottom of the move-to
bottom sheet in the single mail view. Tapping it shows a text
input dialog; on confirm, the folder is created on the server
and the email is immediately moved there.

- Extend MailboxRepository with createMailbox(accountId, name)
- Implement it in MailboxRepositoryImpl for IMAP and JMAP,
  reusing existing private helpers with role made nullable
- Wire up the new flow in _moveTo() on EmailDetailScreen

Closes #422

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 19:32:18 +02:00