Commit graph

17 commits

Author SHA1 Message Date
adbenitez
fee58e6eac fix building 2024-06-12 02:17:10 +02:00
Asiel Díaz Benítez
c705790d26
display vcard view type and allow to import/export contacts as vcard (#3043)
* implement Rpc API for parse_vcard

* allow to create Recipient from VcardContact

* display vcard view-type in incoming/outgoing messages

* fix linter warnings in Recipient class

* properly show vcard view-type in quoted messages

* display fallback avatar in quotes

* allow to attach vcard

* implement basic click listener

* timestamp type got changed from float to int

* set stick translation for "contact"

* share contact as vcard using the new Rpc.makeVcard API

* allow to import contact when clicking vcard
2024-05-19 16:22:39 -04:00
Hocuri
81b321f740
Add self-reporting button (#2910)
Depends on https://github.com/deltachat/deltachat-core-rust/pull/5129

Part of https://github.com/deltachat/deltachat-android/issues/2909
2024-02-07 20:23:55 +01:00
bjoern
2d01fd9b6f
sending reactions (#2680)
* 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
2023-10-20 15:17:24 +02:00
adbenitez
2ad6186ea3 make fields final 2023-09-30 22:45:07 +02:00
adbenitez
974bec7a78 fix error 2023-09-27 22:36:09 +02:00
adbenitez
a38ad255da basic display of reactions 2023-09-27 20:41:49 +02:00
adbenitez
de1f1d4fe2 implement get_msg_reactions() JSON-RPC API 2023-09-27 20:41:49 +02:00
Hocuri
3becdf52ec
Fix crash in the "Full Msg" view by downgrading Gson (#2610) 2023-06-30 16:29:08 +02:00
adbenitez
0b85cd2b9e add getHttpResponse to Rpc 2023-05-01 14:22:39 -04:00
adbenitez
cbec549918 rename RpcError to RpcException 2023-04-27 14:41:50 -04:00
adbenitez
a5b1528b31 tweak comment 2023-04-27 14:33:36 -04:00
adbenitez
7935513825 move SettableFuture to core package 2023-04-27 14:25:24 -04:00
adbenitez
e4beb06191 check if future is null 2023-04-27 13:23:03 -04:00
Asiel Díaz Benítez
e1d071248b
Apply suggestions from code review
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-04-27 13:19:51 -04:00
adbenitez
b5fc9ab945 remove field added while testing 2023-04-27 07:10:08 -04:00
adbenitez
941627db6e move Rpc class to com.b44t.messenger.rpc package 2023-04-25 20:09:59 -04:00