Skip to content

feat: Add banners to message for recipient and sender - #2994

Open
Elouan1411 wants to merge 11 commits into
save-option-in-draftfrom
ui-banners
Open

feat: Add banners to message for recipient and sender#2994
Elouan1411 wants to merge 11 commits into
save-option-in-draftfrom
ui-banners

Conversation

@Elouan1411

Copy link
Copy Markdown
Contributor

(button actions not implemented)

Copilot AI review requested due to automatic review settings July 22, 2026 16:36
@Elouan1411
Elouan1411 changed the base branch from main to save-option-in-draft July 22, 2026 16:36

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

Adds reminder metadata and sender/recipient reminder banners to message threads.

Changes:

  • Persists reminder data and recomputes thread reminder state.
  • Adds reminder banners, icons, localized text, and analytics events.
  • Extends message alerts with a third action.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
OldKotlin/realm-models/.../thread/Thread.kt Adds transient reminder state.
OldKotlin/realm-models/.../message/ReminderMessageInfo.kt Defines reminder API/Realm model.
OldKotlin/realm-models/.../message/Message.kt Adds reminder fields and sender-name extraction.
app/src/main/res/values/strings.xml Adds English reminder strings.
app/src/main/res/values/attrs.xml Adds a third alert action.
app/src/main/res/values-sv/strings.xml Adds Swedish translations.
app/src/main/res/values-pt/strings.xml Adds Portuguese translations.
app/src/main/res/values-pl/strings.xml Adds Polish translations.
app/src/main/res/values-nl/strings.xml Adds Dutch translations.
app/src/main/res/values-nb/strings.xml Adds Norwegian translations.
app/src/main/res/values-it/strings.xml Adds Italian translations.
app/src/main/res/values-fr/strings.xml Adds French translations.
app/src/main/res/values-fi/strings.xml Adds Finnish translations.
app/src/main/res/values-es/strings.xml Adds Spanish translations.
app/src/main/res/values-el/strings.xml Adds Greek translations.
app/src/main/res/values-de/strings.xml Adds German translations.
app/src/main/res/values-da/strings.xml Adds Danish translations.
app/src/main/res/layout/view_message_alert.xml Supports three divided actions.
app/src/main/res/layout/item_message.xml Adds reminder icons and banners.
app/src/main/res/drawable/divider_vertical.xml Defines action divider styling.
app/src/main/res/drawable/bg_reminder_icon.xml Defines reminder icon background.
app/src/main/java/.../utils/ThreadListUtils.kt Detects reminders in messages.
app/src/main/java/.../thread/ThreadFragment.kt Supplies mailbox feature flags.
app/src/main/java/.../thread/ThreadAdapter.kt Binds reminder UI and actions.
app/src/main/java/.../thread/MessageAlertView.kt Implements third-action handling.
app/src/main/java/.../MatomoMail.kt Adds reminder analytics names.
app/src/main/java/.../cache/RealmDatabase.kt Registers the reminder Realm type.
app/src/main/java/.../ThreadRecomputations.kt Recomputes thread reminder state.

Comment thread app/src/main/java/com/infomaniak/mail/ui/main/thread/ThreadAdapter.kt Outdated
Comment thread app/src/main/java/com/infomaniak/mail/ui/main/thread/ThreadAdapter.kt Outdated
@Elouan1411
Elouan1411 force-pushed the ui-banners branch 2 times, most recently from 4259d27 to 79bf32f Compare July 31, 2026 11:44
@sonarqubecloud

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