Skip to content

Conversation

@neonwatty
Copy link

Being interested in a Rails + React w/shadcn components I was very happy to stumble on this repo!

Proposing the addition of a demo dashboard that lays out some common shadcn ui components to give users a better feel for available components and integration with rails. Here's a quick gif walkthrough of the dashboard I've added:

rails-shadcn-dashboard

The dashboard I've added demonstrates a range of shadcn/ui components (I've added toast messages explaining each component interaction):

Core UI Components

  • Button - Navigation, actions, triggers
  • Card - Container layout for sections
  • Badge - Status indicators, tags, priorities
  • Avatar - User profile images
  • Tooltip - Contextual help text
  • Label - Form field labels
  • Carousel - Achievement showcase & motivational quotes
  • HoverCard - Rich team member details on hover
  • ContextMenu - Right-click actions on tasks
  • Command - Command palette (⌘+K) for quick actions
  • Calendar - Date picker
  • Popover - Calendar dropdown container
  • Sheet - Side panel for task details
  • Collapsible - Expandable/collapsible sections

Provided interest in adding a simple dev / test sqlite - which would require a migration on setup - we could also add

  • Tasks - With a drawer component to dig into details / edit / etc.,
  • AlertDialog - Task completion confirmation
  • Tasks on Calendar - Markers indicating which days have tasks assigned

That would look like the following:

tasks

Also seems like room in an example like this - perhaps dedicated to a non-main branch - to illustrate the usage of a shadcn/ui mcp server for use with an agent (I used this one with claude code and it was quite effective). I've created a separate branch on my fork illustrating this.

neonwatty and others added 14 commits August 10, 2025 13:27
…mponents

- Enhanced productivity dashboard with full shadcn/ui component showcase
- Added educational toast notifications for all component interactions
- Implemented Command palette, Carousels, HoverCards, Context menus, Calendars
- Fixed dashboard authentication to allow unauthenticated access as intended
- Updated session controller to use consistent URL helpers
- Added comprehensive mock data and interactive UI demonstrations
- Fixed carousel navigation with proper API usage and educational feedback
- All components demonstrate both functionality and educational component awareness

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Added navigation button at top of productivity dashboard
- Integrated Inertia.js Link with shadcn/ui Button for smooth client-side navigation
- Included Home icon and hover effects for better UX
- Added educational toast notification showing Inertia.js + shadcn/ui usage
- Positioned prominently for easy access to home page

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant