Commit Graph

5792 Commits

Author SHA1 Message Date
Alexandra Betouni 0676f49f4c feat(BackUpSeedModal) added enter key press handling
Closes #8309
2023-08-11 16:53:24 +03:00
Alexandra Betouni e6f9bfdcdd feat(RemotelyDestructPopup): Added fee box
Closes #11624
2023-08-11 16:53:24 +03:00
Alex Jbanca 7de4c2c5b1 fix(Permissions): Disable amount input for unique tokens
Changes in the Permissions design:
1. If the collectible is unique the amount input is disabled. 1 is auto-selected
2. Show `Max. 1` for unique tokens and empty string for other tokens

Changes in the Airdrop design:
1. Show `Max. 1` for unique tokens
2023-08-11 16:50:55 +03:00
Lukáš Tinkl 22258cc363 token-permissions: implement the UI "edit" flow for shared addresses
Fixes #11599
2023-08-11 15:38:42 +02:00
Noelia f721636452 refactor(CommunitySettings): Add SFPM for wallet accounts model in a single place
- It adds proxy of wallet accounts only in a single place (wallet root store) and pass the tuned model through the rest of views.

- It updates `storybook` accordingly.

Closes #11829
2023-08-11 13:02:29 +02:00
Sale Djenic 23fa2f5df3 feat(@desktop/syncing): make a not operable account fully operable, part 1
- handles recovered keypairs

Closes the first part of #11779
2023-08-11 09:48:34 +02:00
Khushboo Mehta ec3231ef7e feat(@desktop/wallet): Update remove keypair popup to match the Figma
fixes #11734
2023-08-10 19:56:59 +02:00
Jonathan Rainville 24d26cc038 feat(airdrop): get revealed accounts using new API instead of desc
Fixes #11817

