feat(ui): Phase 1 — shadcn/ui foundation and panel-based layout shell#18
Merged
Conversation
- 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>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Implements RAN-71 — Phase 1 of the UI Redesign (RAN-69).
class-variance-authority,tailwindcss-animate,react-resizable-panels. Adds CSS variable infrastructure +cn()utility. CreatesButtonandSeparatorcomponents insrc/components/ui/.index.cssandtailwind.config.ts.Layout.tsx): Collapsible left sidebar (desktop toggle + mobile slide-in), resizable main content area, collapsible right details panel (hidden by default).RightPanelContextlets child views open the details panel programmatically.Acceptance Criteria
RightPanelContextTest plan
src/main/frontend/src/components/openPanel(content)from a child component to verify right panel appears🤖 Generated with Claude Code