status-desktop/ui/imports/shared/views
Iuri Matias 96d0760488 refactor ProfileContextMenu to make it a functional component
refactor ProfileContextMenu to make it a functional component

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

rename ProfileContextMenu variables

simplify signals in ProfileContextMenu

remove ;

refactor: do early return

simplify ifs

move ProfileContextMenu to its own storybook page

fix wrong params

fix profile context menu separator

add missing signals to profile context menu on the members tab panel
2024-09-24 10:04:10 -04:00
..
chat refactor ProfileContextMenu to make it a functional component 2024-09-24 10:04:10 -04:00
profile fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
AssetContextMenu.qml test: share wallet address test and default account values in send/receive/bridge 2024-08-09 11:14:54 +03:00
AssetsView.qml fix: Apply custom asset / collectible order (#16227) 2024-09-11 14:00:25 +02:00
AssetsViewAdaptor.qml fix(Wallet/AssetsView): Properly filter by account/chain 2024-07-24 14:41:18 +02:00
ConfirmHideAssetPopup.qml feat(AssetsView): business logic not related to ui removed 2024-06-19 16:36:18 +02:00
ConfirmHideCommunityAssetsPopup.qml feat(AssetsView): business logic not related to ui removed 2024-06-19 16:36:18 +02:00
EnsResolver.qml chore(StatusQ): Backpressure files deduplicated, imports adjusted 2024-07-12 14:00:15 +02:00
ExistingContacts.qml chore(StatusMemberListItem): refactor to use ItemDelegate 2024-09-12 15:04:22 +02:00
HistoryView.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
NoFriendsRectangle.qml feat(profile dialog): General UI updates 2024-02-09 11:41:55 +01:00
PasswordConfirmationView.qml chore(@desktop/general): password confirmation identified as shared component 2023-09-04 16:25:53 +02:00
PasswordView.qml fix[Onboarding] Password screen is not correct 2024-03-29 16:10:50 +01:00
PickedContacts.qml chore(StatusMemberListItem): refactor to use ItemDelegate 2024-09-12 15:04:22 +02:00
ProfileDialogView.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
SearchResults.qml feat(savedaddresses): display various cards if an address user is trying to save is known 2024-01-29 14:56:24 +01:00
SyncingCodeInstructions.qml fix(Sync): unbreak sync instructions page layout 2024-07-22 19:33:56 +02:00
SyncingDeviceView.qml fix(Sync): unbreak sync instructions page layout 2024-07-22 19:33:56 +02:00
SyncingDisplayCode.qml chore(@sync_code_qml): added object names for testing purposes 2023-09-26 09:00:33 +03:00
SyncingEnterCode.qml chore(beta): add beta tag to pairing screens (#15873) (#15901) 2024-07-30 12:55:03 -04:00
SyncingErrorMessage.qml feat(@desktop/syncing): make a not operable account fully operable, part 3 2023-08-22 12:22:32 +02:00
qmldir [StatusQ] Move StyledTextField to StatusQ 2024-09-13 16:40:47 +02:00