Commit Graph

1339 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
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) 2026-04-19 11:43:52 -07:00
Inhishonor 5674e038e0 chore: release v4.3.5 (2237) 2026-04-19 11:34:43 -07: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
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 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
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
Cabbar Hayıroğlu 53b4c3e381 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
Ahmet ALMAZ 3a7a63b1c4 Translated using Weblate (Arabic)
Currently translated at 100.0% (409 of 409 strings)

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

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
109247019824 ca4237b62d Translated using Weblate (Bulgarian)
Currently translated at 96.5% (395 of 409 strings)

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

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/cs/
2026-04-10 21:49:23 -06:00
109247019824 e9a900dff0 Translated using Weblate (Bulgarian)
Currently translated at 92.6% (379 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
Niyon S V 2e9676ecad Added translation using Weblate (Malayalam) 2026-04-10 21:49:23 -06:00
109247019824 1d88084f25 Translated using Weblate (Bulgarian)
Currently translated at 87.5% (358 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
bomzhellino 30859390cb Translated using Weblate (Russian)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/ru/
2026-04-10 21:49:23 -06:00
109247019824 d3da8dc746 Translated using Weblate (Bulgarian)
Currently translated at 80.9% (331 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
bomzhellino 433ff6ba71 Translated using Weblate (Russian)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/ru/
2026-04-10 21:49:23 -06:00
109247019824 d1e5cc5a3e Translated using Weblate (Bulgarian)
Currently translated at 74.8% (306 of 409 strings)

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

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/pl/
2026-04-10 21:49:23 -06:00
hulse a8f7328d53 Translated using Weblate (Persian)
Currently translated at 98.0% (401 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fa/
2026-04-10 21:49:23 -06:00
Karl Ragnar Giese e788b38522 Translated using Weblate (Norwegian Bokmål)
Currently translated at 86.0% (352 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
Karl Ragnar Giese 54ad7f6e37 Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.3% (349 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
CyanWolf 9efe54490d Translated using Weblate (Spanish)
Currently translated at 100.0% (409 of 409 strings)

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

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

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