status-desktop/ui/app/AppLayouts/Communities/panels
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
..
AirdropsSettingsPanel.qml fix(networks): enable network before mint or airdrop (#15601) 2024-07-22 09:52:44 -04:00
BackUpCommuntyBannerPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
BannerPanel.qml feat(Communities): File renames 2023-06-28 14:28:47 +02:00
BlinkingText.qml feat(communities): inform about missing encryption key 2024-07-04 19:36:30 +02:00
ChannelsAndCategoriesBannerPanel.qml feat(Communities): File renames 2023-06-28 14:28:47 +02:00
ChatPermissionQualificationPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
ColorPanel.qml fix(Communities): fixed channel color picker dialog 2023-09-15 10:27:56 +02:00
ColumnHeaderPanel.qml feat(Communities): File renames 2023-06-28 14:28:47 +02:00
CommunityBannedMemberCenterPanel.qml feat(desktop@communities): change kicked/banned member behavior (#13706) 2024-02-27 12:55:56 +01:00
ControlNodeOfflineCenterPanel.qml feat: info msg if owner is not awailable after community ownership change (#12560) 2023-10-31 18:55:41 +01:00
EditSettingsPanel.qml feat(communities): integrate community sharding 2023-11-03 17:11:18 +01:00
FeesBox.qml feat(Community/FinaliseOwnership): Created needed finalise popups 2023-10-03 13:53:42 +02:00
FeesPanel.qml fix(Minttoken): Account selector is no longer present under fees section 2023-08-04 16:48:20 +02:00
HoldingsListPanel.qml feat: New design flows to integrate Revealing addresses... 2023-07-19 12:44:16 +02:00
IntroPanel.qml feat(ProfileShowcase): Created first info popup 2024-02-26 10:08:52 +01:00
JoinCommunityCenterPanel.qml feat(communities): inform about missing encryption key 2024-07-04 19:36:30 +02:00
JoinCommunityHeaderPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
JoinPermissionsOverlayPanel.qml feat(communities): inform about missing encryption key 2024-07-04 19:36:30 +02:00
MembersSettingsPanel.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
MembersTabPanel.qml refactor ProfileContextMenu to make it a functional component 2024-09-23 12:04:16 -04:00
MintTokensFooterPanel.qml feat(TransferOwnershipPopup): Updated transfer ownership popup according to new design 2023-09-20 11:08:29 +02:00
MintTokensSettingsPanel.qml refactor(community_tokens): only fetch holders when going to the page (#16308) 2024-09-19 16:32:38 -04:00
NetworkWarningPanel.qml fix(networks): enable network before mint or airdrop (#15601) 2024-07-22 09:52:44 -04:00
OverviewSettingsChart.qml feat: Add initial support for ChartJs plugins (#14433) 2024-06-04 13:08:16 +03:00
OverviewSettingsFooter.qml fix: Permission created before making device a control node is not getting active (#14537) 2024-05-10 08:57:06 -07:00
OverviewSettingsPanel.qml chore(SendModal): Use accountAddress to preselect the account instead of account model item 2024-07-19 19:53:31 +03:00
PermissionConflictWarningPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
PermissionQualificationPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
PermissionsSettingsPanel.qml chore(beta): hioe ENS community permission creation (#15664) 2024-07-19 14:45:40 -04:00
PrivilegedTokenArtworkPanel.qml feat(@desktop/wallet): Make images match their aspect ratio but still have min width and height in collectible details 2024-05-06 16:56:48 +02:00
ProfilePopupInviteFriendsPanel.qml Using ClipboardUtils.setText instead of nim's copyToClipboard 2024-08-29 15:46:17 +02:00
ProfilePopupInviteMessagePanel.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
ProfilePopupOverviewPanel.qml feat(CommunityOwnership): Removed old flow 2023-09-20 11:08:29 +02:00
SharedAddressesAccountSelector.qml Usages of SubmodelProxyModel migrated to ObjectProxyModel 2024-09-02 20:20:10 +02:00
SharedAddressesPanel.qml fix: Fixing the share addresses popup height when only owner and TM permissions are available (#14865) 2024-05-20 18:45:30 +03:00
SharedAddressesPermissionsPanel.qml fix(CommunityMembershipSetupDialog): wait for the Join Permission response only 2024-05-17 14:26:55 +02:00
SharedAddressesSigningPanel.qml fix(wallet): Renamed KeyPair to key pair throughout the entire app (#15051) 2024-06-07 16:29:09 +03:00
SortableTokenHoldersList.qml fix(@desktop/communities): Fix displaying token holders 2024-01-17 13:23:59 +01:00
SortableTokenHoldersPanel.qml chore: rename holders string to match the general in app approach 2024-05-28 19:50:17 +03:00
TagsPanel.qml Add object names for confirm tags button and enable create community button to master (#14574) 2024-05-03 09:54:33 +02:00
TokenHoldersList.qml feat(Communities): Improvements for token holders list (#11923) 2023-08-22 18:34:37 +03:00
TokenHoldersPanel.qml chore: rename holders string to match the general in app approach 2024-05-28 19:50:17 +03:00
TokenHoldersProxyModel.qml feat(Communities): Improvements for token holders list (#11923) 2023-08-22 18:34:37 +03:00
TokenInfoPanel.qml Chore/add object name advanced settings, token preview boxes and sign transaction buttons (#14488) 2024-04-19 20:07:01 +07:00
WarningPanel.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
WelcomeBannerPanel.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
qmldir fix(networks): enable network before mint or airdrop (#15601) 2024-07-22 09:52:44 -04:00