Commit Graph

10370 Commits

Author SHA1 Message Date
Alex Jbanca 24a386d078 fix(WalletConnect): Fixing crash on authentication screen when the app resumes from a few minutes of inactivity
The root cause in this case was the usage of js stored QObjects coming from the model.
2024-08-12 17:13:59 +02:00
Alex Jbanca 21227893c2 fix(WalletConnect): dApp connection state presented in the UI is out-of sync
1. The DAppsListProvider needs to receive all the user accounts so that it can process all dapps the user is connected to (the dapps filtering based on selected account is an internal impl. detail)
2. Call `revokeSession` on disconnect only if the dapp cannot be found in the WC active sessions. There is some overlapping between Browser connector and Wallet connect because both operate on the same data stored in the DB. If Browser connector controller removes WC data, the WC disconnect flows cannot be successfully completed.
3. Reuse the same notification flow for Browser connector as it's used for WC
4. Fix dapp filtering when processing the dapps that will be displayed in the UI.
2024-08-12 17:13:59 +02:00
Anastasiya 6edabc3c8e
ci: run E2E as soon as linux stage is complete (#16069)
Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-08-12 09:23:13 -04:00
Cuteivist 41b26e2094
fix(wallet): Don't reset wallet view after filter change (#15997) (#16058) 2024-08-09 13:17:16 -04:00
Iuri Matias 11b66a43d7 release candidate 2.30.0 RC 6 2024-08-09 12:06:16 -04:00
dlipicar f21f66099c
feat(@desktop/wallet): handle Paraswap price impact error (#16045)
Fixes #15542
2024-08-09 11:00:58 -04:00
saledjenic e4ddfa4042
fix: tx fails if the bonder fee is higher than the amount being sent (#15932)
Closes #15922
2024-08-09 10:58:14 -04:00
Anastasiya 2f346549a5
ci: use current branch as git ref for E2E tests (#16057)
In this PR we get rid of `E2E_GIT_REF` parameter which would default to master or whatever value is set in CI.
We instead just rely on `env.BRANCH_NAME` to run E2E tests on the same branch the build on CI is generated from.

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-08-09 10:51:38 -04:00
Khushboo-dev-cpp d8ec7af414
feat(@desktop/wallet): [Cherry-Pick] Swap:: Added text that links to Paraswaps terms and conditions page (#16042) 2024-08-08 13:13:28 -04:00
saledjenic 0647c1e204
feat: some limits for wallet section (#16031)
Added limitations:
- allowed adding of max 20 accounts
- allowed adding of max 3 watch only accounts
- allowed adding of max 5 key pairs (including the profile key pair)
- allowed adding of max 20 saved addresses per mode

Closes #15934

* feat: limits applied when running keycard flows that add new key pairs/accounts
2024-08-08 11:27:12 -04:00
Anastasiya eb128d6a97
chore: make tests running for dev build and update marks (#16033) 2024-08-08 11:25:10 -04:00
Michał Iskierko 111fd63035
feat(@desktop/metrics): send basic metrics (#15803)
Issue #15737
2024-08-08 09:41:16 -04:00
Michał Cieślak 28de8375eb fix(CollectiblesView): Workaround for crash when hiding collectibles
In some rare cases hiding collectibles was causing segfault, related to
checking if all timestamps are available. Combination of 2 SFPMs with
the same source and Aggregator working on those models. Additionally
filters/sorters were depending on the Aggregator value. The minimal
crashing sample has been isolated to be investigated in a separate
ticket. In this commit aggregator's value is applied in a deferred way
via Qt.callLater, fixing the issue.

Closes: #15775
2024-08-08 07:35:40 -04:00
Michał Cieślak f57864c46b fix(ManageTokensController): Emit revision change after loading settings 2024-08-08 07:35:40 -04:00
Michał Cieślak 98cacb2d4a Wallet: swap/bridge buttons visibility adjusted
Closes: #15952
Closes: #15931
2024-08-08 07:35:36 -04:00
Anthony Laibe e998262379 fix(@wallet): enable eth bridging
fixes #16018
2024-08-08 07:35:30 -04:00
Godfrain Jacques 34ddfbf53a
feature(connector)_: Add model join to handle connected dApps (#15954) (#16006)
* feature(connector)_: Add model join to handle connected dApps (#15954)

* feature(connector)_: Add model join to handle connected dApps

* Fix review comments

* chore: bump status-go

* chore: bump status-go to latest
2024-08-07 15:55:03 -04:00
Igor Sirotin 767215e6e4
fix: change rpc host to localhost (#16003) 2024-08-06 16:04:51 -04:00
Michał Cieślak 39d533acd4 fix(Wallet/SendModal): Using community assets in SendModal unblocked
Closes: #15766
2024-08-06 10:48:30 -04:00
Anton Danchenko f57dd4332e
test: set screen 2560x1440x24 (#15999) 2024-08-06 10:43:37 -04:00
Anton Danchenko 903177b8db
tests: rework e2e tests according to product changes (#15990) (#16000)
* tests: rework e2e tests according to product changes
2024-08-06 10:34:33 -04:00
Alex Jbanca 12eda28c08 fix(WalletConnect): Fixing fees parsing when provided by the dApp 2024-08-06 08:22:33 -04:00
Alex Jbanca 5e4a72ade5 chore(E2E): Skip tests on watch only accounts 2024-08-06 08:22:25 -04:00
Alex Jbanca a5e534ac16 fix: Remove possibility to add watch accounts on release 2024-08-06 08:22:25 -04:00
Alex Jbanca 8e22459e63 fix(WalletConnect): Fixing disconnect notifications
The disconnect notifications were operating on `WalletConnectService.currentSessionProposal`. This object stores the current session object on connect, but it's not necessarily the same session the user wants to disconnect.
To fix this I'm getting the active sessions from status-go when the disconnect request is received (from Status or dapp). If the topic matches to any connection topic owned by the users accounts we'll show a notification.
2024-08-06 08:22:16 -04:00
Jonathan Rainville 4328e9a711 Release 2.30 RC5 2024-08-05 16:15:32 -04:00
Jonathan Rainville 50dbd8431f chore: bump status-go to latest 2024-08-05 16:14:42 -04:00
Mikhail Rogachev 7a044025f6
chore: bump status-go (#15882) 2024-08-05 16:09:36 -04:00
Roman Chornii 11d7ad83a6
fix(dApps): Improved handling of connected dApps. (#15877)
1. Hiding DApps button on not supported wallet account selection
2. Filtering DApps in connected dApps list based on account selection

closes: #15589
closes: #15647
2024-08-05 14:18:26 -04:00
Lukáš Tinkl 85a88a77ed
fix: Add additional information to the Beta tags (#15988)
- display additional beta information as a tooltip
- don't overlap the Beta badge with the unread msg indicator
- some minor cleanups & fixes

Fixes #15795
Fixes #15929
2024-08-05 14:15:27 -04:00
saledjenic 1b15a1f12e
fix: suggestion given by the Router doesn't suggest chain the user has positive balance on (#15968)
Fixes #15948
2024-08-05 14:09:12 -04:00
Anastasiya 4a6b622458
fix(wallet)_: Disable send button on router errors & visually indicate gas issues (#15950)
* Disable the send button when the router returns errors.
 * Display a red arrow on networks lacking sufficient gas for the transaction.

Closes #15700 #15701

Co-authored-by: belalshehab <belal@status.im>
2024-08-02 14:03:30 -04:00
Lukáš Tinkl cf5b712306
fix(Wallet): Hiding assets from wallet's main view doesn't work (#15960)
- partially reuse the already available Global/Popups methods to hide
assets (which also emit proper notifications); those are needed as
anotehr shared modal from Popups uses it too (may come from outside of
Wallet)
- some warnings cleanup in the controller

Fixes #15777
2024-08-02 14:03:17 -04:00
Lukáš Tinkl 5a3c154811
fix: inconsistent/incorrect decimal value formatting (#15963)
- format Big decimal numbers correctly according to the current locale;
some precisions loss is tolerated here for the display purposes
- fixes wrong decimal separators in some places and aligns with the
standard in terms of number of decimals, as everywhere else in the app

Fixes #15612
Fixes #15790
2024-08-02 13:41:44 -04:00
Belal Shehab 29a776114e
fix(wallet): Disable adding new watch-only accounts (#15970)
closes: #15933

Co-authored-by: belalshehab <belal@status.im>
2024-08-02 13:41:05 -04:00
Lukáš Tinkl deff78ca86
fix(SendModal): Bridge modal Simple mode's scroll is very clunky (#15976)
- remove the nested unneeded ScrollView
- cleanups and fixes in mocked models and stores to unbreak showing the
networks/routing in storybook

Fixes #15902
2024-08-02 13:38:00 -04:00
Khushboo Mehta 2f1ae5297e fix(@desktop/wallet): fix for Swap Input parameters reset when balances are reloaded
fixes #15785
2024-08-01 08:41:52 -04:00
Jonathan Rainville 7d5857f8ec Release 2.30 RC4 2024-07-31 14:25:06 -04:00
Jonathan Rainville ccf8400768 chore: bump status-go to latest release branch 2024-07-31 14:24:48 -04:00
Cuteivist 96bb510849
fix(wallet): Constrain token name size to send modal width (#15859) (#15910) 2024-07-31 13:33:50 -04:00
Cuteivist dd83653736
fix(wallet): Update preferred networks even when empty (#15841) (#15911) 2024-07-31 13:33:30 -04:00
Lukáš Tinkl 415572246d
fix(ConnectDAppModal): don't overflow texts (#15907)
- set the correct widths and elide mode
- fixup the visuals of the NetworkFilter combo box (to disable it w/o
making it look disabled)
- fix passing the connection status down to DAppCard
2024-07-31 13:32:28 -04:00
Belal Shehab 8343fe3076
fix(wallet)_: Filter non-bridgeable assets in Bridge Modal (#15924)
- Implemented a bridgeableGroupedAccountAssetsModel in WalletAssetsStore.qml to dynamically filter assets based on their bridgeability.

closes: #15697

Co-authored-by: belalshehab <belal@status.im>
2024-07-31 13:29:52 -04:00
Cuteivist 9cf9fa0470
chore(wallet): Hide Swap if cannot send (#15914) 2024-07-31 13:25:12 -04:00
Stefan Dunca 112a6f3003
Connection fixes for v2.30.x (#15921)
* chore(dapps) remove the POC wallet connect

Updates: #15598

* fix(dapps) Wallet Connect internet connection reestablishing issue

Add a new NetworkChecker QObject to StatusQ to be used in checking
internet connection status. This is used by the WebEngineLoader
to only allow loading of web pages when there is an active internet
to cover for a corner case on MacOS where the internet connection is
not reestablished if the WebEngineView was loaded without an active
internet connection.

Closes: #15598, #15806

* chore(dapps) disable eth_signTransaction for Wallet Connect

Closes: #15661
2024-07-31 13:23:39 -04:00
Khushboo Mehta ea0c4dfdca fix(@desktop/wallet): Swap modal - Pay input amount - deleting 1 decimal deletes the entire number
fixes #15818
2024-07-31 12:06:22 -04:00
Michał Cieślak d0962a3795 StatusQ/ConcatModel: flag added changing behavior on source model's reset
Closes: #15891
2024-07-31 11:11:39 -04:00
Jonathan Rainville 03d5a3ca2e
fix(notif-indicator): evaluate the notifications on app start (#15872)
Fixes #15835

Evaluate if we have notification on app start (when chats are loaded) so that the notification icon can be shown if we open the app **not** in the chat (eg in the wallet)
2024-07-31 09:59:56 -04:00
Jonathan Rainville 7560ac4d0b Release 2.30 RC3 2024-07-30 17:31:50 -04:00
Jonathan Rainville 31bc87b63d
fix(profile): fix canceling modifications in the profile (#15905)
Fixes #15904
2024-07-30 17:27:13 -04:00