status-desktop/ui
Iuri Matias a09b773a50 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-23 12:04:16 -04:00
..
StatusQ feat: add countdown pill to sign dialogs and make them unclosable 2024-09-20 09:47:10 +02:00
app refactor ProfileContextMenu to make it a functional component 2024-09-23 12:04:16 -04:00
fonts fix(cpp): make libraries which are not dynamically loaded static 2022-08-02 15:30:08 +02:00
i18n chore: rename holders string to match the general in app approach 2024-05-28 19:50:17 +03:00
imports refactor ProfileContextMenu to make it a functional component 2024-09-23 12:04:16 -04:00
include/StatusDesktop/Monitoring feat(MonitoringTool): Search improved 2024-06-28 15:57:23 +02:00
src/StatusDesktop/Monitoring feat(MonitoringTool): Search improved 2024-06-28 15:57:23 +02:00
MonitoringSources.cmake chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
generate-rcc.go chore(@desktop/walletconnect): communication between qt desktop app and loaded wallet connect sdk is made via web channel 2023-11-17 13:55:20 +01:00
main.qml feat(Settings/Privacy and security): add Privacy Policy popup 2024-08-21 15:28:11 +02:00
nim-status-client.pro chore: Architecture guide added and PR template updated 2024-08-09 22:29:44 +02:00