Commit 9ebcb3a
committed
fix: close UX gaps across app surfaces
Sweep from /ux-gap-detector over the whole app, plus the design-review
follow-ups. Behaviour-safe focus/contrast/motion polish, one wiring fix,
and the DESIGN.md rules the review surfaced.
Focus visibility (was: no visible focus on several controls)
- SkillItem unlink / delete / bookmark X, AgentItem row, SidebarFooter
skills.sh + gear, SourceLink repo-filter + external link, SkillDetail
tabs, and the dialog close X all gain focus-visible rings.
Theme selector
- Drop hover:scale-110 jank on the colour swatches; the hover affordance
is now a quiet bg-muted tile (transition-colors) on the swatch button.
- Selected-swatch ring ring-white -> ring-foreground so it stays visible
in light mode (ring-white was invisible on a light background).
Severity + scale
- SkillDetail Valid/Broken/Inaccessible counts colour by severity when
non-zero (success / amber) and stay muted at zero.
- Skills Marketplace heading: 28px + subtitle -> text-lg (no hero-scale
type in the shell). Dashboard stat numbers text-3xl -> text-2xl
tabular-nums.
- CodePreview loading / no-files containers h-48 -> h-full so they fill
the panel instead of floating.
- Card: rounded-xl + shadow -> rounded-lg, border-only.
Trending panel (the wiring fix)
- MarketplaceDashboard now owns its own loadLeaderboard('trending') mount
fetch. Nothing requested trending on this surface before (only
SkillsMarketplace, which defaults to 'all-time'), so its placeholder
never resolved. Four-way view (populated / loading / error / empty) via
a pure resolveTrendingView helper + ts-pattern; TrendingSkeleton carries
role="status" + aria-label; a TrendingError offline notice replaces a
silent blank on failure.
Settings
- General + Appearance ToggleGroups: justify-start (left-aligned under
their labels, not stretched). Appearance font-size range gains a focus
ring.
Bulk-confirm dialog
- AlertTriangle icon (destructive=red, copy=amber) via a module-scope
helper so MainContent stays at its complexity baseline.
DESIGN.md
- New "Loading and Skeletons" section (fixed-shape skeleton, role="status"
a11y, a skeleton must own its fetch) and a segmented-control
left-align rule.1 parent 20dd459 commit 9ebcb3a
19 files changed
Lines changed: 449 additions & 89 deletions
File tree
- src/renderer
- settings/sections
- src/components
- layout
- marketplace
- sidebar
- skills
- theme
- ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
| |||
336 | 342 | | |
337 | 343 | | |
338 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
339 | 363 | | |
340 | 364 | | |
341 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
283 | 301 | | |
284 | 302 | | |
285 | 303 | | |
| |||
1371 | 1389 | | |
1372 | 1390 | | |
1373 | 1391 | | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
1379 | 1402 | | |
1380 | 1403 | | |
1381 | 1404 | | |
| |||
Lines changed: 72 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
| |||
58 | 81 | | |
59 | 82 | | |
60 | 83 | | |
61 | | - | |
62 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
63 | 88 | | |
64 | 89 | | |
65 | 90 | | |
| |||
170 | 195 | | |
171 | 196 | | |
172 | 197 | | |
173 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
174 | 214 | | |
175 | 215 | | |
176 | 216 | | |
177 | 217 | | |
178 | 218 | | |
179 | 219 | | |
180 | | - | |
| 220 | + | |
181 | 221 | | |
182 | | - | |
| 222 | + | |
183 | 223 | | |
184 | 224 | | |
185 | 225 | | |
| |||
203 | 243 | | |
204 | 244 | | |
205 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
206 | 271 | | |
0 commit comments