Status Desktop client made in Nim & QML https://status.app
Go to file
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
.github chore: Architecture guide added and PR template updated 2024-08-09 22:29:44 +02:00
app chore: update icons to use the new multicoloured Status logo 2024-05-08 10:22:34 -04:00
ci ci: add test user seed variable for e2e 2024-09-05 12:01:45 +02:00
cmake chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
libs chore: switch wakuv2 fleet to waku (#14033) 2024-05-28 08:48:04 +02:00
monitoring feat(MonitoringTool): Search improved 2024-06-28 15:57:23 +02:00
nix fix(nix): add missing nix.conf with our binary cache 2024-08-20 11:58:54 +02:00
resources chore: switch wakuv2 fleet to waku (#14033) 2024-05-28 08:48:04 +02:00
scripts chore: update in config.nims the minimum version to montery / 12 2024-09-03 13:36:37 -04:00
src chore(notiifcations): stop logging messages in debug logs for notifs (#16381) 2024-09-24 09:58:12 -04:00
storybook refactor ProfileContextMenu to make it a functional component 2024-09-24 10:04:10 -04:00
test chore: fix test for sending transaction 2024-09-24 15:15:38 +03:00
test-scripts chores(@general): remove status-lib deps 2022-02-03 11:52:45 -05:00
ui refactor ProfileContextMenu to make it a functional component 2024-09-24 10:04:10 -04:00
vendor chore: update status-go version to latest develop 2024-09-23 14:09:19 +03:00
.clang-format feat(StatusEmojiPopup): reimplement around C++ EmojiModel 2024-09-03 10:19:54 +02:00
.clang-tidy refactor(@desktop/cpp): improve cpp code 2022-03-01 16:05:21 +01:00
.gitignore ci: copy qt 5.15.8 package 2024-06-27 12:16:30 +02:00
.gitmodules chore: remove dictionary 2023-06-09 14:50:08 -04:00
.npmrc
.yarnrc
AppRun ci: fix more nix build issues 2024-06-27 12:16:31 +02:00
AppRun-cpp chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
CMakeLists.txt chore(cpp): add chat section and list chats 2022-08-11 21:40:39 +02:00
CONTRIBUTING.md CONTRIBUTING.md extended with section regarding unit tests 2024-09-23 15:19:43 +02:00
I18N.md chore(translations): update I18N docs 2022-07-14 22:04:33 +02:00
Info.dev.plist fix(deeplinks): Update plist files to new url scheme 2023-06-09 12:40:03 +03:00
Info.plist fix: Add camera entitlement on MacOS (#11683) 2023-07-27 11:39:43 +03:00
LICENSE.md docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
Makefile chore: Update macOS deployment target to 12.0 and bottle version to Monterey 2024-09-03 13:36:37 -04:00
README.md chore: Architecture guide added and PR template updated 2024-08-09 22:29:44 +02:00
VERSION chore: bump git master version post 0.9 release 2023-02-01 16:55:30 +01:00
build-linux.sh ci: upgrade docker image to Ubuntu 20.04 2023-07-03 20:50:02 +02:00
cacert.pem fix(@desktop/windows): installer to include cacert.pem 2021-09-06 14:47:18 -04:00
conanfile.txt chore(CPP): integrate tokens balance status-go API (POC) 2022-08-02 16:06:33 +02:00
config.nims fix: logs in utc time (#16373) 2024-09-20 19:50:36 +01:00
docker-linux-app-image.sh QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
env.sh
fleets.json chore: rename shards.test to status.prod (#15782) 2024-07-29 18:26:31 -04:00
nim-status.desktop build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
nim.cfg feat(wallet) complete the filter API 2023-05-31 08:16:28 +02:00
nim_status_client.nimble docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
package-lock.json feat(wallet) integrate Wallet Connect sign APIs 2023-11-15 17:21:27 +01:00
package.json fix(build) fix python package error on make run on MacOS 2024-05-06 16:02:07 +02:00
qwe.sh test(Onboarding) Skip closing test app (#11837) 2023-08-10 08:58:50 +02:00
screenshot.png chore: update the readme to have useful links 2024-04-30 17:56:46 +02:00
shell.nix ci: fix more nix build issues 2024-06-27 12:16:31 +02:00
status-dev.icns feat: Update app icons 2024-05-20 13:38:04 +03:00
status-dev.ico feat: Update app icons 2024-05-20 13:38:04 +03:00
status-dev.png feat: Update app icons 2024-05-20 13:38:04 +03:00
status-dev.rc feat: Update app icons 2024-05-20 13:38:04 +03:00
status-macos.svg feat: Update app icons 2024-05-20 13:38:04 +03:00
status.desktop chore(CPP/CI): basic CI setup for linux cmake build 2022-07-01 14:41:28 +02:00
status.icns feat: Update app icons 2024-05-20 13:38:04 +03:00
status.ico feat: Update app icons 2024-05-20 13:38:04 +03:00
status.iss fix(deeplinks): Update plist files to new url scheme 2023-06-09 12:40:03 +03:00
status.png feat: Update app icons 2024-05-20 13:38:04 +03:00
status.rc feat: Update app icons 2024-05-20 13:38:04 +03:00
windows-install.txt build: implement packaging steps for the Windows build 2020-07-17 13:57:32 -05:00