status-desktop/ui/app/AppLayouts/Chat/CommunityComponents
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
..
CommunitiesPopup.qml fix: fix PopupModal to not show a footer at all if there is no children 2021-01-13 14:32:35 -05:00
CommunityButton.qml feat: hide community stuff by default and add a setting to show it 2021-01-11 13:57:35 -05:00
CommunityDetailPopup.qml fix: fix PopupModal to not show a footer at all if there is no children 2021-01-13 14:32:35 -05:00
CommunityHeaderButton.qml Minor UI changes for communities 2021-01-11 13:57:35 -05:00
CommunityList.qml feat: hide community stuff by default and add a setting to show it 2021-01-11 13:57:35 -05:00
CommunityMembersPopup.qml fix(Timeline): make reactions works 2021-01-14 15:33:46 -05:00
CommunityPopupButton.qml ui: community popup 2021-01-11 13:57:35 -05:00
CommunityProfilePopup.qml add export function and button 2021-01-11 13:57:35 -05:00
CommunityWelcomeBanner.qml Minor UI changes for communities 2021-01-11 13:57:35 -05:00
CreateChannelPopup.qml wip community invitatations and more 2021-01-11 13:57:35 -05:00
CreateCommunityPopup.qml fix: fix createCommunityPopup being in edit mode all the time 2021-01-11 13:57:35 -05:00
ImportCommunityPopup.qml fix isedit missing from import form 2021-01-11 13:57:35 -05:00
InviteFriendsToCommunityPopup.qml fix: fix PopupModal to not show a footer at all if there is no children 2021-01-13 14:32:35 -05:00