Commit 6f8a521
feat(ui): Phase 1 — shadcn/ui foundation and panel-based layout shell
- Install class-variance-authority, tailwindcss-animate, react-resizable-panels
- Add shadcn/ui CSS variables to index.css with AD-6 color tokens:
light mode (white/gray backgrounds, indigo/blue accents)
dark mode (deep charcoal/navy, muted teal/indigo accents)
- Update tailwind.config.ts with shadcn CSS var tokens and tailwindcss-animate plugin
- Create src/lib/utils.ts with cn() utility (clsx + twMerge)
- Add shadcn/ui Button and Separator components in src/components/ui/
- Rewrite Layout.tsx with 3-panel architecture:
- Collapsible left sidebar with desktop collapse/expand and mobile slide-in
- Resizable main content area via react-resizable-panels
- Collapsible right details panel (hidden by default, opens on demand)
- New header: logo, global search bar, theme toggle, profile placeholder
- RightPanelContext for child views to open the details panel programmatically
- Migrate ThemeToggle to shadcn/ui Button styling (inline in Layout)
- All existing routes (Dashboard, Graph, Explorer, Console, API Docs) preserved
- Build passes clean: 0 TypeScript errors
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 11edfd8 commit 6f8a521
10 files changed
Lines changed: 908 additions & 162 deletions
File tree
- src/main
- frontend
- src
- components
- ui
- lib
- resources/static/assets
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| |||
0 commit comments