Commit 961e06d
committed
feat(039): reorganize sidebar, add collapse + tooltips
Sidebar restructure:
- Group navigation into Workspace / System sections with subtle
uppercase labels — Dashboard sits solo at the top as the landing.
- Workspace section holds the four priority items (Servers, Secrets,
Activity Log, Security Scanners) with Agent Tokens nested as a
second-level child under Secrets.
- System section holds Repositories and Configuration, rendered at
reduced weight (text-[13px], text-base-content/70) to signal they
are secondary.
- Remove Search entry — the top header already exposes a tools/servers
search input.
- Move Feedback out of the main nav to an icon button in the footer
row next to the Theme dropdown, sized appropriately (h-9, w-5 icon)
and flex-centered so it aligns correctly in both expanded and
collapsed states.
- Add inline SVG icons for every personal-edition nav item so the
collapsed rail is recognisable at a glance.
Collapsible sidebar:
- New sidebarCollapsed state + toggleSidebar action in the system
store, persisted to localStorage under mcpproxy-sidebar-collapsed.
- Sidebar animates between w-64 (expanded) and w-14 (icon rail). The
main content padding in App.vue animates in lockstep.
- Collapse chevron sits in the logo row when expanded; a separate
expand chevron appears in the rail when collapsed.
- Labels hide in collapsed mode; titles fall back to native tooltips
for discoverability.
ServerCard tooltip:
- Wrap the security scan badge in a DaisyUI tooltip that explains the
current state (clean / N warnings / dangerous / failed / scanning /
not scanned). Every variant includes the disclaimer that the score
is an experimental heuristic and findings should be verified
manually — so users don't over-trust a "Clean" label.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0b20146 commit 961e06d
4 files changed
Lines changed: 353 additions & 79 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
376 | 381 | | |
377 | 382 | | |
378 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
379 | 413 | | |
380 | 414 | | |
381 | 415 | | |
| |||
0 commit comments