Skip to content

Forward Message Screen: Java/XML to Kotlin/Compose migration#163

Merged
thestinger merged 9 commits into
GrapheneOS:mainfrom
m4pl:forward-message-compose
Jun 27, 2026
Merged

Forward Message Screen: Java/XML to Kotlin/Compose migration#163
thestinger merged 9 commits into
GrapheneOS:mainfrom
m4pl:forward-message-compose

Conversation

@m4pl

@m4pl m4pl commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Migrated the Forward Message flow from Java + XML to Kotlin + Compose, reusing the shared ConversationPickerScreen to cut duplicated code.

Screenshots

Before After
Screenshot_20260625_022441 Screenshot_20260625_022959

@m4pl m4pl requested review from RankoR and inthewaves June 25, 2026 10:21
@m4pl m4pl marked this pull request as ready for review June 25, 2026 10:21
@m4pl m4pl requested a review from soupslurpr June 25, 2026 10:23
Comment on lines +71 to +77
ConversationPickerScreen(
effectHandler = effectHandler,
onNavigateBack = ::finish,
allowMultiSelect = true,
isInitialDraftLoading = false,
initialDraft = draft,
)

@inthewaves inthewaves Jun 26, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The ConversationPickerScreen hardcodes strings such as share_intent_activity_label and share_recent_conversations_title; those parts should probably be customized / use custom strings for this forwarding path

e.g. at the bottom of the picker, it says "Enter a contact name or phone number to start a new message" which doesn't have the context of forwarding message. The title could be customized to indicate that we are forwarding messages

@m4pl m4pl force-pushed the forward-message-compose branch from 89c059c to 2bf6d90 Compare June 26, 2026 10:28
@m4pl m4pl force-pushed the forward-message-compose branch from 2bf6d90 to 0c67a41 Compare June 26, 2026 10:33
@m4pl m4pl requested a review from inthewaves June 26, 2026 10:49
@thestinger thestinger merged commit 5425423 into GrapheneOS:main Jun 27, 2026
3 checks passed
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.

3 participants