refactor: share keyboard-safe popup behavior#1418
Conversation
Extract the non-focusable popup, scrim, and BackHandler pattern and migrate the message action menu plus reaction details sheet to it. Fixes #1413
|
Ready to review this PR? Stage has broken it down into 4 individual chapters for you:
Chapters generated by Stage for commit 7c652de on Jul 15, 2026 9:21am UTC. |
|
Warning Review limit reached
Next review available in: 7 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Preview APK for PR #1418Home-screen label: 1418 White Noise with the blueprint launcher icon — installs side-by-side with the production and staging apps. Install directly — one tap, no GitHub sign-in (public, content-addressed Every push to this PR rebuilds and updates this comment. |
Adversarial review — changes requestedBlocking
Suggestions
Validation
Verdict: 1 blocking finding, 2 suggestions, 0 nitpicks. |
Prevent the full-window keyboard-safe popups from claiming Android's system gesture exclusion area, and guard the requirement with a regression test.\n\nFixes #1413
|
Addressed the blocking system-gesture finding in signed commit Integration decision: land #1418 first as the shared abstraction, then rebase #1417 and migrate its remaining sheets onto |
Fixes #1413
Summary
KeyboardSafePopup.MessageActionMenuwithout changing its touch-positioning or first-frame height logic.ReactionDetailsSheetto an IME-safe bottom-anchored popup; oversized content remains bottom-pinned to the host visible frame.ForwardMessageSheetonModalBottomSheetbecause its search field intentionally takes focus.Verification
./gradlew :app:compileDevDebugKotlin --no-daemon --stacktrace./gradlew :app:testDevDebugUnitTest --no-daemon --stacktrace./gradlew :app:verifyRoborazziDevDebug --no-daemon --stacktrace./gradlew :app:ktlintCheck --no-daemon --stacktrace./gradlew :app:lintDevDebug --no-daemon --stacktracegit diff --cached --checkAll passed locally. No connected device tests were run.
Sensitive paths
None.