status-desktop/ui/imports/shared/views/chat
Iuri Matias 86fdc668e6 feature: add remove from group option to group chats
feature: add remove from group option to group chats

refactor ProfileContextMenu to make it a functional component

refactor ProfileContextMenu to make it a functional component

This refactor ProfileContextMenu to make it a functional component by:

refactored out direct calls to backend, and passing backend data structures and moved this logic to the callers, also refactored common calls between the callers
common types of context menus have been extracted to their sub components which removes a lot of logic too and makes the behaviour very clear
user verification workflow (which was already disabled) has been removed

refactor: use signals and call singletons on the parent instead

remove unused code for now from profile context menu

refactor profile context menu into two components; add property to storybook

extract blocked profile context menu and self profile context menu

use profileType instead of individual bools

refactor to pass trustStatus as an argument

make contact type a parameter

remove unnecessary method from RegularProfileContextMenu

add ensVerified property to ProfileContextMenu components

add onlineStatus property to ProfileContextMenu components

move ProfileContextMenu storybook controls to the right sidebar

move contactDetails logic up from the view

add local nickname property to ProfileContextMenu components

fix issue with missing signal; fix logs in storybook

use constant for profileType instead of string

refactor common code into a single method

refactor getProfileContext

remove references to contactDetails which are not longer needed

remove unnecessary comments

fix bridged constant

refactor into a single ProfileContextMenu component

refactor into a single ProfileContextMenu component

refactor into a single ProfileContextMenu component

simplify imports

remove unused store field

move methods from utils to contacts store

remove onClosed signal

remove unused param

feature: add remove from group option to group chats

feature: add remove from group option to group chats

add isAdmin property

move removeMemberFromGroupChat to root store

hide remove from group option from message context menu
2024-09-25 10:29:21 -04:00
..
AcceptTransactionView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
ChannelIdentifierView.qml fix(@desktop/chat): adjust chat name placement 2022-09-26 12:54:41 +03:00
ChatContextMenuView.qml chore: add object names to actions 2024-09-16 17:20:36 +03:00
InvitationBubbleView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
LinksMessageView.qml fix(LinkPreviews): Left align the message link preview tight corner 2023-11-02 14:32:22 +02:00
MessageAddReactionContextMenu.qml fix(@desktop/chat): Message reactions popup shouldn't revoke reactions (#13003) 2023-12-18 14:34:10 -08:00
MessageContextMenuView.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
MessageView.qml feature: add remove from group option to group chats 2024-09-25 10:29:21 -04:00
NewMessagesMarker.qml chore: Consolidate date/time formatting 2023-01-17 16:42:34 +01:00
ProfileContextMenu.qml feature: add remove from group option to group chats 2024-09-25 10:29:21 -04:00
SimplifiedMessageView.qml fix(profile key): use the same 3,6 elided key everywhere 2024-02-12 12:36:20 +01:00
TransactionBubbleView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
qmldir feat(@wallet): Show lightbox when clicking collectible (#14168) 2024-05-15 11:36:56 +02:00