- Fix swipe-to-react: enable stable ids on MessagesAdapter so the swipe
callback resolves the swiped message (itemId was NO_ID -> lookup failed),
and anchor the reaction popup independent of swipe-recovery translation so
it no longer opens off-screen.
- Replace the typed-text reaction "+" with a themed, scrollable emoji grid
(EmojiPicker) generated from colour-emoji codepoint ranges plus a curated
common set. No third-party picker, so no Guava and it follows light/dark.
- Make the six quick reactions user-configurable and reorderable via a new
Settings -> Quick reactions editor; the double-tap default reaction now uses
the same grid picker instead of a raw text dialog.
- Pulse visible reaction badges (1 -> 1.4 -> 0.9 -> 1, cascaded 0.25s) when a
conversation opens with a reaction as its newest message.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add two reaction UX improvements on top of the send-reaction feature:
- Double-tap a message bubble to send the configured default reaction
emoji. A single GestureDetector on the item root now handles tap,
double-tap and long-press, leaving child view touch handling intact.
- Configurable per-direction message swipe actions (none, react, reply,
copy, forward, delete) via a new MessageItemTouchCallback that always
snaps the row back after a swipe. Adds a settings screen for the swipe
actions and a default-reaction emoji picker, backed by new preferences.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Long-press a message to open an emoji reaction picker. Reactions are
sent as a plain SMS/MMS body using a quik-specific zero-width encoding
that carries the original sender's address and the message's timestamp,
so a receiving quik instance can attach the reaction to the exact
message via address + date lookup (fast path), falling back to the
existing text matching for non-quik senders.
The quik pattern is registered first so it wins over the generic Google
Messages pattern; iOS/Google parsing is unchanged. New ParsedEmojiReaction
fields are in-memory only, so no Realm migration is needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Adds a new class of features for message management.
- Adds a manual option to find and delete duplicate messages
- Adds a setting to automatically delete duplicates during sync
- Adds a sha256 hashing function
Co-authored-by: octoshrimpy <octoshrimpy@users.noreply.github.com>
Fixes part of #152
To keep this PR simple, I've left out:
- when long-pressing on the emoji in a group MMS, a popup should come up listing which contact sent each emoji
- notifications (untested)
- sending emoji reactions
move old ReceiveMms interactor code to receive mms worker
move mms processing code from mmsreceivedreceiver to receive mms worker
fix bug of non-unique pending intent for mms ack/notify send
removed some unused android-smsmms files and code that was causing build issues
change compose selectedconversation (chips -> convo monitoring) to take advantage of changes in conversationrepo
conversationrepo change getthreadid to getconversation to avoid duplicate db access
some cleanups and refactoring in conversationrepo
emoji2 compat library to 1.4.0 (required compilesdk upgrade to 34)
make qkedittext use appcompatedittext for emoji compatibility
fix small incompatibilities introduced by new library versions
add instruction status message when bubble char limit exceeded.
add share text feature.
make copy and share text menu options only available when there is text in selected messages.
new FileProvider to share messages text files out of app's cache dir.
add message subject to copy messages text feature.
a lot of refactoring of MessagesAdapter class.
add new FileUtils class.
convert file logging to use new FileUtils class.
change MediaRecorder to use new FileUtils class.
housekeeping worker now cleans messages text cache files.
housekeeping worker now checks cache files older than 2 hours before deleting.