feat(apollo-vertex): rework shell user profile with fade-in text and minimal variant#682
Draft
petervachon wants to merge 3 commits into
Draft
feat(apollo-vertex): rework shell user profile with fade-in text and minimal variant#682petervachon wants to merge 3 commits into
petervachon wants to merge 3 commits into
Conversation
…with sub-nav Replaces the hand-built sidebar with the shadcn SidebarProvider stack: - shell-layout.tsx: wraps layout in SidebarProvider (with SIDEBAR_WIDTHS CSS vars), SidebarInset, and a mobile-only SidebarTrigger header. Fixes resolvedTheme check so the dark gradient background responds to the system theme preference. Uses useId() on the SVG noise filter to avoid duplicate DOM IDs when multiple shell instances render - shell-sidebar.tsx: migrates from motion.aside + useLocalStorage to the shadcn Sidebar component. Open/closed state is now persisted via a sidebar_state cookie (refresh-safe). Adds sub-nav support via Collapsible with expandedItems tracking the active route on mount. Animated text labels use AnimatePresence + textFadeVariants instead of the old spring. Deletes shell-nav-item.tsx (inlined into shell-sidebar) - shell-company.tsx: minor prop/class alignment - registry.json: updates shell entry deps and removes shell-nav-item file ref - Restores icon hover scale (whileHover iconHoverScale) on collapsed nav items that was lost during the provider migration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
687670b to
1637691
Compare
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.
What
Replaces the
AnimatePresence mode="wait"dual-branch user profile with a single unified component that uses framer-motion fade-in text, aTooltipProviderfor collapsed-state affordance, and a newisMinimalprop for the horizontal header variant.Behavioral changes:
textFadeVariantsused by nav labels; subtle hover highlight viabefore:pseudo-elementisMinimalvariant (top-bar layout): avatar button in top-right corner; dropdown opens to the right; tooltip shows user's namecollapsedMenuSide/collapsedMenuAlignprops — positioning is now fixed by variant, not caller-configurableLines changed: ~189 additions / 99 deletions (M-sized slice)
Test plan
/patterns/shelldocs page renders both shell and minimal previews without errors🤖 Generated with Claude Code