Commit Graph

10399 Commits

Author SHA1 Message Date
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
Jonathan Rainville 8e7465b7b6
chore: set missing message verification and confirmation for message sent enabled by default (#15774) (#15897)
Co-authored-by: richΛrd <info@richardramos.me>
2024-07-30 17:26:51 -04:00
Jonathan Rainville 63cf416c98
chore(beta): add beta tag to pairing screens (#15873)
Fixes #15871

Adds a beta tag to the pairing screens on onboarding and settings
2024-07-30 11:33:30 -04:00
Anastasiya 972c190f65
test: community ban member steps added (#15878)
Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2024-07-30 10:48:39 -04:00
Jonathan Rainville df15057564 Release 2.30 RC2 2024-07-29 15:12:24 -04:00
saledjenic 54b82675d6
Cherry pick/needed router changes (#15865)
* chore: build the error reporting mechanism

Closes #15396

* chore: send modal adjustments

Closes #15833
2024-07-29 15:07:30 -04:00
Roman Chornii 3cad15111e
fix(dApps): improved logic for the connected dApps list to always display as many dApps as possible. (#15837)
Fixes: #15595.
2024-07-29 14:41:09 -04:00
Lukáš Tinkl 41b37def71
fix(DAppSignRequestModal): correctly compute text painted height (#15864)
- fixes text overflowing the box height

Fixes #15650
2024-07-29 14:40:32 -04:00
Khushboo-dev-cpp 77addc0b5b
fix(@desktop/wallet): Swap "Approve" button becomes enabled before Approve Tx succeeds/fails (#15858)
fixes #15784
2024-07-29 14:35:55 -04:00
Andrey Bocharnikov 0869fe5ef8
fix(wakunodes): temporarily hide "add waku nodes" in advanced settings (#15838)
Fixes #14929

Correct fix should be done as part of https://github.com/status-im/status-go/issues/5597 after dependency tasks are done

(cherry picked from commit ac04e34c21)
2024-07-29 14:29:50 -04:00
Lukáš Tinkl deaaeebb31
fix(ConnectDAppModal): add scrolling (#15854)
- wrap the contents into a scroll view and don't hardcode the height

Fixes #15592
2024-07-29 14:29:43 -04:00
Anastasiya aca39e1b6e
chore: fix link preview (#15851)
Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2024-07-29 12:53:53 -04:00
Roman Chornii d7e3af8165
fix(dApps): Improved logic for disconnecting of dApps in the app. (#15819)
Closes: #15814
2024-07-29 12:46:03 -04:00
Anastasiya 1813e1a3da
chore: removed condition for scroll, fixes issue with edit network (#15832) 2024-07-26 13:39:23 -04:00
Iuri Matias 6023f4c8f6 release candidate 2.30.0 RC 1 2024-07-25 12:21:05 -04:00
belalshehab 1aa2221834 fix(wallet)_: Temporarily disable Max Amount button pending #15709
- This commit temporarily disables the MaxAmount button in the `SwapInputPanel` and `SendModal` components.
     - The MaxAmount button will be reintroduced with the correct behavior in issue #15709 for the 2.31 release.

closes: #15710
2024-07-25 17:53:40 +03:00
Sale Djenic db77654274 fix: buying stickers doesn't work and popup may be misleading for the user
Closes: #15764
2024-07-25 10:30:31 -04:00
Sale Djenic e66b0ab0a9 fix: bridging from send modal results in bounder fee error
Fixes: #15722
2024-07-25 10:30:19 -04:00
Lukáš Tinkl 0c9d4133a8 fix(SwapModal): ErrorTag looks wrong
- wrap the ErrorTag in a Loader, and set the width from there
- added tests for the component width with/without the button

Fixes #15788
2024-07-25 15:11:29 +02:00
Roman Chornii 4bbdeba020
fix(dApps): Added default dApp icon according to the new spec. Extracting dApp name from its url, if no name is provided through walletconnect API. (#15754)
Closes #15593
2024-07-25 15:43:52 +03:00
Khushboo Mehta 7af8ede0e2 fix(@desktop/wallet): Enabled unit tests previously marked as flaky and skipped 2024-07-25 14:15:31 +02:00
Stefan 7d0e77d86f fix(dapps) emoji in wallet connect uri error
Closes: #15594
2024-07-25 12:55:29 +02:00