mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
2d01fd9b6f
* add basic reaction view * reuse pill background * make pill border a little more visible; this affects sended reactions as well as received ones * use 🤣 instead of 😂 to differ more from 😢 also, 😂 is a bit outdated for younger generations (so is probably 🤣 but not that much) (alternative would be 💀 for laughing, but that is probably not compatible between generations) * use 🙁 instead of 😢 for 'sad' to distict from lol lol gets revered to 😂 as 🤣 seems to be even a more non-go (thanks for expertise, young folks!) * wording: we add one reaction, not many * show/hide add-reaction-view together with action mode * pass message&view to showAddReactionView() * add sendReactions() api * create AddReactionView class * send reactions on click * hide AddReactiobView on sending emoji * detect self-reaction * feat: remove selections * position AddReactionView atop of parent view * move AddReactionView up a bit * padding top/bottom * center for now, this also postpones rtl/ltr * force initial layout * move slightly more off the bubble, keep away a bit from screen margin * move AddReactionsView left/right depending on incoming/outgoing mails * do not allow reactions in read-only chats * do not allow to react to videochat-invitations and info; the latter may makes sense at some point, however, to lower burder on other implementations, we do not send them for now * hide reaction-picker when leaving action mode with 'back' * hide reaction-picker when leaving action mode with 'back' * scroll reaction-panel together with recyclerview; this does not happen if new messages come in, however, this is a minor (and a stable panel position can be regarded even as a feature) * add sending reactions as an experimental feature as long not at least all system display reactions * clarify that reactions are currently not seen by all members * prefer View.INVISIBLE over offscreen hack