Repository navigation
feat(chat): in-app alert for reactions and boosts on your messages - #1857
Merged
Merged
Conversation
… photo Replace the camera-cutout pill with a blurred dark card under the status bar, matching iOS: fade and unblur with a spring settle, swipe up to dismiss, haptics on landing. Resolve the actor's name and photo from the profile cache before falling back to Someone. Add a debug-only broadcast receiver that fires canned reaction, boost and stack alerts.
The black backing plus a 55% black tint drew the card at about 12 over a 25 background. iOS's tinted glass sits slightly lighter, about 30 over 24. A near-black grey tint at 60% now lands at 30-32 over 25.
bmc08gt
force-pushed
the
feat/in-app-reaction-alerts
branch
from
October 26, 2026 13:55
338bfea to
49f3dfe
Compare
The banner set font size and weight by hand and carried its own white, dim-white and green colours. Text now uses the caption, textSmall and textLarge styles with textMain, textSecondary and success; the avatar stack overlap and ring use the dimens grid and thickBorder.
bmc08gt
added a commit
that referenced
this pull request
Oct 26, 2026
* commit '5f2549710405c4215ac47fc972e0c3d22f4e8dfb': feat(history): show boosted reactions in transaction history (#1858) feat(chat): in-app alert for reactions and boosts on your messages (#1857) feat(chat): tap-to-show photo viewer chrome with react, reply, save and forward (#1854) # Conflicts: # apps/flipcash/features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal/screens/MessengerScreen.kt
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.
Shows a banner while the app is open when someone reacts to or boosts one of your messages. It reads
ReactionUpdatefrom the event stream inEventStreamDelegate; no contract change. Spec:docs/specs/in-app-reaction-alerts.mdin code-payments/flipcash-client-orchestrator#64. iOS counterpart: code-payments/code-ios-app#1134.When it shows. A reaction or boost on a message you sent, by someone other than you, while the app is in the foreground. Removals never show. If the message is on screen in the open chat the banner is skipped; scrolled off, it reads "This chat ↓"; anywhere else it names the chat.
Boost amount.
BOOSTEDcarries the actor's running total on that emoji, andReactionState.Confirmedkeeps no per-actor totals for other people, so a side table fed by stream updates holds the last total per actor. The first boost after launch shows the full total.Own queue. The banner has its own
ReactionAlertControllerandReactionAlertHostinstead of extendingSessionToastController, which writes bill toasts intoBillStateand replaces rather than merges. Several reactions merge into one banner with stacked avatars.Banner, not cutout. The first commits grew a pill out of the display cutout.
98c47b674replaces it with the glass banner iOS ended up with, so both apps look the same: Haze blur under a dark grey tint, chat name / title / quoted message, emoji or green boost amount on the right, the reactor's photo with the initial as fallback, haptics on landing.49f3dfe3flifts the tint so the card sits slightly lighter than the app, as the iOS glass does.A debug-only trigger fires a sample reaction, stack or boost for emulator recordings.