9174 Commits

Author SHA1 Message Date
Jonathan Rainville
1dfc5de878 chore: disable history archive for new user and add advanced setting
Fixes #14534
2024-05-01 09:18:33 -04:00
Jonathan Rainville
e463590a40 chore: hide create community button behind advanced setting
Fixes #14530

(includes a revert of the previous hide that wasn't exactly what we wanted)
2024-04-30 13:18:08 -04:00
Jonathan Rainville
e17782102b Revert "chore(CommunitiesPortal): change CreateCommunity to Import from Discord"
This reverts commit 05626a886e4dde17af03790f90b477c4373d53fd.
2024-04-30 13:18:08 -04:00
Lukáš Tinkl
f24420a84b feat: disable language/translations selection
- make it conditionally available for testing via
Settings/Advanced/Enable translations
- display a tooltip and infobox explaining the current and future
situation
- upon app start, force the language to "en" if the translations are not
enabled; and suggest app restart when they get disabled

Fixes #14527
2024-04-30 16:54:19 +02:00
Ivan Belyakov
8ccf3b0d59 fix(wallet): Bump status-go to include fix for bridge 2024-04-29 20:43:46 +02:00
Jonathan Rainville
05626a886e chore(CommunitiesPortal): change CreateCommunity to Import from Discord 2024-04-25 09:32:38 -04:00
Jonathan Rainville
bda8fed466 Release 2.28.1 RC3 2024-04-25 12:03:10 +02:00
Emil Sawicki
e84a33c75c fix(wallet): Fetch details 2024-04-25 11:51:01 +02:00
Anton Iakimov
ef2118873c
ci: add a combined job parameter to choose E2E git ref 2024-04-23 14:56:59 +02:00
Stefan
0da3bd141b fix(wallet): activity duplicate in case of non-native transfer
Bumps status-go to include the fix

Closes: #14071
2024-04-23 07:50:21 -04:00
Jonathan Rainville
587c0a4cf5 fix(edit): fix edits received before the message did not appear
Fixes #14479

The problem is our code assumed that we'd have the original message first, but in the case where messages are sent and edited before we open our app, when we fetch, we can't guarantee the order, so we might get the fully edited message directly from status-go.

The solution is simply to treat those messages as new messages.
2024-04-19 10:07:12 -04:00
Stefan
36d8a33935 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-19 09:40:20 -04:00
Sale Djenic
e787dce368 fix(wallet): displaying L1 gas cost in UI
Fixes #13892
2024-04-19 09:40:12 -04:00
Anastasiya Semiankevich
3d21085fc4 chore@StatusSyncCodeInput: add object names for buttons 2024-04-19 09:36:52 -04:00
Stefan
34fd4fc814 fix(wallet): update wallet assets and collectibles order on user action
Add a specific state to the saveSettings action to update the model
by reloading the data.

The previous implementation was using the same save address which
doesn't update. Either in the past there was a side effect that made it
work or it was never working.

Closes #14365
2024-04-18 14:36:52 -04:00
Stefan
d0a3b6ac55 feat(wallet) save/load collectibles user handled state in DB
Add a separation layer for save/load/clear to ManageTokensModel
so that we can save/load from external sources.
The separate layer is composed of JSON as protocol, a set of signals
and slots for interface. The implementation forwards data to current
QSettings for storybook and nim controllers for the app.

Updates #13313, #13312
2024-04-18 14:36:52 -04:00
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