status-desktop/ui/app/AppLayouts/Chat/components
Pascal Precht b1e5a15e2a refactor(ChannelContextMenu): remove dependency on active channel
This commit does a bunch of things:

- First and foremost, it removes the active channel dependency.
  This is needed to have it operate on the correct channel object,
  without forcing us to change the active channel (e.g. right-clicking
  on a channel item that's not active, will make it active eventually)
- To make that work, this commit changes the `ChannelContextMenu`
  to receive a `ChatItemView`, so it can be used for things like determining
  what menu options are shown, what members are in a group, whether
  someone is admin of a group etc.
- This also required a new `QtProperty` called `contextChannel`.
  The reason this is required, is because in some cases, like receiving
  members count of groups, we need a complete `ChatItemView` object
  as we don't have access to certain APIs otherwise.
- Unfortunately, we can't pass down `activeChannel` every where for that
  because sometimes the context menu should not actually operate on
  the active channel.

Fixes: #1755
2021-02-01 11:53:06 -05:00
..
ChannelContextMenu.qml refactor(ChannelContextMenu): remove dependency on active channel 2021-02-01 11:53:06 -05:00
ChannelIcon.qml fix: fix dark theme colors for chat and profile 2020-07-23 15:59:18 -04:00
ChooseBrowserPopup.qml feat: open links in user request browser with modal 2021-01-04 15:29:23 -05:00
Contact.qml feat: fix Notification page and lists of contacts 2021-01-19 16:45:57 -05:00
ContactList.qml wip community invitatations and more 2021-01-11 13:57:35 -05:00
EmojiReaction.qml fix(Timeline): make reactions works 2021-01-14 15:33:46 -05:00
FetchMoreMessages.qml feat: add fetch more menu item in the chat drop down menu 2020-11-26 11:20:25 -05:00
GroupChatPopup.qml Updated group naming functionality. Fixes #1693 2021-01-21 11:40:11 -05:00
GroupInfoPopup.qml refactor(ChannelContextMenu): remove dependency on active channel 2021-02-01 11:53:06 -05:00
InviteFriendsPopup.qml Fixes #1455 2021-01-13 14:31:00 -05:00
MessageContextMenu.qml Fixes #1604 2021-01-13 14:31:44 -05:00
NicknamePopup.qml Update nickname modal to confirm when press Enter key 2021-01-14 10:42:30 +01:00
NoFriendsRectangle.qml Apply suggestions from code review 2021-01-11 13:57:35 -05:00
PrivateChatPopup.qml Fixed filtering contacts issue on when create new chat. Fixes #1705 2021-01-21 11:40:34 -05:00
ProfilePopup.qml fix: make profile popup look like the design 2021-01-13 13:14:06 -05:00
PublicChatPopup.qml feat: whitelist the characters possible for the channel names 2020-11-16 13:03:08 -05:00
RenameGroupPopup.qml refactor: chats view 2020-12-08 17:01:14 -05:00
SuggestedChannel.qml close join channel popup when clicking a suggestion 2020-08-19 14:39:45 -04:00
SuggestedChannels.qml fix: fix color and warning 2020-09-23 17:19:43 -04:00
emojiList.js feat: categorize emojis in the menu and add category buttons 2020-07-30 10:04:08 -04:00
qmldir refactor channel suggestion list into one component 2020-09-23 15:52:27 -04:00