9158 Commits

Author SHA1 Message Date
Stefan
c6b399c428 fix(wallet) serializing type for collectibles settings to backend
It seems `%*` operator we use in the `rpc` generics doesn't use the
`serializedFieldName` marker and `type` was serialized as `itemType`
and value the enum name instead of `type` and integer value

Updates: #13971
2024-04-18 14:36:52 -04:00
Jonathan Rainville
c14732260a Release 2.28.1 RC2 2024-04-18 09:54:20 -04:00
Dario Gabriel Lipicar
6b4307acd1 fix(@desktop/wallet): properly handle collectible groups in send modal
Fixes #14080
2024-04-18 09:40:15 -04:00
Alex Jbanca
a9a83df301 fix(CommunityPermissions): Fix token criteria updates in the permissions model
Re-create the token criteria and include all items whenever the model changes.

The previous perf optimisation fix filtered the items where the criteriaMet doesn't change.
2024-04-17 16:11:32 -04:00
Jonathan Rainville
75e1d3151f fix: fix crashes on join and permission removed
Fixes #14444 and #14447

The problem was that we accessed a categoryItem that might not have existed yet.
2024-04-17 09:44:06 -04:00
Jonathan Rainville
81f5349252 Release 2.28.1 RC1 2024-04-15 12:04:13 -04:00
Alex Jbanca
32d70c1715 chore(ProfileShowcase): Cherry-pick profile showcase loading state
https://github.com/status-im/status-desktop/pull/14260
2024-04-15 10:03:57 -04:00
Alexandra Betouni
9cad3db60f feat(ProfileShowcasePopup): Adding interactions in delegates
Closes #13702

