Skip to content

feat(client): emoji reaction picker on Android (beta blocker 5/5)#598

Merged
Detair merged 1 commit into
mainfrom
feature/android-reaction-picker
Jun 13, 2026
Merged

feat(client): emoji reaction picker on Android (beta blocker 5/5)#598
Detair merged 1 commit into
mainfrom
feature/android-reaction-picker

Conversation

@Detair

@Detair Detair commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

Android beta blocker 5/5 — the final one. Reacting to messages now works.

The message long-press context menu already had a "React" item, but it was a no-op (onReact was a stub). It now opens a modal emoji picker; selecting an emoji calls the existing TextChannelViewModel.onAddReactionChatRepository.addReactionMessageApi.addReaction chain (all of which already existed).

What's new

  • EmojiPicker — an AlertDialog containing a 4-column LazyVerticalGrid of tappable emoji, with a Cancel button and tap-outside/back dismissal.
  • Reactions.kt — the curated COMMON_REACTIONS list (16 common reactions: 👍 👎 ❤️ 😂 😮 😢 😡 🎉 🔥 👏 🙏 💯 🚀 👀 ✅ ❓), kept deliberately Compose-free so it loads in a plain JVM unit test.
  • TextChannelScreen — holds the reactionTargetId for the message being reacted to, shows the picker when set, and forwards the chosen emoji to the view model.

Tests

ReactionsTest — the reaction set is non-empty, duplicate-free, all-non-blank, and a clean multiple of the 4-column grid width.

Milestone

This completes the Android beta blockers (markdown #594, attachments #595, unread indicators #596, DM UI #597, reaction picker — this PR). The five blocker features defined in the Android Beta milestone are now all shipped.

🤖 Generated with Claude Code

The message context menu's "React" action previously did nothing. It now
opens a modal emoji picker (a curated set of 16 common reactions in a
4-column grid); choosing one calls the existing add-reaction API via the
view model.

- EmojiPicker: AlertDialog + LazyVerticalGrid of tappable emoji
- Reactions: the curated COMMON_REACTIONS list, kept Compose-free so it
  is unit testable
- TextChannelScreen: holds the reaction-target message id and shows the
  picker, wiring selection to onAddReaction
- ReactionsTest: list is non-empty, duplicate-free, non-blank, grid-even

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Detair Detair merged commit 5db62a5 into main Jun 13, 2026
18 checks passed
@Detair Detair deleted the feature/android-reaction-picker branch June 13, 2026 05:16
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.

1 participant