Commit Graph

4036 Commits

Author SHA1 Message Date
Lukáš Tinkl a75890d7be fix(Communities): fixed channel color picker dialog
Closes #9696
2023-09-15 10:27:56 +02:00
Noelia 0a930fc9b1 fix(MintTokens): Network chosen locks in the network used for all future tokens minted for that community
- Mint Owner token / TokenMaster token form: Changed text description for network field.
- Mint asset / collectible: Lock network. It should be the same network than the owner token one.
-  Mint asset / collectible: Additional simplification / clean-up of description field.
- Added network model helper file.

Fixes #11989
2023-09-14 16:19:09 +02:00
Khushboo Mehta 296f70103a feat(@desktop/wallet): Enable Collectibles tab before token is selected
fixes #12095
2023-09-14 11:26:41 +03:00
Valentina1133 181c785aa9
test(Settings) Object names were added for keycard and wallet settings elements (#12134) 2023-09-13 12:54:44 +07:00
Khushboo Mehta f597ef4e6a feat(@desktop/wallet): Glue for sending nft
fixed #12128
2023-09-12 14:01:10 +02:00
Vladimir Druzhinin 29665956f1
Test(Community) Object names added (#12127) 2023-09-12 10:55:40 +02:00
Noelia 93a69893d9 fix(Permissions): Tweak to Owner and TokenMaster permissions wording
Fixes #12004
2023-09-12 10:18:18 +02:00
Alexandra Betouni ed065a94f9 fix(URLUnfurling): Updated image context menu
Also moved copyToClipboard function in Utils
and updated Chat section to use it from there

Closes #11941
2023-09-12 00:04:08 +03:00
Michał Cieślak f8347af7b7 StatusChatInput: remove unmaintained integration with ChatCommandsPopup
The functionality for sending/receiving funds directly from chat
is currently not supported, both code and designs are outdated.
This commit removes integration part but leaves ChatCommandsPopup
component for potential future use.

Closes: #12118
2023-09-11 14:37:16 +02:00
Cuteivist 3548cee149
feat(@desktop/wallet): Added missing filter types (#12109) 2023-09-11 13:43:21 +02:00
Dario Gabriel Lipicar 50ffbb9dce feat(@desktop/wallet): add collectibles list to send modal
Fixes #12072
2023-09-11 08:02:02 -03:00
Cuteivist 33a8ed9b9c
bug(@desktop/wallet): Unkown symbol and Gwei decimals (#12083) 2023-09-11 12:08:21 +02:00
Cuteivist 63eacf0817
feat(@desktop/wallet): Use estimated latest block for details (#12092) 2023-09-11 10:08:53 +02:00
Alex Jbanca 624b758c85 fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
Alex Jbanca f9e7265447 fix(Update fees periodically): Update airdrop flows to use fees subscriber 2023-09-08 23:25:04 +03:00
Alexandra Betouni b5d555f00b fix(chat): enabled "everyone" in group chat mentions
Closes #11029
2023-09-08 19:33:07 +03:00
Noelia b3c74de234 fix(Airdrop): Update owner and tmaster tokens visualization in airdrop's list
Added filter in collectibles airdrop's list:
- TMaster token will be shown ONLY if user is the community owner.
- Owner token is always hidden.

Fixes #12089
2023-09-08 10:40:10 +02:00
Lukáš Tinkl e106be9b12 feat: Single discord channel import UI flow
Closes #12039
2023-09-07 14:52:53 +02:00
Sale Djenic b22b632b2d feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair - handling on paired devices
Part 4 of: #11737
2023-09-07 14:49:06 +02:00
Khushboo Mehta a8cb40809c fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same
closes #11551
2023-09-05 16:56:27 +02:00
Stefan 8138e5edcf chore(wallet) remove requesting detailed transaction info for activity
Closes #11598
2023-09-04 22:07:24 +02:00
Sale Djenic defce32b37 chore(@desktop/general): password confirmation identified as shared component 2023-09-04 16:25:53 +02:00
Stefan 6b56bbe01f chore(wallet) move totalFees to details
Updates #11597
2023-09-04 14:33:19 +02:00
Cuteivist 722a9022e2
feat(@desktop/wallet): Extended activity progress block (#12013) 2023-09-04 12:19:02 +02:00
Jonathan Rainville bc4a150afa feat(shared_addresses): get old shared addresses for the edit popup
Fixes #11973
2023-09-01 09:31:40 -04:00
Michał Cieślak 0d2f11912c feat(Communities): Integrate kick/ban actions with token holders list
Closes: #11033
2023-09-01 14:11:31 +02:00
Sale Djenic c59f6d72d8 feat(@desktop/wallet): account interaction - stop using a keycard for non profile keypair
Part 2 of: #11737
2023-09-01 09:20:54 +02:00
Valentina1133 d684acd835
test(Communities) Adding permission test automated (#11993) 2023-08-31 12:31:43 +07:00
Michał Cieślak 1bc7eb374b fix(BurnTokensPopup): Handle non-integer values for assets
Closes: #11864
2023-08-31 00:37:23 +02:00
Sale Djenic c81dfdc7c7 feat(@desktop/wallet): account Interaction - move keypair to a keycard
Part 1 of: #11737
2023-08-30 16:50:33 +02:00
Jonathan Rainville 789a01cf09 feat(shared-addresses): add loading state for checking permissions
Fixes #11893
2023-08-30 10:48:12 -04:00
Jonathan Rainville cdfd10c592 fix(ChatLayout): fix isPrivileged user by using sectionItemModel 2023-08-30 10:38:47 -04:00
Jonathan Rainville 8336a6d08e fix(crash): fix crash about community permissions
Fixes #11996
2023-08-30 10:38:47 -04:00
Khushboo Mehta 330ccb58a6 chore(@desktop/wallet): Move send modal logic over to nim side
fixes #11881
2023-08-30 14:45:40 +02:00
Cuteivist db350dc36e
feat(@desktop/wallet): Fetch multi tx details (#12002)
closes #11897
2023-08-30 14:10:59 +02:00
Lukáš Tinkl a42ac076ca fix(shared-addresses): wrong account color and type
- rename `watchOnlyAccounts` to `nonWatchAccounts` to reflect what the
property returns
- some warning fixes

Fixes #12023
2023-08-30 10:30:50 +02:00
Lukáš Tinkl 5aec48da35 fix(chat): Download/invite popup small issues
- make the popup centered across the whole window
- fix (and extract) the get/download link to `Constants`
- fix some memleaks

Fixes #11926
2023-08-29 15:19:41 +02:00
Michal Iskierko da30b8d2d8 fix(@desktop/communities): Pass addressFrom from UI to contract calls.
Use address set in UI instead of deployer.

Fix #11827
2023-08-25 15:48:51 +02:00
Sale Djenic 6b570d1114 fix(@desktop/wallet): notification centre item relating to import of keypair to another of the user's synced devices (point 1)
Point 1 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 365fd37f99 fix(@desktop/wallet): importing keypairs after Waku backup (point 10)
Point 10 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic aec5dc62c9 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet) (point 9)
Point 9 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic fadad5f4f6 fix(@desktop/wallet): importing keypairs at the account level (navigating into an account page in Wallet settings) (point 8)
Point 8 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic c469cb32d3 fix(@desktop/wallet): log warnings for a `null` keypair fixed 2023-08-24 10:07:31 +02:00
Alex Jbanca 5fb057f61f feat(MembersTab): Update pending states based on new design
Adding the pending state indicator as a separate item in the members tab listView.
Removing the pending indicator from Buttons.
2023-08-22 21:55:52 +03:00
Mykhailo Prakhov 3f5df7e3ef
feat: owner and token master permissions (#11942) 2023-08-22 20:09:34 +02:00
Igor Sirotin 7e34260aef
feat: Unfurl GIFs locally (#11977) 2023-08-22 11:46:26 -04:00
Mikhail Rogachev cc83098263
feat(Communities): Improvements for token holders list (#11923)
* feat(Communities): Refactor token holder list item to separate file

Close #11858

* feat(Communities): Use contact details for community member info

* feat(Communities): reuse StatusMemberListItem for member token holder

* Review fixes

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>

---------

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>
2023-08-22 18:34:37 +03:00
Sale Djenic a1bf7bed19 feat(@desktop/syncing): make a not operable account fully operable, part 3
Closes the third part of #11779
2023-08-22 12:22:32 +02:00
Sale Djenic c207a4aefc chore(@desktop/syncing): syncing qr code related qml files move to shared location 2023-08-22 12:22:32 +02:00
Sale Djenic fb78df01e9 chore(@desktop/syncing): syncing related qml files move to shared location 2023-08-22 12:22:32 +02:00
Jonathan Rainville 7274e6156e
feat: hook edit shared addresses to backend (#11951)
Fixes #11822
2023-08-21 16:03:08 -04:00
Jonathan Rainville 8332a685c4
Hook pending join request backend to new UI (#11914)
Fixes  #11851
2023-08-21 15:07:40 -04:00
Boris Melnik 95f829665b
feat(communities): Update permissions list for spectated community tokens model (#11803)
Fixes: #11480

* hook up join popup to permission model

* fix chats not being put in the permission model

* make it work with channel permissions as well

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-21 14:54:57 -04:00
Michał Cieślak 988e7ac8d0 chore(Utils): remove backend-dependent escapeHtml method from Utils
StringUtils::escapeHtml from StatusQ is used istead
2023-08-18 17:07:20 +02:00
Michał Cieślak 79a195b7c9 fix(Utils): Sanitize string representing amounts in FeeRow
Closes: #11929
2023-08-18 17:07:20 +02:00
Michał Cieślak 02d16cb22f fix(Airdrop): Use remaining supply to display and validate amounts
Closes: #11917
2023-08-18 15:53:13 +02:00
Anthony Laibe 678f751121 feat(@wallet): mask api keys 2023-08-18 14:30:44 +02:00
Cuteivist faf4933262
fix(@desktop/wallet): Show networks for Bridge txs (#11898) 2023-08-18 10:56:57 +02:00
Alex Jbanca 33b8ca84e8 feat: Disable community membership request actions when the request is in action pending state
The actions are disabled by default. The proper visibility can be set when the backend implementation is done.

+ Fix one issue where the button tooltip was triggered when the pending state button is not visible
2023-08-17 21:14:43 +03:00
Michał Cieślak 81cc2070e9 fix(Communities): Remotely destruct popup for regular collectibles integrated
Closes: #11924
2023-08-17 17:26:30 +02:00
Michal Iskierko d031072514 fix(@desktop/communities): Restart fee timer only when the dialog is opened
Fix #11921
2023-08-17 14:11:11 +02:00
Lukáš Tinkl 5b2a7b9264 fix: the member search is adding empty spaces on the search results
Also fix other smaller issues found in this panel:
- display correct user name (not just `model.displayName`)
- do not display tooltips for invisible buttons
- vertically center the action buttons
- use `SearchBox` for consistency

Fixes #11848
2023-08-17 14:05:40 +02:00
Michał Cieślak 1c50ec17a8 chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning
Closes: #11491
2023-08-17 11:26:25 +02:00
Lukáš Tinkl f3526d6e01 fix(Mint token): Network selector not shown properly
Fixes 2 problems, mainly visible when switching between test and non-test
networks:
- do not display network icons in single selection mode
- make really sure the default chain is Optimism

Fixes #11846
2023-08-17 10:29:05 +02:00
Mikhail Rogachev f4b028bd71
feat(CommunityTokens): Display community member contact data for token holders list (#11787)
* feat(CommunityTokens): proposal of CommunityCollectibleOwner

Close #11143

* feat(Communities): implement viewProfile from token holders list

* fix: re-request community token owners after a contact get removed from a community
2023-08-17 11:24:14 +04:00
Cuteivist beaca31664
fix(@desktop/activity): Fix filter layout and added recipient search (#11883) 2023-08-16 16:06:56 +02:00
Michal Iskierko a7b5ab30a0 fix(@desktop/communities): Set up isTokenMasterOwner flag correctly in UI
Fix #11276
2023-08-16 12:11:12 +02:00
Michał Cieślak 197c211fbc fix(EditOwnerTokenView): Fee errors handling fixed
Closes: #11823
2023-08-16 10:20:48 +02:00
Dario Gabriel Lipicar 238ffeb01e feat:(@desktop/profile): dedicated collectibles model for profile showcase
Closes #11637
2023-08-15 11:07:53 -03:00
Michal Iskierko 0c78a648b5 fix(#desktop/communities): Remove temp minting and temp airdrop buttons
Improve logs in community tokens service.

Issue #11250
2023-08-14 21:40:57 +02:00
Noelia 6b8ef1411b refactor(OwnerToken): Refactored UI roles `isPrivilegedToken` and `isOwner`
Refactored UI expecting backend role: `privilegesLevel`.
Added privileges level possibilities into `Constants`.
Updated storybook accordingly.
2023-08-14 21:40:57 +02:00
Michal Iskierko 603d4dd4d8 feat(@desktop/communities): Deploy Owner and Master tokens flow.
Issue #11250
2023-08-14 21:40:57 +02:00
Alexandra Betouni 3ce0215c88 feat(RemotelyDestructPopup): Added fee box
Closes #11624
2023-08-11 19:22:02 +03:00
Sale Djenic 4c6af4f1ad feat(@desktop/syncing): make a not operable account fully operable, part 2
- handles import keypairs (without syncing via qr)

Closes the second part of #11779
2023-08-11 17:22:27 +02:00
Alex Jbanca 7d4df690c5 feat: Add Ban/Kick Pending state in the Community members settings. 2023-08-11 17:55:51 +03:00
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
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 66e9631933
fix(@desktop/wallet): Speedup wallet view loading (#11736)
fixes #11627
2023-08-04 10:41:45 +02:00