Commit Graph

3919 Commits

Author SHA1 Message Date
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 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
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
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
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 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
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
Cuteivist cdcfe811f5
fix(@desktop/wallet): Update transaction status UI (#11681)
fixes #11534
2023-08-02 06:36:54 +02:00
Stefan d253ba8a2a fix(wallet): fix activity time filter
Also optimize for no filter instead of given specific time range.

Closes: #11717
2023-08-01 17:20:34 +02:00
Sale Djenic 2e1b60ab06 feat(@desktop/wallet): account Interaction - remove master key and accounts
Closes: #11707
2023-08-01 14:27:23 +02:00
Noelia d832a306a4 fix(Minting): After minting completed 1 airdrop button is enabled and the other disabled
- Added `buttonEnabled` property to `StatusInfoBoxPanel` so it can be set from outside.
- Fixed airdrop button enable condition in minting flow. It is enabled when minting state is completed and if the token properties are infinite supply or there are still remaining tokens to be airdropped.
- Updated storybook accordingly.

Fixes #11496
2023-08-01 13:20:31 +02:00
Khushboo Mehta 6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes #11578
2023-08-01 09:51:33 +02:00
Dario Gabriel Lipicar bf4af3d7d4 chore(wallet) remove transactions module
Bump Status GO to support session based activity requests

Transaction module was replaced by activity module,
this change removes the old code.

Details:

- Remove transaction.Item and use the DTO directly
- Replace the still using missing functionality
- Remove old way of fetching transactions in response to the history event
- Use activity filter to provide history for "recents" in Send.

Closes #11339
2023-07-31 19:01:33 +02:00
Jonathan Rainville 515028222e feat(airdrop): make the airdrop member selector use the airdropAddress
Fixes #11532

Hooks the Airdrop views to the new airdropAddress model property so that the fee calculation and the airdrop transaction can use a valid address.
2023-07-31 11:34:10 -04:00
Alex Jbanca 2454b5f69a fix(NetworkSelector): Fix broken bindings when the item is toggled 2023-07-31 12:33:43 +03:00
Alex Jbanca 44d511fd6a fix(NetworkSelector): Add Optimism as default network 2023-07-31 12:33:43 +03:00
Jonathan Rainville 6e346d2c0d feat(Communities): changes in import popup for public keys
Also: refactor(communities), moved request to join funcs to communities module
This is needed because we can now request to join from the Import popup

Closes #11242
2023-07-28 18:53:59 +03:00
Lukáš Tinkl bb2bbfb5b6 fix: Review scrolling behavior for holdings dropdown
- remove padding and use margins so that the listview can span the whole
width while having the scrollbar neatly next to it
- make the section header both inline and floatable (which makes it
always visible, even when scrolled away)
- fix the special search results "section" to behave the same way
- sort the results by category and name
- expose the `allTokensMode` for easy testing with storybook

Closes #10201
2023-07-28 17:46:29 +02:00
Sale Djenic 2749236a56 feat(@desktop/syncing): recovering from waku if backed up data refers to a profile migrated to a Keycard
Closes: #11661
2023-07-28 17:06:35 +02:00
Michał Cieślak 190a3b775e feat(Communities): Add fee box and updated sign popup to standard minting flow
Closes: #11303
2023-07-28 12:49:14 +02:00
Michał Cieślak f4d66a244e feat(Communities): Add fee box and updated sign popup to owner/token master tokens minting 2023-07-28 12:49:14 +02:00
Anthony Laibe 22c07efcd9 fix(@wallet): wallet color fixes
* Left bar hover color fix
* Network filter darkmode border
* No footer in all addresses

fixes #11659
2023-07-28 11:08:08 +02:00
Alex Jbanca 90f4d60059 feat(ControlNode): Show toast notifications when the control node state changes
1. Fix an issue where importing a community using private key triggers the import finished event without updating the community data if the community is already imported with public key
2. Show toast messages on importCommunity and privateKeyRemoved events
3. Group community import toast messages handlers and move them from ContactsColumnView to AppMain. IMO these toast messages handlers should not be dependent on ContactsColumnView.
2023-07-28 10:03:10 +03:00
Dario Gabriel Lipicar dc75c120df feat(wallet): use new status-go collectibles backend
Fixes #11558
2023-07-27 12:48:17 -03:00
Boris Melnik 43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Anastasiya Semenkevich 6fa519a4c0 test(@tst_wallet_settingsManagement): add test to add new account from settings 2023-07-27 11:27:00 +03:00
Pascal Precht 5351f2b694 feat: implement retrying deploying community contracts
Ultimately, this means deleting/removing the entry of the previously
failed deployment, then performing a new transaction.

Closes #11186
2023-07-27 09:32:03 +02:00
Lukáš Tinkl 57fc600d5e feat: Add status-go version to About screen
- Settings/About now displays the `status-go` version, read from its
`VERSION` file
- use the actual app icon, to differentiate between prod/dev version
- make the version numbers clickable, taking the user to either the
release notes (prod) or the GH commit browser (dev)
- add "Is production" switch to the About page in storybook

Closes #11424
2023-07-26 21:35:21 +02:00
Michał Cieślak ed13b61c3a chore(Community Airdrop): Update fees box according to the desing
Now it allows to select account for paying fees.

Closes #11605
2023-07-26 17:59:45 +02:00
Michał Cieślak 3c65d2e69e chore(Communities): Fees box - use danger outline for account selector when error 2023-07-26 17:59:45 +02:00
Michał Cieślak 8524e37844 chore(Communities): Fees box - add showAccountsSelector flag
It allows to show/hide selector without losing it's state.
2023-07-26 17:59:45 +02:00
Michał Cieślak 7f27695f12 chore(Communities): Align fees box sizing to updated design 2023-07-26 17:59:45 +02:00
Igor Sirotin 4a4e3c5663
fix: Propagate `root.linkPreviewModel` (#11673) 2023-07-26 17:09:36 +03:00
Lukáš Tinkl 94c29d1e60 fix: Mint tokens screen uses different border colors for boxes
plus a couple of other dark mode fixes

Fixes #11633
2023-07-26 14:38:27 +02:00
Patryk Osmaczko faa425dd29 refactor(communities): rename `inviteUsersToCommunity` to `shareCommunityToUsers`
This change corrects legacy naming that was causing confusion.

Community invites are no longer sent to users. Instead, the community is
just shared. If a user is interested in joining this shared commmunity,
they must submit a request to join.
2023-07-26 14:09:21 +02:00
Cuteivist dea0e99bbb
fix(@desktop/wallet): Update activity delegates subtitle (#11645) 2023-07-26 13:50:27 +02:00
Stefan 03923b223b chore(wallet) optimize fetching request by using metadata
Use metadata instead of details for displaying activity headers.

Bump status-go to include the required API changes

Closes #11173
2023-07-25 17:55:33 +02:00
Alex Jbanca 8d335ab210 feat(ExportControlNode): Connect Export Control Node popup to backend
Connect `onDeletePrivateKey` to backend.
Depends on https://github.com/status-im/status-desktop/pull/11640
2023-07-25 15:44:58 +03:00
Alex Jbanca 4aaae242b5 feat(Import Control Node): Adding ImportControlNode flow
1. Create a new popup as per Design: ImportControlNodePopup
2. Add the popup in storybook
3. Integrate ImportControlNodePopup in the app
2023-07-25 15:02:45 +03:00
Alex Jbanca 83303a011e feat(CommunityOverview): Update Control Node help page URL opened by Learn more button
Updating the help URL.
2023-07-25 15:02:30 +03:00
Lukáš Tinkl a2e6227117 feat: disable community settings while in Testnet mode
- display an info box when in wallet testnet mode with a CTA to disable
it (functionality enabled for production builds only)
- the CTA can be tested/seen via OverviewSettingsPanelPage storybook page

Closes #11468
2023-07-24 19:29:13 +02:00
Michał Cieślak 715ed2a918 feat(Communities): Redesigned fees box and sign tx popup components added
Closes: #11600
2023-07-24 17:14:00 +02:00
Cuteivist 9b8340b695
feat(@desktop/wallet): Handle contract deployment (#11570)
closes #9047
2023-07-24 13:18:42 +02:00
Igor Sirotin cc5f057b3a
Replace link previews with new unfurled data from the message (#11603) 2023-07-22 02:08:44 +03:00
Mikhail Rogachev b75d8630ca
feat: use community.isControlNode as visible for archiveSupporVisible (#11560)
Close #11089
2023-07-22 01:05:42 +04:00
Noelia d2051c6247 feat(OwnerToken): Add all mint states views design details
- Added `storybook` support to change minted tokens model with Owner and TMaster tokens.
- Added new properties into the `tokenModel` model.
- Extended `CollectiblesView` to allow Owner and TMaster tokens representation.
- Updated `MintedTokensView` in order to display Owner and TMaster tokens.
- Added logic to `enable/disable` MINT and AIRDROP token depending on the owner /  tmaster tokens deploy state.
- Added temp buttons in MINT and AIRDROP pages that keeps enabled the flows although owner and tmaster backend is not ready.
- Extended navigation from outsite to minting section, depending on user profile and owner and tmaster states.
- Hide footer options in case of owner token item visualized.
- Added retry flow.

Closes #11299
2023-07-21 17:25:08 +02:00
Khushboo Mehta 9800dad3ba feat(@desktop/wallet): Account view - New Account view UI
fixes #11537
2023-07-21 15:37:30 +02:00
Lukáš Tinkl ef2d1b75ad fix: Burn and self destruct pop-ups are not closed after signing
- close the first popup before opening another
- fix `SignTokenTransactionsPopup` title (it would display "Burn
undefined tokens")
- remove duplicate close() calls
- `destroyOnClose: false` is the default

Fixes #11498
2023-07-21 15:23:45 +02:00
Lukáš Tinkl e744c847ad feat(token-permissions): display channel names in SharedAddressesPanel
Modify the PermissionUtils a bit to return an array of `[key, channelName]`
instead of just the keys and use it to display the channel names in the
permissions overview panel

(I could have used `QVariantMap` or `QJSonObject` here but those are
always sorted by `key`, so had to resort to using a plain vector/array)

Fixes #11584
2023-07-21 13:47:07 +02:00
Cuteivist d05d743d80
fix(@desktop/wallet): Various wallet view fixes (#11606) 2023-07-21 12:55:36 +02:00
Sale Djenic 9b17a66935 fix(@desktop/wallet): `Wallet -> Settings -> Account order` - drag and drop accounts in account list is not smooth
Fixes: #11508
2023-07-20 18:01:14 +02:00
Sale Djenic c47a432bae fix(@desktop/wallet): `Wallet -> Settings -> Account order` - watch-only accounts and keycard accounts should have appropriate icon
Fixes: #11513
2023-07-20 18:01:14 +02:00
Sale Djenic 32cac8a8cc fix(@desktop/wallet): `Wallet -> Settings -> Account order` - wrong copy when having single account
Fixes: #11512
2023-07-20 18:01:14 +02:00
Anthony Laibe 0cc91fb315 feat(@wallet): check for url not being a url 2023-07-20 15:32:35 +02:00
Lukáš Tinkl daae249fae feat(Token master): create category in Settings/Communities
Add a `memberRole` value and section for the TokenMaster category in
Settings/Communities

Fixes #11308
2023-07-20 11:37:48 +02:00
Alex Jbanca 27c159d464 feat: Export control node (except backend for primary action)
Adding the export control node popup. The popup is behind an authentication wall.
1. Create ExportControlNodePopup qml
2. Add the popup in storybook
3. Create authentication flow with qml callback to open the popup after authentication
4. Add the popup open action in Global.qml
2023-07-20 12:11:17 +03:00
Michal Iskierko 64422afed7 feat(@desktop/communities): Add burning state logic
Expose burningState in the model.
Update burningState when burning operation changes its status.

Issue #11076
2023-07-20 08:16:32 +02:00
Cuteivist db363b3782
feat(@desktop/wallet): Use separate filter for each wallet account (#11528)
closes #11412
2023-07-19 16:16:45 +02:00
Cuteivist ae6630911e
feat(@desktop/wallet): Adjust options in wallet account menu (#11368)
* feat(@desktop/wallet): Adjust options in wallet account menu

closes #10682

* test(wallet suite) Fix failed test (#11577)

---------

Co-authored-by: Vladimir Druzhinin <128374224+StateOf-Vlado@users.noreply.github.com>
2023-07-19 16:05:21 +02:00
Pascal Precht 3370f4f42d fix: display notification when asset deployment fails
Closes #11338
2023-07-19 13:02:04 +02:00
Lukáš Tinkl 02e40adfca feat: New design flows to integrate Revealing addresses...
... when joining Community functionality

Closes #11138
2023-07-19 12:44:16 +02:00
Noelia c8cb2d6c7c feat(OwnerToken): Create `EditTokenView.qml` for mint owner token flow
- It creates a generic `TokenInfoPanel` that will be reused in different mint token views.
- It creates new `EditOwnerTokenView` and storybook page support.
- It adds new `EditOwnerTokenView` into the minting flow, linking sign transaction flow and adding needed method to the store to do the deployment.

Closes #11296
2023-07-19 11:15:46 +02:00
Cuteivist a30678f5ec
feat(@desktop/wallet): Handle missing token metadata (#11433)
closes #11043
2023-07-18 16:05:22 +02:00
Anthony Laibe 3ea5464c33 feat(@wallet): verify json rpc URL 2023-07-18 15:39:21 +02:00
Sale Djenic 4b6066c955 fix(@desktop/wallet): review comments applied for keypair rename feature
- labels changed in Figma, updated in the app
- `Show encrypted QR of keypairs on device` is displayed only if needed now,
for this I had to add account/keypair `operability` feature, so far it handles only
displaying a context menu option, later in a separate issue a proper functionality
will be added
- wallet related toast notifications moved to the proper place (`AppMain.qml`, where
actually all notifications should be handled), not in the place where they occurs, we
need to review other notifications as well and move them there
2023-07-18 09:20:09 +02:00
Sale Djenic 6d25a888d3 feat(@desktop/wallet): keypair rename (a profile keypair name should follow display name)
Fixes: #10769
2023-07-18 09:20:09 +02:00
Alex Jbanca bed7db5528 feat(communityChart): Add messages over time chart - mocked data
Implementing community messages over time chart
Adding `OverviewSettingsChart.qml` to storybook
2023-07-18 08:43:59 +03:00
Khushboo Mehta 1a5907e22c fix(@desktop/wallet): fixes eird scrolling behaviour in Wallet settings
fixes #11526
2023-07-17 21:03:44 +02:00
Khushboo Mehta 4d6c8a840b feat(@desktop/wallet): Networks - Edit Network
fixes #11434
2023-07-17 21:03:44 +02:00
Boris Melnik c3c74b9f61 feat(new-links-format): Adds new links to UI
Part of: #10852
2023-07-17 14:41:22 +03:00
Jonathan Rainville 5f1483a595 fix: crash when request to join fails + add error toast when it fails
Fixes #11514

The problem was that we were not handling the error from request to join correctly.

Then I added an event that sends a signal to the QML to show a toast about an error. I don't show the actual error to the user because usually it's not super helpful. It will be in the logs.

The status-go change makes it so that we don't save the request to join if the permission check failed.
2023-07-14 15:11:57 -04:00
Noelia f3af979edf feat(OwnerToken): Admin view of Airdrops home - pre-Owner token minting
- New `Get started` panel for admins in `Airdrops` section added.
- Added support in `storybook`.

Closes #11472
2023-07-14 12:57:18 +02:00
Noelia c973605831 feat(OwnerToken): Admin view of Tokens home - pre-Owner token minting
- New `Get started` panel for admins in `Tokens` section added.
- Added support in `storybook`.

Part of #11472
2023-07-14 12:57:18 +02:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02:00
Lukáš Tinkl 5b118f43f8 fix(Chat): Confirmation button UI is broken when deleting 1-1 chat
fixes a `StatusModal` porting error that broke `title` in a couple of
popups/modals

Closes #11503
2023-07-13 16:44:30 +02:00
Anthony Laibe 4c8c7d95d7 fix(@wallet): reset tab view on filter change
fixes #11469
2023-07-13 14:15:58 +02:00
Boris Melnik e109865f73 fix(community): Trim emojis in channels
Fixes: #11443
2023-07-12 12:45:10 +03:00
Sale Djenic 1561b170e4 chore(@desktop/syncing): keycards syncing improvements part 2/2
Handling keycards related syncing improvements done on the status-go side.

Closes: #11268
2023-07-11 22:15:44 +02:00
Igor Sirotin d7aa0582be
Switch to new URL unfurl API [sending messages part] (#11476) 2023-07-11 14:30:55 +03:00
Noelia 3a0954c5da feat(OwnerToken): Add Mint Owner token view
- Created new `Owner Token` and `TokenMaster Token` welcome screen.
- Navigations added.
- Storybook support added.

Closes #11292
2023-07-11 13:04:50 +02:00
Noelia eb37f44a23 feat(OwnerToken): Create Get started panel and add it to Tokens and Airdrops welcome views
- Added start panel in tokens welcome page.
- Added start panel in airdrop welcome page.
- Updated e2e tests according to new requirements.

Closes #11284
2023-07-11 11:07:01 +02:00
Noelia dea020fdba feat(MintToken): Updated sortable token holders with generic SQ component
Replaced existing `NoHoldersPanel` component to the generic `StatusInfoBoxPanel` one.
2023-07-11 11:07:01 +02:00
Noelia d4afc1fba6 feat(CommunitySettings): Changes section name from `Mint Tokens` to `Tokens`
Updated text according to new design.

Updated e2e tests according to new requirement.
2023-07-11 11:07:01 +02:00
Cuteivist 9b293f9c34
feat(@desktop/wallet): Loading animation for input data decoding (#11378)
closes #11333
2023-07-10 15:36:29 +02:00
Sale Djenic 11389facc0 fix(@desktop/general): make "Backup data" button available only for the "development" build
Fixes: #11463
2023-07-10 11:35:28 +02:00
Alex Jbanca 9629a145da feat: Update Community Overview header based on the new design
[Design](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=31229-627216&mode=design&t=KoQOW7vmoNc7f41m-0)
1. Update header layout and size
2. Add OverviewSettingsPanel in storybook

feat: Update Community Overview Header based on the new design

Removing squish tests related to the community identicon in the Overview page. The identicon is removed in the new designs
2023-07-08 11:56:33 +03:00
Alex Jbanca 3b57915155 feat: Implement Community Overview footer with mocked data
1. Adding OverviewSettingsFooter.qml according to design
2. Adding the footer to storybook
3. Add the footer in the overview page
4. Remove the squish tests for the old footer
2023-07-07 21:07:35 +03:00
Alexandra Betouni ce06fc3a99 fix(EditCommunityToken): prevent using already existing symbols
Closes #10784
2023-07-07 15:30:07 +03:00
Alex Jbanca b710994bee fix: Supply amount in mint tokens preview
Check errors object for values before invalidating the supply amount.
2023-07-07 12:08:03 +03:00
Michał Cieślak 6b42414155 fix(CommunitySettingsView): Add expected roles to assets/collectibles models
The same components are used to display data from rootStore.assetsModel,
rootStore.collectiblesModel (permissions) and
root.community.communityTokens (airdrops). The models have different
roles and need adjustments before passing to ui components.

Closes: #11309
2023-07-06 19:39:44 +02:00
Alex Jbanca 5633efcdba fix(Edit community settings): Fixing width after merge error 2023-07-06 17:37:29 +03:00
Anthony Laibe 5a9ff99aad fix(@wallet): overview balance with symbol
fixes #11397
2023-07-06 15:48:02 +02:00
Cuteivist ab487d40a5
fix(@desktop/wallet): Handle empty activity list exception (#11399)
fixes #11354
fixes #11381
2023-07-06 14:59:26 +02:00
Alex Jbanca 0efca3f0bd feat: Update Edit community settings based on new design
[Design for edit community settings](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?node-id=3132%3A383870&mode=dev)
[Design for create community popup](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=2636-359221&mode=design&t=Z888PCuW1eTwF5RY-0)

1. Update alignments, paddings and item size to match the new design
2. Update subtitles (Only for edit community settings. Create community popup has different subtitles)
3. Create new EditCommunitySettingsLayout with the new design to be reused in CreateCommunityPopup
4. Update CreateCommunity popup to align it with the new design
5. Add basic EditSettingsPanelPage to storybook
6. Fix TagsPicker bug where the tags were not showing when opening the edit community settings for the first time
2023-07-06 09:47:46 +03:00
Anthony Laibe 0cd7829d62 fix(@wallet): prevent delete main account
fixes #11398
2023-07-06 07:50:23 +02:00
Michał Cieślak 16f3f0b2eb chore(Community Permissions): Mint asset button enabled in holdings dropdown
Closes: #11363
2023-07-06 00:53:11 +02:00
Michał Cieślak a4b1b5500a chore(CommunitySettingsView): Sections cross referencing simplified
Additionally:
- stack components directly define content of the left list
- fixed navigation from Permissions section to minting
- various code style fixes

Closes: #11179
2023-07-06 00:53:11 +02:00
Michał Cieślak 6247110293 chore(CommunitySettingsView): Not needed top level Loader removed 2023-07-06 00:53:11 +02:00
Stefan d17f2c70f1 chore(wallet) extract responsibilities from activity.Controller
Extract processing of Events and Status keeping responsibilities from
activity.Controller

Updates #11233
2023-07-05 23:45:34 +02:00
Alexandra Betouni b748402825 fix(EditCommunityToken): adjusted validation error messages for emojis
Closes #10783
2023-07-05 12:45:53 +03:00
Michał Cieślak b5d3a0cff9 fix(Community Permissions): handling collectible icons fixed
Closes: #11297
2023-07-05 11:41:45 +02:00
Noelia 6ec40eb3cc feat(OwnerToken): Create `token owner` and `master token` components
- It creates specific token artwork panel for owner token and token master token  representation.
- It adds support to new component in storybook.

Closes #11294
2023-07-05 11:14:38 +02:00
Jonathan Rainville 2d21ff6c38 fix(community): fix cancel of authentication still requests to join
Fixes #11272

The problem was that we didn't handle the cancelation (checking with password was empty). 

Now we do and we send the signal to cancel when it's the case.
2023-07-04 15:13:48 -04:00
Michał Cieślak 2d0aaaa974 fix(CommunityTokenView): Hide holdings list when token not deployed
Closes: #11386
2023-07-04 15:32:37 +02:00
Michał Cieślak 235c3d778b fix(MintTokensSettingsPanel): Improved binding from token model to CommunityTokenView instance, Constants.TokenType used consistently
Closes: #11387
Closes: #11384
2023-07-04 15:32:37 +02:00
Pascal Precht 42e0751e83 fix(Communities): ensure permission CTAs are rendered with admin
permissions

This commit fixes a bug that admins are not able to do any permission
actions (editing/deleting). The issue was that there was a check for
those CTAs only to be visible if the logged-in user is the owner of the
community, not an admin.

Closes #11092
2023-07-04 13:06:35 +02:00
Michał Cieślak 74991820ca fix(EditPermissionView): Dirty state validation fixed
Closes: #11063
2023-07-04 10:42:11 +02:00
Stefan 2487b4b1cb feat(wallet) make filer apis async
Bump status-go to include required changes

Refactor the API usage to use the new async APIs.
Support multiple events in the same block
Report loading state for all the APIs

Also

- fix the loadingData state in the controller.nim
- reset the model to empty when the filter is invalidated due to
address and chain IDs change

Closes #11170
2023-07-03 17:40:19 +02:00
Anthony Laibe 398cf6455c fix(@wallet): test etherscan link
fixes #11330
2023-07-03 14:46:09 +02:00
Michał Cieślak fcbc86d882 chore(Community Settings): unused SettingsPageLayout removed, minor naming adjustments
Closes: #11177
2023-07-03 12:47:35 +02:00
Michał Cieślak cd142a74fc chore(Community Settings): Squish tests fixed 2023-07-03 12:47:35 +02:00