Commit Graph

7740 Commits

Author SHA1 Message Date
Lukáš Tinkl f01359de76 fix: Rename "Communities Portal" button tooltip to "Discover Communities"
Closes #8480
2023-06-27 21:33:36 +02:00
Jonathan Rainville cde6c53318 move asset and collectible rebuild to communities module 2023-06-27 09:54:23 -04:00
Jonathan Rainville 28fa8271a6 feat(communities): update communities token list on token deploy
Fixes #11125

Updates the communities asset and collectibles lists when a new token is deployed.
Also refactors the section module to remove all that code and use the communities token list instead.
Adds community ID to the token list model so that we can show only the global tokens and the tokens from the community are shown in the community
2023-06-27 09:54:23 -04:00
Sale Djenic 961764e3a8 fix(@desktop/onboarding): Keycard -> Factory reset button is not calling any action
Fixes: #11256
2023-06-27 15:11:53 +02:00
Alex Jbanca bf62ef0366 fix(accountDerivation): App is crashing when the account derivation fails in status-go
The crash is caused by missing `derivedAddresses` property on the response of fetchDerivedAddresses task
2023-06-27 14:53:58 +03:00
Jakub Sokołowski 8febd4d53d
ci: bump client build retries to 20
10 is just not enough

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-27 13:37:52 +02:00
Pascal Precht d38ca1b71e feat: use last know channelPermissionResponse data in UI
This commit makes use of the newly introduced APIs added in

https://github.com/status-im/status-go/pull/3657

The idea is that clients can retrieve the last known channel permission
state from the database make use of the in the UI, before waiting for an
async onchain check to finish.

Closes #11156
2023-06-27 12:52:18 +02:00
Lukáš Tinkl 62fec738a1 [Mint Token] Automatically switch the typed text to uppercase in symbol input
allow uppercase ASCII only input, up to 6 characters

Fixes #11201
2023-06-27 12:35:41 +02:00
Anastasiya Semiankevich 26c4eaa75b chore(@e2e_tests): disable test for hiding w/o accounts
Hide/show w/o accounts button should not hide/show accounts but should reflect the total balance. This will be implemented in the app soon and the test has to be re-written to handle that
2023-06-27 13:35:25 +03:00
Pascal Precht 7b9c78b843 fix: don't allow admins to kick or ban admins
This hides the action items to kick or ban users if they happen to be
admins. There's also a change in status-go that prevents admins to kick
or ban other admins that has to land first here:

https://github.com/status-im/status-go/pull/3666

Closes #10936
2023-06-27 12:13:29 +02:00
Alex Jbanca 56b616f38b fix(DOtherSide): Crash when a QSortFilterModel is collected by nim GC
QSortFilterModel can be used as sourceModel in proxy models. Proxy models rely on receiving the `QObject::destroyed` event when the source model is destroyed to clean the internal data.
Calling `QObject::disconnect` will also disconnect any connections to the `QObject::destroyed` event leaving dangling pointers in the proxy models.
2023-06-27 10:25:06 +03:00
Jonathan Rainville e201499994 fix(main/view): remove activeSectionChanged signal that crashes 2023-06-27 10:25:06 +03:00
Jonathan Rainville 20afd728fa fix(community_tokens/service): fix crash when receiving bad event
Fixes #11176
2023-06-27 10:25:06 +03:00
Anthony Laibe 31aca3ac35 feat(@wallet): Sort account by position 2023-06-26 22:21:20 +02:00
Jakub Sokołowski a5ba253730
ci: retry nim_status_client build 3 times
This is a temporary stop-gap fix for a known linux build issue:
https://github.com/status-im/infra-ci/issues/88

Since currently this issue is very hard to reproduce and there is no
good solution in sight this should minimize the pain caused by it.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-26 20:00:46 +02:00
Lukáš Tinkl 1eeb1a34f9 chore: drop NumberPolyfill
it is no longer used from anywhere and we now have a much better and more
flexible LocaleUtils
2023-06-26 17:17:59 +02:00
Pascal Precht 04183a6271 fix: don't cause a wrong redirect when performing community admin
actions

Fixes #11146
2023-06-26 16:27:05 +02:00
Lukáš Tinkl 068449c04c chore: update English TS files 2023-06-26 15:07:38 +02:00
Michał Cieślak 9f262a648c chore(CommunityTokensMinting): TokenObject - property-by-property assignment removed, retry flow simplified
Closes: #11050
2023-06-26 10:01:14 +02:00
Michał Cieślak 8cd6de5013 chore(StatusQ/Utils): return StackView's push/pop return values from push/pop methods in StackViewStates
It allows to access pushed/popped items when using StackViewStates for
managing StackView.
2023-06-26 10:01:14 +02:00
Michał Cieślak 3a801955e8 chore(CommunityTokensMinting): TokenObject usage refactored
AssetObject and CollectibleObject removed to avoid distinguishing
between those two types in many places.
2023-06-26 10:01:14 +02:00
Khushboo Mehta c47140a406 feat(@desktop/wallet): Wallet accounts - Account List
fixes #11189
2023-06-23 16:55:36 +02:00
Lukáš Tinkl 620c7a746d feat(Settings/Communities): implement new communities list
Closes #11145
2023-06-23 16:48:26 +02:00
Anastasiya Semiankevich 9df6e68a77 chore(@CommunityNewTokenView.qml): add validation for decimal points input 2023-06-23 16:38:04 +03:00
Anastasiya Semiankevich b0a48f35ee chore(@CommunityNewTokenView): placeholder should differ depends on view
different placeholders for Asset and Collectibles view per figma
2023-06-23 15:09:25 +03:00
Boris Melnik cdac45010a feat(communities): Adds mute community intervals
Fixes: #9369
2023-06-22 20:46:33 +03:00
Khushboo Mehta 9be598ee32 fix(@desktop/wallet): Activity UI filtering improvements
1. Handling case where filters result in no results
2. Fixed period filter
3. Used recipient model from go side
2023-06-22 17:49:02 +02:00
Lukáš Tinkl ae9a52397c fix: broken validation in Total finite supply field
do not try to assign `supply` value in case of error