(cherry picked from commit 53db09412af4efc27ed72d8dcf0aa516119b207b)
2024-04-15 10:03:57 -04:00
Mikhail Rogachev
aa2b90ec4c fix(Profile): Fix crashing when showcase collectible having disabled chainIds (#14252)
Close #14243

(cherry picked from commit d86be3a970892391280e1e93ea07ca7fc6ba0a04)
2024-04-15 10:03:57 -04:00
Alex Jbanca
5ffad9cb78 chore(ProfileShowcase): Adapt the cherry-picked showcase for a contact commit to the old networks API 2024-04-15 10:03:57 -04:00
Alex Jbanca
d1d69ceba7 fix(ProfileShowcase): Filter out communities the user hasn't joined from 2024-04-15 10:03:57 -04:00
Alex Jbanca
822e170b6d fix(PRofileShowcase): Fixing conflict merge error 2024-04-15 10:03:57 -04:00
Alexandra Betouni
29e3e41410 [ProfileShowcase] Updated delegates as per design + added web tab
Closes #13421
Closes #13606
2024-04-15 10:03:57 -04:00
Alex Jbanca
c720d48d61 feat(ProfileShowcase): Integrate profile perspective selector 2024-04-15 10:03:57 -04:00
Alex Jbanca
dda9b80fb6 feat(ProfileShowcase): Add profile perspective selector component 2024-04-15 10:03:57 -04:00
Mikhail Rogachev
5caadda171 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-04-15 10:03:57 -04:00
Ivan Belyakov
d5f4e17838 chore: bump status-go 2024-04-12 12:14:35 -04:00
Ivan Belyakov
4c041e763b fix(wallet): fixed precision loss for balance amount in nimqml
fixed currency amount property type to be handled by QMetatype properly
2024-04-12 12:14:35 -04:00
Emil Sawicki
b810687049 fix(wallet): Update amount to send decimal handling 2024-04-12 11:28:56 -04:00
Lukáš Tinkl
80704308eb fix[Shared Addresses] Can't edit shared address while the join request is pending
- disallow changing the Shared addresses while our request to join
community is still pending

Fixes #14292
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
9d00e82de5 chore(CommunityColumnView): fix typo 2024-04-11 10:39:55 -04:00
Michał Cieślak
2ee103a17c chore(Communities/InDropdown): performance improved
- removed multiple filtering separately for each category
- no instantiation of all delegates up front (regular ListView approach
  used)
- fixed category selection when filtering - selecting/deselecting only
  items fulfilling search criteria
- significant simplification of the code

Closes: #14275
2024-04-11 10:39:55 -04:00
Michał Cieślak
bc878be2a7 feat(StatusQ/LeftJoinModel): Add init check on componentComplete
Earier attempts to initialize proxy may fail bc left/right models
may be not ready when they are set. It may lead to a situation where
the model remains uninitialized and reporint 0 row count.
2024-04-11 10:39:55 -04:00
Michał Cieślak
76827265f8 feat(StatusQ/LeftJoinModel): Add possibility to explicitly define roles to be joined
The new property is added to allow indicating which roles from the right
model should be used. It prevents from unnecessary renamings.

Closes: #14298
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
90840a486c chore(SharedAddressesPermissionsPanel): optimize the speed
- don't use the expensive `ExpressionFoo` in SFPM, just use
`AnyOf/AllOf` combinations where possible
- in HoldingsSelectionModel, don't call the `getTokenByKey` twice to
construct the `text`, once is enough
- lastly, rewrite the JS helper `PermissionsHelpers.getTokenByKey` to
C++; this method gets called recursively way too often from many places

In the longterm, we should provide a specific C++ transformation model
for SharedAddressesPermissionsPanel to follow the UI requirements more
closely; that way we'd be able to fix the issues here for good

Fixes #14276
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
c193cd9fc3 chore: fix double permissionsModel preparation
we already build it anyway in the Popups.qml when opening the community
intro dialog in all the flows
2024-04-11 10:39:55 -04:00
Igor Sirotin
1a0bcd104d fix: permissions with value>1000 2024-04-11 10:39:55 -04:00
Lukáš Tinkl
1fc6e1f26b 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-11 10:39:55 -04:00
Lukáš Tinkl
c61eeb90ea chore(SharedAddressesPermissionsPanel): use FastExpressionFilter
- speed up the construction of the permissions overview panels
2024-04-11 10:39:55 -04:00
Andrey Bocharnikov
4ce61f7ab1 fix(Permissions): tokenOwner is present in the list of collectibles when adding a permission
fixes #13561
2024-04-11 10:39:55 -04:00
Michał Cieślak
e3028ffd28 feat(SharedAddressesAccountSelector): Support for collectibles in account's delegate tags
Closes: #14102
2024-04-11 10:39:55 -04:00
Michał Cieślak
0791cccf85 feat(GenericListView): reinitialize on model reset and handle delayed roles initialization 2024-04-11 10:39:55 -04:00
Lukáš Tinkl
e044dfcf57 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-04-11 10:39:55 -04:00
Noelia
fda0eaa915 fix(CancelCommunityMembership): Added popup instead of directly cancelling request
- Added dialog instead of calling directly to the cancel method.
- Updated `Cancel` button format according to figma in `CommunityMembershipSetupDialog`.

Closes #14097
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
4b22035602 fix: consider TM when evaluating permissions to join
seems like this check had gone missing
2024-04-11 10:39:55 -04:00
Sale Djenic
803f334959 fix(general): when biometric is setup the authentication flow is not correct showing the password one instead
Closes #14173
2024-04-11 10:39:55 -04:00
Sale Djenic
6dfc291105 fix(communities): when only keycard accounts selected (and 1 keycard), authentication is not triggered
Closes #14175
2024-04-11 10:39:55 -04:00
Sale Djenic
e2e72f0b0c fix(communities): keycard authentication marked automatically as authenticated
Closes #14174
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
af88cf2ef9 fix(JoinCommunity): Merge issues solved and channel hidden logic fixed
- Removed function in merge while it's still needed.
- Modified logic when channels hidden to take into account also `viewOnly` permission cases.
2024-04-11 10:39:55 -04:00
Noelia
4483eded3c fix(JoinCommunity): Add missing state ONLY private permissions and NOT MET (#14164)
* fix(JoinCommunity): Add missing state ONLY private permissions and NOT MET

- Modified `becomeMemberModel` in store to provide all member permissions.
- Modified permissions model filter to only discard  permissions that are private and NOT met.
- Updated `storybook/PermissionsModel` with new only private permissions and added new model option in corresponding pages.

Closes #14104

* fix(JoinCommunity): Text position when all channels hidden

Updated text position when `allChannelsAreHiddenBecauseNotPermitted` in community join process
2024-04-11 10:39:55 -04:00
Mykhailo Prakhov
a68559ba90 fix: set correct permision UI 2024-04-11 10:39:55 -04:00
Lukáš Tinkl
76a76dcf4d fix(Shared Addresses): Requirements check pending indicator
- update shared addresses dialog to avoid small jumps when
selecting/unselecting accounts due to requirements check text displayed
- display the pending text and spinner next to the Permissions header

Fixes #14103
2024-04-11 10:39:55 -04:00
Michał Cieślak
e728084e4c fix(CommunityJoiningAndAddressSharingDialog): Intro text width fixed 2024-04-11 10:39:55 -04:00
Michał Cieślak
e6974f21a3 chore(Communities): CommunityIntroDialog renamed to CommunityMembershipSetupDialog
Closes: #14144
2024-04-11 10:39:55 -04:00
Michał Cieślak
26e8ff9ca3 chore(CommunityIntroDialog): Fix storybook page 2024-04-11 10:39:55 -04:00
Noelia
fa781a9340 fix(JoinCommunity): Join CTA labelling: Change text and remove existing icon
- Change text and remove existing icon.
- Removed unnecessary property `loginType` on different files.
- Renamed signals to be more accurate with existing requirements.

Closes #14098
2024-04-11 10:39:55 -04:00
Lukáš Tinkl
85645ff66d fix: can't use the Tab button in the Mint Token form
- manually setup the TAB focus chain; in the future, this should be done
properly on all new components using FocusScopes and similar

Fixes #13891
2024-04-11 10:39:55 -04:00
Iuri Matias
35ec3e7297 release 2.28 2.28.0 2024-04-11 09:28:04 -04:00
Jonathan Rainville
053494cf93 Release 2.28.x RC6 2.28.0-rc.6 2024-04-08 16:37:47 -04:00
Patryk Osmaczko
b3c2181c54 chore: bump status-go 2024-04-08 16:36:49 -04:00