-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UX: Added Account list pinning and Unpinning #21865
Conversation
ui/components/multichain/account-list-menu/account-list-menu.js
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.js
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.js
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-item/account-list-item.js
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-item-menu/account-list-item-menu.js
Outdated
Show resolved
Hide resolved
db6b4a4
to
8673c6a
Compare
f3e32b2
to
3b9e722
Compare
Builds ready [08581fc]
Page Load Metrics (1350 ± 66 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Pinning worked well but the expected behavior of when you pin a second account to top did not function as described. The second account pinned to top replaced the first pinned account as the top-most pin. I believe this may be due to account numbering. If a new pinned account has a lower account number than the top pinned account it replaces it on top and if its number is higher, it is pinned below. See attached videos: Screen.Recording.2023-12-04.at.11.45.31.AM.movScreen.Recording.2023-12-04.at.11.51.32.AM.mov |
aeae545
to
fa30093
Compare
@k-g-j @owencraston Nice shout, Have updated the logic here, also tried to address your comments in this commit @owencraston ceefd58. Also, the logic is once a new account is pinned, it will go in the bottom of the list. Example if account 1 is pinned and then account 5 is pinned and then account 3 is pinned, the list would look like: account1 then unpinned accounts. Please refer to this screencast. Screen.Recording.2023-12-05.at.2.26.38.PM.mov |
afa7237
to
94cc61f
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #21865 +/- ##
===========================================
- Coverage 67.71% 67.68% -0.03%
===========================================
Files 1061 1062 +1
Lines 41143 41214 +71
Branches 11028 11053 +25
===========================================
+ Hits 27859 27895 +36
- Misses 13284 13319 +35 ☔ View full report in Codecov by Sentry. |
Builds ready [b9cfbc9]
Page Load Metrics (1474 ± 146 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This PR is to add accounts pinning in the account list menu
Description
List management for accounts has been one of the most requested features from the community. In this iteration, we'll implement account list management through pin and unpinning accounts.
Related issues
Fixes: #20918
Manual testing steps
NETWORK_ACCOUNT_DND=1
yarn start commandScreenshots/Recordings
Before
After
Screen.Recording.2023-11-17.at.7.25.07.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist