Commit Graph

9930 Commits

Author SHA1 Message Date
Stefan 7e146d662d test(wallet) add dev integration tests for ERC1155 route estimator
Used for debugging ERC1155 route estimation issues

Updates: #14212
2024-04-03 16:23:32 +02:00
Stefan ad0a7d3ba4 test(wallet) add dev integration tests for ERC721 route estimator
Used for debugging ERC721 route estimation issues

Updates: #14212
2024-04-03 16:23:32 +02:00
Stefan ee23cce575 fix(SendModal): fix various issues with SendModal
- Fix errors when switching between assets and collectibles tabs
  - Fix by controlling the order of instantiation between model and
    delegates not to mix models and delegates from different sources
- Fix size errors
- Various improvements

Updates: #14212
2024-04-03 16:23:32 +02:00
Igor Sirotin 3750b9933e
chore: supress UnreachableCode check in keycard_popup/controller.nim (#14254) 2024-04-03 14:47:52 +01:00
Igor Sirotin 89408adc00
chore: fill holes in ChatType enum (#14257)
* chore: fill holes in ChatType enum
* chore: fix Spacing warning
2024-04-03 14:47:41 +01:00
Mikhail Rogachev d86be3a970
fix(Profile): Fix crashing when showcase collectible having disabled chainIds (#14252)
Close #14243
2024-04-03 11:51:15 +02:00
Anastasiya Semenkevich b25ec2bd1b chore: disable ens purchase test because of issue
Ticket opened: https://github.com/status-im/status-desktop/issues/14262
2024-04-03 11:49:50 +03:00
Stefan 65791a8e87 fix(wallet) sending community tokens doesn't work
The contract address is not resolved for the community tokens because
of symbol usage to identify assets. The symbol is not resolved by
`getTokenBySymbolByTokensKey`.
This fix changes from using symbol to always using assetKey to identify
the token for all non-native and non-collectibles transfers.

Closes #14074
2024-04-03 10:08:20 +02:00
Stefan fd964337a8 Remove relative imports and unused variable from transaction/service.nim 2024-04-03 10:08:20 +02:00
Stefan f9782d6863 fix(SendModal) missing icons for assets
In case of assets the symbol doesn't have an icon representation
in resources, hence we use the image of the asset itself.
Same fix used for header and delegate

Closes: #14218
2024-04-03 10:07:47 +02:00
Stefan a2e8b6ebd7 fix(wallet) start a session in case of tmp activity models
Closes: #14250
2024-04-03 07:55:22 +02:00
Dario Gabriel Lipicar cd3a1180b0 fix(@desktop/wallet): properly handle collectible groups in send modal
Fixes #14080
2024-04-02 12:55:08 -03:00
Lukáš Tinkl cb6c633e69 feat(SharedAddressesAccountSelector): update account sorting
- implement sorting of the wallet accounts by the number of tokens (aka tags) and
then by alphabet
- due to the delegate complexity here and usage of nested models, keep
track of the tags count separately and outside of the model
- this will be improved later on as part of the complete sort/order
design described in https://github.com/status-im/status-desktop/issues/14192

Fixes #14101
2024-04-02 16:03:09 +02:00
Lukáš Tinkl 8704cb19a4 chore(SharedAddressesPermissionsPanel): use FastExpressionFilter
- speed up the construction of the permissions overview panels
2024-04-02 16:03:09 +02:00
Alex Jbanca 79d4bb20cb fix(ProfileShowcase): Filter out communities the user hasn't joined from 2024-04-02 16:44:16 +03:00
Andrey Bocharnikov accd4da214
fix(Permissions): tokenOwner is present in the list of collectibles when adding a permission (#14236)
fixes #13561
2024-04-02 14:38:08 +04:00
Michał Cieślak b91cf08066 feat(SharedAddressesAccountSelector): Support for collectibles in account's delegate tags
Closes: #14102
2024-04-02 12:18:36 +02:00
Michał Cieślak fc5daf2ee2 feat(GenericListView): reinitialize on model reset and handle delayed roles initialization 2024-04-02 12:18:36 +02:00
Alex Jbanca 684fb787a6 fix(PRofileShowcase): Fixing conflict merge error 2024-04-02 12:07:22 +03:00
Cuteivist 7fa3771e4e
feat(wallet): Handle collectibles details unknown community (#14206) 2024-04-02 10:23:20 +02:00
Alexandra Betouni 4af2a97358 [ProfileShowcase] Updated delegates as per design + added web tab
Closes #13421
Closes #13606
2024-04-02 10:21:13 +03:00
Alex Jbanca 1d45243bc1 feat(ProfileShowcase): Integrate profile perspective selector 2024-04-02 10:16:17 +03:00
Alex Jbanca 77933cc732 feat(ProfileShowcase): Add profile perspective selector component 2024-04-02 10:16:17 +03:00
Cuteivist 6dec612f5c
feat(wallet): Handled failed to load collectible image state (#14229) 2024-03-30 06:00:00 +01:00
Lukáš Tinkl b191caaec6 feat: Add missing eligible to join tag in CommunityMembershipSetupDialog
- implement the eligibility check in C++, returning the highest possible
role the user would be allowed to join under
- enable/disable the "Share" button based on the above permissions check
- remove all the locally placed components, access teh popup only via
Global/Popups
- calculate the `accessType` internally based on the permissions present
- update the eligibility as the async check for permissions is finished
- fix the permissions panel background color
- partially revert the share/finish/cancel buttons behavior; it must be
one button due to StatusStackModal limitations
- fix some other minor UI issues or differences to current Figma designs
- adjust SB, add the possibility to play around with different
permission models

Fixes #14100
2024-03-29 16:11:59 +01:00
Lukáš Tinkl 255f318627 fix: consider TM when evaluating permissions to join
seems like this check had gone missing
2024-03-29 16:11:59 +01:00
Lukáš Tinkl 5af2f28aa2 fix[Onboarding] Password screen is not correct
- hide the "Current password" label when creating a new password
- fix margins inside the keycard popup
- some minor UI fixups according to Figma

Fixes: #14214
Fixes: #14177
2024-03-29 16:10:50 +01:00
Anastasiya Semenkevich 98a53acf04 chore: fix button label according to UI changes
https://github.com/status-im/status-desktop/pull/14233
2024-03-29 17:55:29 +03:00
Mikhail Rogachev 839f2c6b21
Feat: New showcase models for a contact (#13998)
* Feat: New showcase models for a contact

* feat(ProfileShowcase): Integrate the new profile showcase backend

* fix(Storybook): Fix ProfileShowcaseModelsPage

* fix: fetch only requested profile showcase data

Support PR for https://github.com/status-im/status-go/pull/4982

* feat: Load and validate profile showcase for a contact in two steps

* fix: fetching criteria for profile showcase collectibles

* fix: review fixes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-03-29 12:43:49 +01:00
Anastasiya Semiankevich 8b20e56680 chore: address nightly failures on march 29, 2024 2024-03-29 12:37:58 +03:00
Anastasiya Semenkevich 36a5e6b32e chore: replace method to get chat names 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich f369672ca6 chore: fix get chats list method (maybe) 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 51c8d21399 chore: fix data for channel member test 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 0ade2a3306 chore: skip test to verify channels as a member 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 7994739d04 chore: add random user attributes usage where possible 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 0ec1ddbdb0 chore: get rid of hardcoded values in 1x1 chat 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9f0dc4bf8f chore: comment out tests to fix them later 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9962d3580a chore: update 1x1 chat as well to use new method 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 1963553f39 chore: fix missing dot validation for display name 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 65dd9c542f chore: remove parametrization where it is not in use in fact 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 33251f2bfe chore: remove data usage for syncing test as we actually dont need it there and it was not working anyway 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 2a7d76bc78 chore: rename method in other places 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 9f73f5f393 chore: data for pin test 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 40ef7b0f51 chore: remove hardcoded values 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich f46152d07d chore: use proper data in test 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 4e2799f84f chore: add DBs for users (they are in contacts of each other) 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich cb4f422798 chore: add group_chat_user_3 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 3245337f97 chore: add group_chat_user_2 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 728cdef249 chore: add group_chat_user_1 account data 2024-03-29 09:17:39 +03:00
Anastasiya Semenkevich 2858abeb98 add missing parameter, renamed function, removed super() from aut class (no parent exists) 2024-03-29 09:17:39 +03:00