Commit Graph

10385 Commits

Author SHA1 Message Date
Khushboo Mehta 6aeb4671cb fix(@desktop/wallet): Creating the UI flow needed to select params for making a purchase via Mercuryo 2024-08-15 18:56:18 +02:00
Dario Gabriel Lipicar d6ecc24562 feat(@desktop/wallet): integrate new onramp status-go api 2024-08-15 18:56:18 +02:00
Igor Sirotin 395f0e515b
chore_: allow disabling http/ws api from cli (#16118) (#16126)
* chore_: allow disabling http/ws api from cli

* ci: add env vars to prevent autotests hitting 8545 (#16120)

* chore: increase timeout for saved addresses test

* ci: add env vars to prevent autotests hitting 8545 port

---------

Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2024-08-15 10:43:48 -04:00
Khushboo Mehta bfc5e7fcc1 fix(@desktop/wallet): Fixing missing changes in WalletUtils missed when cherrypicking https://github.com/status-im/status-desktop/pull/15865/files 2024-08-15 11:02:48 +02:00
Khushboo Mehta 8050d2b274 fix(@desktop/wallet): Fix register ENS flow which is currently broken 2024-08-15 11:02:48 +02:00
Jonathan Rainville d61aece5ff Release 2.30 RC8 2024-08-14 20:59:56 -04:00
Jonathan Rainville e2efef75f2 chore(status-go): up status-go to latest release commit 2024-08-14 20:59:32 -04:00
Jonathan Rainville 6cd9fa91e8
Make the getENSName calls async (#16099)
* wip: make the getENSName calls async

* fix: login to the app takes forever

Resolving ens name sometimes, most likely due to network congestion can be really slow,
that results in slow app loading, especially if user has more accounts, cause the app checks
ens name existence for each account.

This PR does that check in an async way.

Fixes #16086

* chore: async check for ens name existence when adding new accounts

---------

Co-authored-by: Sale Djenic <aleksandardjenic@status.im>
2024-08-14 13:25:42 -04:00
Jonathan Rainville c63c114e5c Release 2.30 RC7 2024-08-12 14:55:12 -04:00
Jonathan Rainville 5b18735b4d chore(status-go): up status-go to latest release branch 2024-08-12 14:54:51 -04:00
saledjenic 5054d2963d
fix: keycard signing integration into wallet connect flows (#16083)
Fixes: #15957
2024-08-12 14:46:54 -04:00
saledjenic 7dc08731f4
fix: checksum validation (#15915)
* feat: checksum validation added to adding saved addresses

Fixes: #15772

* feat: checksum validation added to adding watch only address

Fixes: #15779
2024-08-12 13:56:54 -04:00
Lukáš Tinkl 63076e6ecc
fix(chat): Button to go to the latest message is barely visible on dark theme (#16071)
- unify bg color, use white as fg color, add drop shadow according to
Figma
- fixup the hover color intensity

Fixes #13771
2024-08-12 13:56:26 -04:00
Lukáš Tinkl 606c13e482
fix(SendModal): hide the Custom network mode in production (#16072)
* chore(StatusBetaTag): make fg color configurable

* chore(StatusSwitchTab*): simplify and make the beta tag highlighted

- make the StatusBetaTag highlighted when used inside an active/checked
StatusSwitchTabButton
- simplify the components, get rid of MouseArea just for the sake of
setting the cursorShape

* fix(SendModal): hide the Custom network mode in `production`

- manage the lifetime of the Custom tab button dynamically; setting the
tab button to `visible: false` doesn't unfortunately remove it from the
tab bar

Fixes #16052
2024-08-12 13:55:35 -04:00
saledjenic 1231660855
chore: display generic error returned from the router (#16078) 2024-08-12 13:54:42 -04:00
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