status-desktop/ui/app/AppLayouts/Profile/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
..
keycard feat: limits applied when running keycard flows that add new key pairs/accounts 2024-08-08 10:28:30 +02:00
profile [ProfileShowcase] Updated delegates as per design + added web tab 2024-04-02 10:21:13 +03:00
wallet fix: Apply custom asset / collectible order (#16227) 2024-09-11 14:00:25 +02:00
AboutView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
AdvancedView.qml chore: Remove the Browser from the app completely for now 2024-08-07 16:45:31 +02:00
AppearanceView.qml feat(Settings): remove UI scaling option panel 2024-05-14 17:47:10 +02:00
ChangePasswordView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
CommunitiesView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
ContactsView.qml refactor ProfileContextMenu to make it a functional component 2024-09-24 10:04:10 -04:00
EnsAddedView.qml Add Beta tag to the features that are not yet fully ready (#15617) 2024-07-18 16:10:24 -04:00
EnsConnectedView.qml Add Beta tag to the features that are not yet fully ready (#15617) 2024-07-18 16:10:24 -04:00
EnsDetailsView.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
EnsListView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
EnsRegisteredView.qml Add Beta tag to the features that are not yet fully ready (#15617) 2024-07-18 16:10:24 -04:00
EnsReleasedView.qml Add Beta tag to the features that are not yet fully ready (#15617) 2024-07-18 16:10:24 -04:00
EnsSearchView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
EnsTermsAndConditionsView.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
EnsView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
EnsWelcomeView.qml fix(StatusBaseButton): adapt to handle actions when it is disabled 2024-03-14 18:00:27 +01:00
KeycardView.qml feat(@desktop/wallet): account Interaction - move keypair to a keycard 2023-08-30 16:50:33 +02:00
LanguageView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
LeftTabView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
MessagingView.qml chore: disable history archive for new user and add advanced setting 2024-05-02 10:45:52 -04:00
MyProfileView.qml fix(profile): fix canceling modifications in the profile (#15905) (#15906) 2024-07-31 10:00:56 -04:00
NotificationsView.qml fix(notifs): only fetch notification exemptions when going to the page (#16166) 2024-08-22 14:48:04 -04:00
PrivacyAndSecurityView.qml feat(Settings/Privacy and security): add Privacy Policy popup 2024-08-21 15:28:11 +02:00
RPCStatsModal.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
ScrollingModal.qml feat: Add scrolling velocity and deceleration settings to advanced 2023-06-16 15:54:33 +02:00
SettingsContentBase.qml Add Beta tag to the features that are not yet fully ready (#15617) 2024-07-18 16:10:24 -04:00
SyncingView.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
WalletView.qml fix: Apply custom asset / collectible order (#16227) 2024-09-11 14:00:25 +02:00
qmldir chore: Remove the Browser from the app completely for now 2024-08-07 16:45:31 +02:00