Commit Graph

3272 Commits

Author SHA1 Message Date
octoshrimpy 2ca015a0ae feat(reactions): grid emoji picker, configurable quick reactions, open animation
- 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>
2026-06-14 18:58:13 -04:00
octoshrimpy dba337ee0e fix(reactions): make swipe-to-react work and give REACT a visible icon
- Remove the message item OnTouchListener that was swallowing swipe
  gestures, so ItemTouchHelper receives swipes again. Single-tap and
  long-press use plain click/long-click listeners like the conversations
  list; double-tap is detected via tap timing instead.
- Use ic_favorite_black_24dp for the REACT swipe action. message_emoji
  is a transparent spacer shape, so it rendered no icon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 15:31:31 -04:00
octoshrimpy 9555cb3e20 fix(reactions): readable fallback, working swipe, hidden sender copy
- Rework the quik wire format: the visible body is now an iOS-style
  fallback ("Reacted 👍 to \"...\"" or "Reacted 👍 to a message") and the
  machine data (emoji, sender address, timestamp, text) is hidden in a
  zero-width payload using U+2061..U+2064 so it never collides with the
  iOS/Google tapback characters. Non-quik clients see a clean sentence.

- Fix swipe-to-react: the message item touch listener no longer consumes
  events, so the RecyclerView's ItemTouchHelper receives swipes again.

- Restore long-press to select messages (removed long-press-to-react).

- Always hide our own outgoing reaction, even when the target message
  can't be resolved locally, so the sender never sees the raw payload.

- Tune the reaction picker popup: theme-tinted background, themed text,
  smaller emoji, and width capped to the screen so all options fit
  without horizontal scrolling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 15:12:14 -04:00
octoshrimpy 5b29290ce1 feat(reactions): double-tap to react and configurable message swipe actions
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>
2026-06-14 11:52:14 -04:00
octoshrimpy 88b57ee9d0 fix(reactions): correct thread safety, self-receipt, anchoring, and attribution
Address review findings on the send-reaction feature:

- Run permission checks on the main thread and only switch to IO for the
  actual send, instead of touching the UI from a background thread.
- Parse outgoing reactions on the sender's own device. Sent messages don't
  arrive back as incoming, so they would otherwise never be attached or
  hidden until a full reparse.
- Anchor the reaction picker above the long-pressed message instead of
  centering it on the screen, falling back to the list when off-screen.
- Always send reactions as group MMS in a group thread.
- Attribute our own reactions to our own number (via isMe + getMyPhoneNumber)
  rather than the recipient's address, and show "Me" for them in the
  reactions dialog.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 11:10:02 -04:00
