feat(mobile): add thread long-press actions - #4
Open
anirudhsama wants to merge 8 commits into
Open
Conversation
anirudhsama
force-pushed
the
t3code/add-mobile-thread-menu-options
branch
from
August 10, 2026 05:26
84814ab to
4188417
Compare
anirudhsama
force-pushed
the
t3code/add-mobile-thread-menu-options
branch
from
August 10, 2026 07:02
1f56cc4 to
ec5119c
Compare
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.
Mobile thread rows expose only a subset of the desktop context menu.
This brings both mobile thread-list variants to desktop action parity:
The actions are separated into lifecycle, title, utility, and destructive sections. iOS uses inline native UIMenu groups; Android flattens those same groups with separators while preserving Snooze as a real submenu.
Native iOS menu images now receive explicit appearance-resolved colors, fixing the transparent symbol column under React Native's New Architecture. The menu library's Fabric schema requires integer colors, so semantic PlatformColor objects are deliberately avoided. Mark unread uses
envelope.badge, Copy branch uses the validarrow.triangle.branchSF Symbol, and destructive images use iOS light/dark system-red values. Android maps the same symbol names to its local icon set.The branch is rebased onto upstream
main, which includes pingdotgg#5901 for long-press navigation suppression. This PR no longer carries a separate implementation of that fix.Verification:
bunx --bun vp test run apps/mobile/src/components/menu-image-colors.test.ts apps/mobile/src/components/android-menu-sections.test.ts apps/mobile/src/features/threads/thread-list-menu.test.ts apps/mobile/src/features/threads/thread-read-state.test.ts apps/mobile/src/features/threads/new-thread-from-thread.test.ts apps/mobile/src/state/preferences.test.ts(16 tests)bunx --bun vp run --filter @t3tools/mobile typecheckvp lintandvp fmton changed filesPhysical-device verification is being performed by the PR author.
Implemented by GPT-5.6 Sol via the Codex harness in T3 Code.