Skip to content

feat: Save send options in draft and restore them when opening - #2993

Open
Elouan1411 wants to merge 3 commits into
select-visibilityfrom
save-option-in-draft
Open

feat: Save send options in draft and restore them when opening#2993
Elouan1411 wants to merge 3 commits into
select-visibilityfrom
save-option-in-draft

Conversation

@Elouan1411

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Persists scheduled-send and reminder options in drafts and restores them in the composer.

Changes:

  • Adds embedded reminder draft data.
  • Updates the Realm schema.
  • Saves, restores, and snapshots send options.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
ReminderDraftInfo.kt Defines persisted reminder settings.
Draft.kt Adds reminder data to drafts.
NewMessageViewModel.kt Persists and restores send options.
RealmDatabase.kt Registers the model and increments the schema.

Comment thread app/src/main/java/com/infomaniak/mail/ui/newMessage/NewMessageViewModel.kt Outdated
Comment thread app/src/main/java/com/infomaniak/mail/ui/newMessage/NewMessageViewModel.kt Outdated
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 5fc5edc to cf3545b Compare July 23, 2026 08:44
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 5ff9592 to 2112fd7 Compare July 27, 2026 08:12
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 7a1ae26 to 49f54b8 Compare July 28, 2026 09:24
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch from 49f54b8 to 795d6cd Compare July 28, 2026 14:06
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 6bcc1d8 to 97259d4 Compare July 29, 2026 14:16
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 8253c73 to e00e385 Compare July 30, 2026 09:31
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch from e00e385 to ff6317c Compare July 30, 2026 13:14
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch 2 times, most recently from 3d421f1 to 5f53573 Compare July 31, 2026 11:44
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch from 5f53573 to 770b3cf Compare July 31, 2026 12:33
@Elouan1411
Elouan1411 force-pushed the save-option-in-draft branch from 770b3cf to 738e756 Compare August 7, 2026 13:01
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants