From 04094dfa2565d45ea68676a77b3901bef94a0979 Mon Sep 17 00:00:00 2001 From: Norton Andreev Date: Sat, 21 Dec 2024 16:56:22 +0200 Subject: [PATCH] web-wallet: Prioritize Public Account in the interface Resolves #3259 --- web-wallet/CHANGELOG.md | 4 + .../lib/components/Allocate/Allocate.svelte | 28 +++---- .../src/lib/components/Balance/Balance.svelte | 16 ++-- .../lib/components/__tests__/Balance.spec.js | 8 +- .../__snapshots__/Balance.spec.js.snap | 64 +++++++-------- .../__snapshots__/layout.spec.js.snap | 80 +++++++++---------- .../__tests__/__snapshots__/page.spec.js.snap | 16 ++-- .../(app)/dashboard/receive/+page.svelte | 12 +-- .../__tests__/__snapshots__/page.spec.js.snap | 38 ++++----- .../dashboard/receive/__tests__/page.spec.js | 16 ++-- .../routes/(app)/dashboard/send/+page.svelte | 2 +- .../__tests__/__snapshots__/page.spec.js.snap | 2 +- .../dashboard/send/__tests__/page.spec.js | 10 +-- 13 files changed, 150 insertions(+), 146 deletions(-) diff --git a/web-wallet/CHANGELOG.md b/web-wallet/CHANGELOG.md index d0205b62fd..8428c17f4b 100644 --- a/web-wallet/CHANGELOG.md +++ b/web-wallet/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update Transactions list design [#1922] +- Prioritize Public Account in the interface and transaction flows [#3259] ### Removed @@ -23,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix wrong error shown in the login screen [#3226] [#3097] - Fix wallet not waiting for the Wasm to load at startup [#3238] +- Fix Public address icon in Receive flow [#3259] +- Fix Public account icon hover text (Balance component) [#3259] ## [0.10.1] - 2024-12-18 @@ -474,6 +477,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#3226]: https://github.com/dusk-network/rusk/issues/3226 [#3238]: https://github.com/dusk-network/rusk/issues/3238 [#3245]: https://github.com/dusk-network/rusk/issues/3245 +[#3259]: https://github.com/dusk-network/rusk/issues/3259 diff --git a/web-wallet/src/lib/components/Allocate/Allocate.svelte b/web-wallet/src/lib/components/Allocate/Allocate.svelte index bc675af24a..f70b120dde 100644 --- a/web-wallet/src/lib/components/Allocate/Allocate.svelte +++ b/web-wallet/src/lib/components/Allocate/Allocate.svelte @@ -157,16 +157,16 @@

Edit the value to change the allocation of your Dusk between your - shielded and public accounts. + public and shielded accounts.

-

Shielded

+

Public

- + {middleEllipsis( - shieldedAddress, + unshieldedAddress, calculateAdaptiveCharCount(screenWidth, 320, 640, 5, 20) )}
@@ -174,14 +174,15 @@
-

Public

+

Shielded

- + {middleEllipsis( - unshieldedAddress, + shieldedAddress, calculateAdaptiveCharCount(screenWidth, 320, 640, 5, 20) )}
@@ -205,15 +206,14 @@