Allow for top widgets within the bubble#814
Conversation
9b0a065 to
34af607
Compare
|
Currently on a migration to v2 and this would be very useful for me as well |
34af607 to
c9bce85
Compare
|
@demchenkoalex rebased on your rebase for linkPreviewPR + added support for other types (for #826). |
c9bce85 to
62ab26f
Compare
|
Nice but maybe we should expose another property to be able to set a different one than the timeAndStatus ? |
I thought about it, but I want to avoid creating a swarm of params for every line - no need to prematurely parameterize 😆 I checked how Telegram handles it, and they don’t even show the name for image messages. So this will likely be rarely used (if at all). Also, I think the dark background for the date/time is dark enough for the name too - not sure why anyone would want a colored circus there 😅 That said, if there’s real demand for it, I’ll definitely consider adding it.
True, but the text would be below, so it’s a bit different. I think it can be added back quickly if needed. |
Important
This code is build on top of PR #790 since both rework the layout logic for
FlyerChatTextMessageandFlyerChatImageMessage. This one starts at b0fc412GOAL
In most chat apps (Signal, Whathap, Telegram) when in a Group chat , the username of message sender is usually displayed within the chat bubble, what is currently not possible with the default widgets.
This PR aims at adding this possibiity, at least for some of the widgets.
Design choice
usernameBuilderTODO
Not sur if we should ?
Example
Example in the example project (the lib has a lot of customization options so i made a new page)