Commit 80a3fe6
refactor(settings): align style according new rebranding (#1675)
* refactor(settings): extract shared UI components for settings tabs
Add SettingsSectionTitle, SettingsRow, StatusBadge, and ExternalCliAlert
as reusable components. Update WrapperField line-heights to match Figma
design specs (leading-5.5 = 22px).
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): redesign general tab to match Figma spacing
Replace heading with SettingsSectionTitle, add Separators between fields,
and align spacing values (gap-3, pt-1, pb-5) to the Figma design specs.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): redesign version tab to match Figma spacing
Replace VersionInfoWrapper with SettingsSectionTitle and SettingsRow,
add Separators, and use WrapperField for the Downloads toggle to match
the Figma design structure.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): redesign logs tab to match Figma spacing
Replace heading with SettingsSectionTitle, add description text and
Separator, and use default button variant to match Figma design.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): redesign registry tab to match Figma spacing
Replace heading with SettingsSectionTitle, add description text and
Separator in the form, and align spacing to the consistent gap-3 pattern.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): redesign CLI tab with consistent spacing and extracted components
Use SettingsSectionTitle, SettingsRow, StatusBadge, and ExternalCliAlert
from shared components. Add Separators between rows and align spacing
to the consistent gap-3 pattern.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): update layout with full-bleed sidebar and Figma-aligned navigation
Use negative margins to extend sidebar border through Main's padding,
replace viewport-based ScrollArea height with h-full, add tab icons,
and remove CLI tab from valid tabs. Update tests for new headings.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(settings): update layout with full-bleed sidebar and Figma-aligned navigation
Use negative margins to extend sidebar border through Main's padding,
replace viewport-based ScrollArea height with h-full, add tab icons,
and remove CLI tab from valid tabs. Update tests for new headings.
Co-authored-by: Cursor <cursoragent@cursor.com>
* tab cli leftover check
* test: remove unneeded check
* fix(test): split flaky secrets test and silence Radix act() warnings
Split the heavy "handles secrets correctly" test into two focused tests
(inline secret / store secret) to avoid CI timeout. Silence Radix UI
act() warnings in vitest setup since they originate from library
internals and are not actionable.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(test): silence Radix UI act() warnings in vitest setup
These console.error warnings originate from Radix UI internals
(react-select, react-presence, react-focus-scope) and cause
false positive failures via vitest-fail-on-console in CI.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: add sr-only label for update icon and missing CLI tab test assertion
Add screen-reader text to the ArrowUpCircle update indicator in the
settings sidebar. Add the missing CLI tab assertion in the "renders
all tab triggers" test.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 39318c0 commit 80a3fe6
23 files changed
Lines changed: 514 additions & 432 deletions
File tree
- renderer/src
- common/components/settings
- registry
- tabs
- __tests__
- components
- features/mcp-servers/components/local-mcp/__tests__
- routes
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
125 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 9 | + | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
| |||
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 31 | | |
45 | 32 | | |
46 | 33 | | |
| |||
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
246 | 250 | | |
247 | 251 | | |
248 | 252 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
271 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
Lines changed: 13 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
| 142 | + | |
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 149 | + | |
154 | 150 | | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
158 | 154 | | |
159 | 155 | | |
160 | 156 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 157 | + | |
164 | 158 | | |
165 | 159 | | |
166 | 160 | | |
| |||
183 | 177 | | |
184 | 178 | | |
185 | 179 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 180 | + | |
| 181 | + | |
190 | 182 | | |
191 | 183 | | |
192 | 184 | | |
| |||
208 | 200 | | |
209 | 201 | | |
210 | 202 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 203 | + | |
| 204 | + | |
214 | 205 | | |
215 | 206 | | |
216 | 207 | | |
| |||
232 | 223 | | |
233 | 224 | | |
234 | 225 | | |
235 | | - | |
236 | | - | |
237 | | - | |
| 226 | + | |
| 227 | + | |
238 | 228 | | |
239 | 229 | | |
240 | 230 | | |
| |||
256 | 246 | | |
257 | 247 | | |
258 | 248 | | |
259 | | - | |
260 | | - | |
261 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
262 | 253 | | |
263 | 254 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments