Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Jan 30, 2026

Replaces the bespoke navigation dropdown implementation in web-roo-code with the shadcn navigation menu component.

Changes

  • Added @radix-ui/react-navigation-menu dependency via shadcn CLI
  • Created navigation-menu.tsx component with left-aligned styling
  • Updated nav-bar.tsx to use shadcn NavigationMenu for Product and Resources dropdowns
  • Added flex-shrink-0 to logo container to prevent squishing
  • Set consistent min-w-[260px] on dropdown content for stable transitions

Benefits

  • Smooth animations for dropdown open/close (zoom, fade)
  • Animated chevron rotation on menu trigger
  • Better keyboard accessibility (WAI-ARIA compliant via Radix UI)
  • Consistent dropdown width during transitions

Important

Replaces custom navigation menu with shadcn component for improved animations and accessibility.

  • Behavior:
    • Replaces custom navigation dropdown in nav-bar.tsx with shadcn NavigationMenu for Product and Resources.
    • Adds @radix-ui/react-navigation-menu dependency in package.json.
    • Sets consistent min-w-[260px] on dropdown content for stable transitions.
  • Components:
    • Creates navigation-menu.tsx with left-aligned styling and smooth animations.
    • Adds flex-shrink-0 to logo container in nav-bar.tsx to prevent squishing.
  • Benefits:
    • Smooth animations for dropdown open/close (zoom, fade).
    • Animated chevron rotation on menu trigger.
    • Improved keyboard accessibility (WAI-ARIA compliant via Radix UI).

This description was created by Ellipsis for c2295bd. You can customize this summary. It will automatically update as commits are pushed.

@roomote roomote bot requested review from cte, jr and mrubens as code owners January 30, 2026 17:31
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused labels Jan 30, 2026
@roomote
Copy link
Contributor Author

roomote bot commented Jan 30, 2026

Rooviewer Clock   See task on Roo Cloud

Review complete. No issues found.

The PR correctly replaces the bespoke navigation dropdown with the shadcn NavigationMenu component. The implementation follows established patterns, uses proper TypeScript typing, and the animation classes are supported by the existing tailwindcss-animate plugin.

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 30, 2026
@github-actions
Copy link
Contributor

🚀 Preview deployed!

Your changes have been deployed to Vercel:

Preview URL: https://roo-code-website-acb9ybwgg-roo-code.vercel.app

This preview will be updated automatically when you push new commits to this PR.

@cte cte merged commit 0cd257a into main Jan 30, 2026
25 checks passed
@cte cte deleted the feature/shadcn-navigation-menu branch January 30, 2026 17:38
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jan 30, 2026
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants