status-desktop/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents
Pascal Precht 7102596b3f fix(Timeline): make reactions works
This commit makes reactions in the status timeline work.
There are two things prior to this commit that are broken:

1. The logic that opens the reaction context menu always expects
   and instance of `chatsView` because it tries to calculate a users
   nickname. Such an instance isn't always available in that context, so
   the nickname logic has been moved to `appMain` for now, removing that
   dependency and therefore making it work in both, the chat view as well
   as the status view.
2. While 1) makes the context menu work, it turns out that adding and
   removing reactions inside the status timeline is still not working.
   The reason for that is, that the reactions component maintains its own
   `messageList`, which isn't aware of the fact that reactions for messages
   coming from chats of `ChatType.Profile`, need to go into a dedicated
   message list for `ChatType.Timeline`.

In other words, reactions are sent and removed from message in messagelists
that don't actually exist.

This commit fixes both of these things by ensuring the message lists
maintained by reactions are timeline aware. Also ensuring updates are
done correctly.
2021-01-14 15:33:46 -05:00
..
TransactionComponents refactor: chats view 2020-12-08 17:01:14 -05:00
AudioPlayer.qml feat: play audio messages 2020-07-30 13:49:50 -04:00
ChannelIdentifier.qml feat: add profile pic support 2020-12-17 16:44:25 -05:00
ChatImage.qml fix: fix chat height being too high in compact mode 2020-10-02 12:48:02 -04:00
ChatReply.qml fix: fix chat reply color and size 2021-01-04 15:29:10 -05:00
ChatText.qml fix: fix chat bubble height when considered long text 2021-01-11 13:59:00 -05:00
ChatTime.qml refactor: make use of Qt.locale 2021-01-04 15:16:37 -05:00
CompactMessage.qml feat: whitelist gifs (no url extension needed) 2020-12-21 14:14:32 -05:00
DateGroup.qml fix: date 2020-07-23 16:00:14 -04:00
EmojiReactions.qml fix(Timeline): make reactions works 2021-01-14 15:33:46 -05:00
ImageLoader.qml feat: whitelist gifs (no url extension needed) 2020-12-21 14:14:32 -05:00
InvitationBubble.qml feat: enable removing member and fix invites 2021-01-11 13:57:35 -05:00
LinksMessage.qml feat: open links in user request browser with modal 2021-01-04 15:29:23 -05:00
MessageBorder.qml feat: whitelist gifs (no url extension needed) 2020-12-21 14:14:32 -05:00
MessageMouseArea.qml feat: enable animated gifs but stop them on click and out of focus 2020-11-19 16:55:41 -05:00
NormalMessage.qml feat: whitelist gifs (no url extension needed) 2020-12-21 14:14:32 -05:00
RectangleCorner.qml feat: make RectangleCorner a component and show images in compact 2020-07-16 11:49:13 -04:00
Retry.qml feat: allow users to change font size for chat messages 2020-11-25 14:41:29 +01:00
SentMessage.qml fix: ensure `sending` message state isn't shown when message is expired 2020-11-17 10:01:13 -05:00
StatusUpdate.qml feat: introduce Utils.formatDateTime 2021-01-04 15:16:37 -05:00
Sticker.qml fix: fix scroll going back down when hitting images 2020-12-18 15:39:16 -05:00
TransactionBubble.qml fix: from/to account not showing correctly 2020-10-28 11:07:22 +01:00
UserImage.qml feat: add profile pic support 2020-12-17 16:44:25 -05:00
UsernameLabel.qml fix: missing username 2020-12-11 13:47:51 -05:00
qmldir feat: refactor Message and add Compact message type 2020-07-16 10:29:29 -04:00