Commit Graph

4535 Commits

Author SHA1 Message Date
Sale Djenic 09ebcf7750 fix: fixed issue with no fees when minting community token 2024-08-22 13:59:00 +02:00
Lukáš Tinkl 2bfa6bbf2a
feat(Settings/Privacy and security): add Privacy Policy popup (#16171)
- mention the "Privacy Policy" document in the text explaining "Help us
improve Status", make a link to it and display it in a separate popup
- add a standalone header button to the settings page, doing the same
- extend storybook page with the "placement" param

Fixes #16157
2024-08-21 11:17:20 -04:00
Lukáš Tinkl 73f44cb82a
[CHERRY-PICK] chore(Settings/About): update Privacy Policy document (#16160)
* chore(links): do not open confirmation for "mailto:" links

- the domain for those is empty anyway

* chore(Settings/About): update Privacy Policy document

- change the section names and titles accordingly too
- open embedded links with an external browser
2024-08-20 11:42:31 -04:00
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
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
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
Cuteivist 41b26e2094
fix(wallet): Don't reset wallet view after filter change (#15997) (#16058) 2024-08-09 13:17: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
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
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 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
Michał Cieślak 39d533acd4 fix(Wallet/SendModal): Using community assets in SendModal unblocked
Closes: #15766
2024-08-06 10:48:30 -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 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
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
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
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
Cuteivist 96bb510849
fix(wallet): Constrain token name size to send modal width (#15859) (#15910) 2024-07-31 13:33:50 -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
Jonathan Rainville 31bc87b63d
fix(profile): fix canceling modifications in the profile (#15905)
Fixes #15904
2024-07-30 17:27:13 -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
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
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
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
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
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
Stefan f6ae5ceabe fix(dapps) Wallet Connect url validation
The static url validation state `Pairing.errors.ok` was directly
responsible for the validation action in UX. With current change
the validation is now based on the pairing response. When the
pairing response is received the UX is validated and after half second
UX is moved to the approval process (`ConnectedDAppModal`)

Closes: #15591
2024-07-25 12:55:29 +02:00
Stefan 597d4bac9f fix(dapps) unsupported protocol Wallet Connect corner case
We have no easy way to check the protocol and provide a customized
error message. Therefore we generalizes the error message to network
not supported.

Closes: #15649
2024-07-25 12:55:29 +02:00