Commit 1d85b91
authored
feat: Add search functionality to the Multichain Account List page (#35616)
## **Description**
This PR adds search functionality implementation for the Multichain
Account List.
Notes:
- Improvement for hiding wallet header for singular wallet is added (it
was initial requirement for the list).
- Create new account button is removed in search mode, as it doesn't
make much sense to create account which name will be filtered already
(not visible).
[](https://codespaces.new/MetaMask/metamask-extension/pull/35616?quickstart=1)
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry: Added search functionality to the Multichain Account
List
## **Related issues**
Fixes: https://consensyssoftware.atlassian.net/browse/MUL-370
## **Manual testing steps**
1. Go to multichain account list page while multichain state 2 feature
flag is enabled.
2. Test search by typing account names in the search bar.
## **Screenshots/Recordings**
### **Before**
Search was not available before. Nothing to show here.
### **After**
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 25 22"
src="https://github.com/user-attachments/assets/ed2d682d-2a31-488d-8ab6-0a8edf703570"
/>
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 25 40"
src="https://github.com/user-attachments/assets/1c0faaf4-51b6-473d-ace8-02a07df9e12a"
/>
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 26 43"
src="https://github.com/user-attachments/assets/3ade76ca-304a-4b13-9962-a2745c66f50d"
/>
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 25 02"
src="https://github.com/user-attachments/assets/70e1ab83-6a12-4293-b8d0-f5190bac9930"
/>
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 26 02"
src="https://github.com/user-attachments/assets/3b782a0e-3722-40ae-8724-b3e251f6b8ef"
/>
<img width="398" height="602" alt="Screenshot 2025-09-04 at 12 26 34"
src="https://github.com/user-attachments/assets/01d5dcd1-6c0a-4fc6-841e-780c817756e0"
/>
https://github.com/user-attachments/assets/84ad68a1-4445-4d2a-bc5e-99bacdb63741
## **Pre-merge author checklist**
- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.1 parent d6c4d26 commit 1d85b91
File tree
8 files changed
+323
-56
lines changed- app/_locales
- en_GB
- en
- ui
- components/multichain-accounts/multichain-account-list
- pages/multichain-accounts/account-list
8 files changed
+323
-56
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
156 | 172 | | |
157 | 173 | | |
158 | 174 | | |
| |||
237 | 253 | | |
238 | 254 | | |
239 | 255 | | |
240 | | - | |
| 256 | + | |
241 | 257 | | |
242 | 258 | | |
243 | 259 | | |
| |||
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
147 | | - | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
156 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
| |||
165 | 173 | | |
166 | 174 | | |
167 | 175 | | |
| 176 | + | |
| 177 | + | |
168 | 178 | | |
169 | 179 | | |
170 | 180 | | |
| |||
Lines changed: 90 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 33 | | |
68 | 34 | | |
69 | 35 | | |
| |||
76 | 42 | | |
77 | 43 | | |
78 | 44 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 45 | + | |
82 | 46 | | |
83 | | - | |
| 47 | + | |
84 | 48 | | |
85 | 49 | | |
86 | | - | |
87 | | - | |
| 50 | + | |
| 51 | + | |
88 | 52 | | |
89 | 53 | | |
90 | 54 | | |
| |||
110 | 74 | | |
111 | 75 | | |
112 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
113 | 158 | | |
0 commit comments