Instead of getting revealed accounts from the community description (it's no longer available), uses the new `getRevealedAccountsForAllMembers` API. Uses it async so that we do not slow the start process. The model is updated correctly when we finish loading them.
2023-08-10 11:59:09 -04:00
Khushboo Mehta 9e89bd4f1a fix(@desktop/wallet): Wallet -> Main screen: + button is overlapped
fixes #11845
2023-08-10 17:27:14 +02:00
Alex Jbanca 7d0d321b35 feat(community): Add Pending states to community membership request decisions in members tab panel 2023-08-10 18:02:27 +03:00
Alex Jbanca e9a2b183c7 feat(Community): Add pending states to Community Request Notification 2023-08-10 18:02:27 +03:00
Noelia 351309a2c6 feat(Permissions): Adding, duplicating, editing and deleting permissions when control node is offline
- It adds info panel when control node is offline.
- It modifies UI texts when control node is offline.
- It updates storybook updating permissions model and allowing permission state changes.

NOTE: Only UI, no backend. There is 1 expected integration point: permissions model item `permissionState` role.

Closes #11769
2023-08-10 16:52:47 +02:00
Anthony Laibe 9cc6bdc9db feat(@wallet): private key multiline
fix #10009
2023-08-10 13:34:23 +02:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Teodor M. Ionita 72c3e1c971 Trim white space before and after profile bio text
Fixes #7924
2023-08-09 07:43:53 +03:00
Alexandra Betouni a1e1e316db fix(TokenHoldersPanel): Added sorting feature
Closes #11032
2023-08-08 17:32:49 +03:00
Noelia d136d9bb67 feat(BurnToken): Add fee box with network selector to Burn popup
- It adds fee box into the Burn popup component.
- It updates storybook accordingly.

Closes #11609
2023-08-08 14:37:56 +02:00
Patryk Osmaczko 15701e91aa feat(communities): add check permissions pending state
closes: #11157
2023-08-08 08:58:26 +02:00
Igor Sirotin 34dba08b7a
fix: Only `scrollToMessage` when it's available in the database (#11784)
* rename `fetchMessageByMessageId` to `getMessageByMessageId`
* move reply clicking logic to `StatusMessageReply`
* make message found animation faster
* `asyncGetMessageById`
2023-08-07 23:52:04 +03:00
Alexandra Betouni a36f0d8ce8 feat(Communities): changes in import popup for private keys
Closes #11245
2023-08-07 15:26:35 +03:00
Dario Gabriel Lipicar 8410e36f24 fix(@desktop/wallet): fix wrong model update when items are fetched 2023-08-07 08:44:05 -03:00
Alex Jbanca 9be2a8d799 feat(Community Overview): Trigger chart data updates on specific actions + optimise the backend calls
This commit includes the following changes:
1. Request from backend the messages count in a specific interval as opposed to all messages timestamps in that interval.
2. Update the chart end date before refreshing the data
3. Fix metrics type parsing in community service
4. Fix a bug where the new incoming data was not processed by ChartJs without a hover event on the chart. The fix here is to manually request paint() on model changes.d

Issues found and not handled here:
1. On large communities the backend request can take 3 minutes to complete
2. CPU usage can easily go to 100% when switching chart tabs on large communities. All the requests are processed by the backend.
2023-08-07 11:12:21 +03:00
Noelia ecf5efb94e fix(Minttoken): Account selector is no longer present under fees section
It seems that for `macOS`, `ParentChange` trigger was not correctly set if using specific `when` condition on desktop app (working properly on storybook). Setting it always to `true`, it does the trick and reparents footer component as expected.

Fixes #11742
2023-08-04 16:48:20 +02:00
Sale Djenic 6e5469f5aa chore(@desktop/wallet): sorting out keypair/account menu 2023-08-04 15:43:03 +02:00
Alexandra Betouni eb65e8899f [ImportCommunities] Add token models needed for CommunityIntroPopup
Closes #11773
2023-08-04 14:45:20 +03:00
Cuteivist b5a81badaa
feat(@desktop/wallet): Handle collectible minting (#11796) 2023-08-04 12:47:45 +02:00
Cuteivist 66e9631933
fix(@desktop/wallet): Speedup wallet view loading (#11736)
fixes #11627
2023-08-04 10:41:45 +02:00
Anthony Laibe 05653294eb fix: close testnet banner 2023-08-04 10:28:46 +02:00
Igor Sirotin 129f81a01a
fix(MembersdSelectorView): fix the logic of opening CR popup (#11780) 2023-08-04 11:27:37 +03:00
Michał Cieślak edae7bf818 feat(Communities): Add animation in token holders list when remotely destuct completed
Closes: #11775
2023-08-04 09:41:43 +02:00
Michał Cieślak b4891a65b5 feat(Communities): Present remotely destruct in progress in token holders list
- some adjustments to updated design
- figma links added
2023-08-04 09:41:43 +02:00
Michał Cieślak a793865835 feat(Communities): Add TokenMasterActionPopup to MintTokensSettingsPanel
Closes: #11622
2023-08-03 16:26:34 +02:00
Michał Cieślak 383cd6dcf7 feat(Communities): TokenMasterActionPopup added for Remote destruct, Kick and Ban actions 2023-08-03 16:26:34 +02:00
Jonathan Rainville 164b84feb8 fix(RootStore): onCallbackFromAuthentication was moved to communities module 2023-08-03 09:16:03 -04:00
Michał Cieślak f85986bfb0 fix(StatusDropdown, StatusDialog): height calculation improved
It improves workaround for QTBUG-87804 in StatusDropdown, to work
nicely whenever content is set via contentItem or not. The same
solution is added to StatusDialog.

Closes: #11768
2023-08-03 14:52:19 +02:00
Michal Iskierko 780a6b6c68 feat(@desktop/communities): Expose remote destruct state to UI.
Issue #11182
2023-08-03 12:18:55 +02:00
Patryk Osmaczko 354bd3e923 feat(communities): implement channel-level members
closes: #11660
2023-08-03 10:58:24 +02:00
Cuteivist b257ccc87d
fix(@desktop/wallet): Fix section label (#11755) 2023-08-03 10:45:05 +02:00
Cuteivist 3366f23f12
fix(@desktop/wallet): Update wallet accounts list effects (#11680)
fixes #11626
2023-08-03 10:19:36 +02:00
Mikhail Rogachev edba946a71
feat(Community): Community messaging statistics chart (#11696)
* feat(Community): Community messaging statistics chart

Close 11152

- Use se `collectCommunityMessageMetrics` for messaging statistics chart
in community overview

* feat(Community): Transfer community metrics with dto objects

* feat: impl simple string-based model for community metrics

* fix(Community): Review fixes and fix for changing community when chat is open

* Update src/app/modules/main/chat_section/controller.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-02 20:03:52 +04:00
Jonathan Rainville dd346319ff feat(communities): add spectatedCommunityPermissionModel to communities
Fixes #11746
2023-08-02 11:00:46 -04:00
Noelia 33c9771d3b fix(Mint): No redirect to Tokens screen when minting a token
Fixes #11731
2023-08-02 15:55:36 +02:00
Igor Sirotin d8c9802d77
fix: Restore window after closing on MacOS (#11748) 2023-08-02 16:49:28 +03:00
Khushboo Mehta ea91cd605f feat(@desktop/wallet): Account View Setting Actions
fixes #11689
2023-08-02 15:22:48 +02:00
Khushboo Mehta 5af56be60f fix(@desktop/wallet): Wallet: Send doesn't load preferred chains on account selection as recipient
fixes #11743
2023-08-02 13:38:49 +02:00
Noelia 939dc03728 feat(OwnerToken): Add `Retry` button
- In case of `Owner` and `TMaster` token deployment failed, a `Retry` button must be shown in minted tokens pages and it will navigate to the `Edit page` the same way it's done by using `Retry` button inside the item selected.
- Updated storybook accordingly.

Closes #11613
2023-08-02 11:56:48 +02:00
Lukáš Tinkl 3d2deb5335 fix: Revisit character set usage (ASCII/Latin1/UTF-8) in description fields
Restrict the character set to basically 7-bit ASCII plus some punctuation
in community/chat/profile related popups in order to:
- reduce the risk of impersonation (UTF-8 characters might look the same
despite being a different codepoint)
- narrow down the set of characters in order to keep the new share URL
format short

Closes #11307
2023-08-02 09:52:48 +02:00
Lukáš Tinkl cdc5a90940 fix(SendContactRequestModal): Display name / image problems with CR dialog
- fix missing profile image
- fix displaying wrong name when a nickname or ENS name is present
- fix ID verification flow ignoring nickname
- fix empty results when a contact has only an alias name
- fix needlessly requesting contact details several times (and
overwriting it); we get this info already from Popups.qml
- switch the popup to `StatusDialog` and fix hardcoded height

Fixes #11726
2023-08-02 09:52:32 +02:00
Lukáš Tinkl 3b560157be fix SendContactRequestModal (missing) margins/padding 2023-08-02 09:52:32 +02:00
Lukáš Tinkl 403e85ded7 fix: sort the contact list by the preferred display name 2023-08-02 09:52:32 +02:00