Fixes #11122
2023-06-22 17:17:06 +02:00
Lukáš Tinkl bb7f744c57 fix: [Mint Token] Update supply validation rule text
Fixes #11190
2023-06-22 17:17:06 +02:00
Lukáš Tinkl ee8df8357a fix: Center collectible artwork field horizontally
Fixes #11187
2023-06-22 17:17:06 +02:00
Stefan eb0406b556 feat(wallet) api to retrieve last activity timestamp
Bumps status-go to include the new API endpoint.

Integrate the new API endpoint with the ActivityFilterPanel.

Closes #11169
2023-06-22 15:53:11 +02:00
Pascal Precht bea4c8c2ad fix: ensure view-and-post permissions are hidden when satisfied
This has slipped through during rebase.
We don't want to show the list of permissions to be fullfilled if they
are already satisfied
2023-06-22 12:53:39 +02:00
Noelia 1d086a9a65 fix(MintToken): 0/1 remaining label shown for a token with infinite supply
Fixes #11208
2023-06-22 12:17:34 +02:00
Noelia a671f7a9f8 fix(MintToken): Change remotely destruct text in summary view
Fixes #11199
2023-06-22 12:17:34 +02:00
Noelia 9b5efd59ef fix(MintToken): Footer options must be disabled in some cases
- Footer options must be disabled until minting process is completed.

- Airdrop footer option must be disabled if not available tokens to airdrop.

- Remotely destruct footer option must be disabled if no hodlers.

Fixes #11198
2023-06-22 12:17:34 +02:00
Noelia 6edfa002d2 fix(Airdrop): Airdrop item not inserted correctly
- After a rebase, signal properties were modified incorrectly.

- Also added protection to not push into the stack the same state more than ones and reset holdings model each time it is set.

Fixes #11147
2023-06-22 12:17:34 +02:00
Noelia 25b4f1a269 fix(MintToken): Can't get fees to remotely destruct tokens
After a rebase, signal parameter names were renamed incorrectly.

Fixes #11149
2023-06-22 12:17:34 +02:00
Noelia 57961c2b11 fix(storybook): Fixed model property names after backend changes
Updated `remainingTokens` property name to `remainingSupply`.
2023-06-22 12:17:34 +02:00
Alex Jbanca b128ed3ec1 fix: Mint tokens view - exclude watch accounts from accounts dropdown 2023-06-22 12:16:45 +03:00
Alex Jbanca 581ba8541b fix: Community permissions and tokens view horizontal scrolling 2023-06-22 10:02:59 +03:00
Dario Gabriel Lipicar d5d4bba374 fix(@wallet): use fixed activity type from backend
Part of #11080
2023-06-22 08:54:45 +02:00
Jakub Sokołowski 73d5206160 ci: add missing platform tools from VS build tools
Fixes this failure:
```
error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found.
To build using the v141 build tools, please install Visual Studio 2017 build tools.
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-21 15:19:21 +02:00
Jakub Sokołowski ec2c6dd8ea ci: install vcredist2022 as 2019 has been removed
See this PR for details:
https://github.com/ScoopInstaller/Extras/pull/11357

Also check if `exras` bucket already exists.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-21 15:19:21 +02:00
Jakub Sokołowski 574300e6ac ci: fix installation of windows build dependencies
If we don't installe Go separately this is what happens:
```
PS C:\Users\jenkins> scoop install --global 7zip git dos2unix findutils wget rcedit inno-setup make cmake gcc go@1.20.4
Couldn't find manifest for 'C:\Users\admin\scoop\buckets\main\bucket\go.json7zip git dos2unix findutils wget rcedit inno-setup make cmake gc
```
Seems like some kind of parsing issue with providing a version.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-21 15:19:21 +02:00
Alex Jbanca ef837a9c9c fix(StatusQ): Dynamic width calculation for StatusMenu 2023-06-21 14:42:00 +03:00
Stefan 2ba9680316 feat(wallet): filter activity by ERC20
Refactor code to use the token identity instead of token code
Removed the debugging activity view as now we have the API integrated
in the history view
Fixed the activity type in the activity entry

Closes: #11025
2023-06-21 11:49:02 +02:00
Lukáš Tinkl ecc1b5316f fix: community context menu should not say "Leave community" if not joined
- get rid of the `amISectionAdmin` for good (was done only partially in
82a1ed2f7a)
- fix the corresponding storybook pages

Fixes #10963
2023-06-21 11:17:13 +02:00
Alex Jbanca d79a93bb6a fix: InDropdown scrollable height 2023-06-21 09:54:43 +03:00
Michał Cieślak 75e2fff7c0 chore(Storybok): Inspection tool - more readable component names 2023-06-20 23:26:21 +02:00
Michał Cieślak 2663d4a4c2 feat(Storybok): Inspection tool - better selection of parent item to draw auxiliary lines 2023-06-20 23:26:21 +02:00