260713-ANDROID-Update UI topic#311
Open
thanhlichncc wants to merge 3 commits into
Open
Conversation
added 2 commits
July 13, 2026 11:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issue: https://mello.mezon.vn/boards/ab1d77c0-6b09-4935-8aac-0441b8b38160/tickets/MEZON-53
Mobile topic notifications used platform-specific hardcoded labels and incomplete root message metadata, so iOS/Android did not match web for topic title and original message preview cases.
Solution
Updated iOS and Android topic notification rendering to use i18n keys, parse root message previews consistently, support attachment/contact/interactive/link/text cases, and remove the extra sender/last-message line from Android topic records.
Test Cases
Verify topic notifications show TOPIC DISCUSSION as the title in English.
Verify topic notifications show Original message: before the root message preview in English.
Verify attachment root messages display the localized attachment placeholder.
Verify contact root messages display the localized contact placeholder.
Verify interactive messages display their title when available.
Verify raw text, emoji, hyperlink, and code block root messages render as normal preview text.
Verify Android topic notification rows remain vertically centered after removing the sender name line.
Verify Vietnamese locale displays localized topic notification labels and placeholders.