octoshrimpy d0d3501a83 feat(reactions): send emoji reactions via quik-encoded SMS/MMS
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>
2026-06-14 10:53:05 -04:00
Inhishonor a88d5c62e0 fix(main): Get scheduled messages from view model
The previous behavior fetched scheduled messages directly from the conversation adaptor. This was causing memory leaks and potentially crashes. Now, the view model fetches it and provides the data through state.
2026-06-12 09:42:01 -07:00
Inhishonor fb10b709c9 fix(main): Don't animate layout changes
This was causing a crash when opening the app from a lock screen notification. It doesn't cause any visual problems.
2026-06-12 09:41:26 -07:00
Ben Iofel 9200469181 chore(repo): Delete app/build/outputs/apk/debug/app-debug.apk 2026-05-19 17:30:56 -07:00
Inhishonor 6a20c9b9ff fix(gallery): Use a dedicated dark theme
The app was setting gallery to black mode programmatically, and for some reason this was affecting other activities theming. We can just use a custom theme to force black mode that won't mess with other screens.
2026-05-13 14:14:19 -07:00
Inhishonor 65d7ffe7d0 chore: release v4.3.6 (2238) v4.3.6 2026-04-19 11:43:52 -07:00
Inhishonor afe7ccd923 fix(ci): Set permissions for release after merge 2026-04-19 11:41:39 -07:00
Inhishonor 5674e038e0 chore: release v4.3.5 (2237) 2026-04-19 11:34:43 -07:00
Inhishonor 066659b920 fix(ci): Update permissions for create pr action 2026-04-15 12:49:46 -07:00
Inhishonor 89e25f673c fix(ci): Call generate-release-notes with write permission 2026-04-15 12:19:43 -07:00
Inhishonor 666a77cb69 fix(ci): Fix permissions for fetching release notes
GitHub has changed what permissions this requires, so we have to set GITHUB_TOKEN to have write access.
2026-04-15 12:04:38 -07:00
Inhishonor 2edb91c417 refactor(ci): Improve release notes cleaning process for manual release 2026-04-15 11:35:30 -07:00
ezn24 c141cd5dce Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/zh_Hant/
2026-04-11 09:12:13 -06:00
ezn24 f9430fa40e Added translation using Weblate (Chinese (Traditional Han script)) 2026-04-11 09:12:13 -06:00
logmilo15 512b18d48a Translated using Weblate (Vietnamese)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/vi/
2026-04-11 09:12:13 -06:00
logmilo15 fa52ec6533 Added translation using Weblate (Vietnamese) 2026-04-11 09:12:13 -06:00
Niyon S V 59f507de7f Added translation using Weblate (Malayalam) 2026-04-11 09:12:13 -06:00
bomzhellino 02c26b0a93 Translated using Weblate (Russian)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/ru/
2026-04-11 09:12:13 -06:00
Rav Var bb3a580633 Translated using Weblate (Polish)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/pl/
2026-04-11 09:12:13 -06:00
Rav Var 728c962e16 Added translation using Weblate (Polish) 2026-04-11 09:12:13 -06:00
Joseph 9da7ae0eb4 Translated using Weblate (French)
Currently translated at 14.2% (2 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/fr/
2026-04-11 09:12:13 -06:00
Joseph 82d7a2ab96 Added translation using Weblate (French) 2026-04-11 09:12:13 -06:00
Sérgio Marques 6e2c954738 Translated using Weblate (Portuguese)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/pt/
2026-04-10 21:49:23 -06:00
Cabbar Hayıroğlu 5fd80023c7 Translated using Weblate (Turkish)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/tr/
2026-04-10 21:49:23 -06:00
ezn24 c50918acfb Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (1 of 1 strings)

Translation: QUIK/Short Description
Translate-URL: https://hosted.weblate.org/projects/quik/short-description/zh_Hant/
2026-04-10 21:49:23 -06:00
JSchmerling 8565364dc9 Translated using Weblate (German)
Currently translated at 99.5% (408 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/de/
2026-04-10 21:49:23 -06:00
ezn24 ffa77308fd Added translation using Weblate (Chinese (Traditional Han script)) 2026-04-10 21:49:23 -06:00
ezn24 2c5e59e7ec Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/zh_Hant/
2026-04-10 21:49:23 -06:00
Marius Olsen-Ryum 2c17af8382 Added translation using Weblate (Norwegian Bokmål) 2026-04-10 21:49:23 -06:00
Karl Ragnar Giese 72c2060277 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (405 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
Marius Olsen-Ryum 2db0b52c60 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (405 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
Marek Polák ebb7a9cc1f Translated using Weblate (Czech)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/cs/
2026-04-10 21:49:23 -06:00
spearhead ca8cbe865d Translated using Weblate (French)
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
Joseph 32ef44b697 Translated using Weblate (French)
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
109247019824 f445e068ed Translated using Weblate (Bulgarian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
Joseph 25fe910e52 Translated using Weblate (French)
Currently translated at 99.5% (408 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
Станіслав Яцук e4847786ab Translated using Weblate (Ukrainian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/uk/
2026-04-10 21:49:23 -06:00
ezn24 c608f51a39 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/zh_Hant/
2026-04-10 21:49:23 -06:00
rehork 19cd3f73ab Translated using Weblate (Polish)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/pl/
2026-04-10 21:49:23 -06:00
logmilo15 7c0c4a296f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/vi/
2026-04-10 21:49:23 -06:00
Ghost of Sparta a34c63c566 Translated using Weblate (Hungarian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/hu/
2026-04-10 21:49:23 -06:00
logmilo15 65b27d2d6b Translated using Weblate (Vietnamese)
Currently translated at 97.0% (397 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/vi/
2026-04-10 21:49:23 -06:00
JSchmerling 369d8d3318 Translated using Weblate (Italian)
Currently translated at 97.0% (397 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/it/
2026-04-10 21:49:23 -06:00
Bora Atıcı 76e71309f3 Translated using Weblate (Turkish)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/tr/
2026-04-10 21:49:23 -06:00
Eboy 170b8bdef9 Translated using Weblate (Hindi)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/hi/
2026-04-10 21:49:23 -06:00