diff --git a/web-wallet/CHANGELOG.md b/web-wallet/CHANGELOG.md index c25d63f19..b6ac1a99d 100644 --- a/web-wallet/CHANGELOG.md +++ b/web-wallet/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Add "Reset Wallet" explanatory copy (Settings) [#3061] + ### Changed - Update Transactions list design [#1922] @@ -377,6 +379,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#3036]: https://github.com/dusk-network/rusk/issues/3036 [#3042]: https://github.com/dusk-network/rusk/issues/3042 [#3056]: https://github.com/dusk-network/rusk/issues/3056 +[#3061]: https://github.com/dusk-network/rusk/issues/3061 diff --git a/web-wallet/src/routes/(app)/settings/+page.svelte b/web-wallet/src/routes/(app)/settings/+page.svelte index 85c842286..6845f0e9e 100644 --- a/web-wallet/src/routes/(app)/settings/+page.svelte +++ b/web-wallet/src/routes/(app)/settings/+page.svelte @@ -175,22 +175,30 @@
-

Danger zone

+

Reset wallet

- -
diff --git a/web-wallet/src/routes/(app)/settings/__tests__/__snapshots__/page.spec.js.snap b/web-wallet/src/routes/(app)/settings/__tests__/__snapshots__/page.spec.js.snap index f2f9ae53f..8e15ff7ac 100644 --- a/web-wallet/src/routes/(app)/settings/__tests__/__snapshots__/page.spec.js.snap +++ b/web-wallet/src/routes/(app)/settings/__tests__/__snapshots__/page.spec.js.snap @@ -482,44 +482,55 @@ exports[`Settings > Resetting the wallet > should show an error if clearing loca

- Danger zone + Reset wallet

-
- - An error occurred while resetting the wallet. Please try again. - +

+ Resetting your wallet clears the cache and restores default settings + without affecting your funds or transaction history. You’ll need your + mnemonic phrase to restore access, so ensure it’s securely stored + before proceeding. +

-
-          			
-          Clear data error
-          
+          
+            An error occurred while resetting the wallet. Please try again.
+          
+           
+          
+            			
+            Clear data error
+            
 		
-        
-
- - - + + Reset Wallet + + + @@ -1007,26 +1018,37 @@ exports[`Settings > should render the settings page displaying the status of the

- Danger zone + Reset wallet

- - - + + Reset Wallet + + + @@ -1514,26 +1536,37 @@ exports[`Settings > should render the settings page displaying the status of the

- Danger zone + Reset wallet

- - - + + Reset Wallet + + +