Skip to content

Conversation

@jovnc
Copy link
Collaborator

@jovnc jovnc commented Jan 19, 2026

Fixes #2

@jovnc jovnc requested a review from Copilot January 19, 2026 11:36
@jovnc jovnc added the enhancement New feature or request label Jan 19, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adopts shadcn/ui as the core component library, integrating Radix UI primitives with a custom design system and Tailwind CSS for styling. The PR adds reusable Button and Table components following the shadcn pattern and updates existing components to use these new primitives.

Changes:

  • Added shadcn/ui configuration with path aliases and design system tokens
  • Implemented Button and Table components using Radix UI and class-variance-authority
  • Migrated existing components (HomePage, StatusMessage, ExerciseTable, DashboardHeader) to use the new UI components

Reviewed changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
components.json Configures shadcn/ui with aliases, style preferences, and icon library settings
tsconfig.json Adds path alias configuration for @/* imports (duplicates tsconfig.app.json)
package.json Adds dependencies: Radix UI, clsx, tailwind-merge, lucide-react, class-variance-authority, and animation libraries
yarn.lock Locks versions for new dependencies including Radix UI components and utility libraries
src/styles/index.css Adds comprehensive design tokens for light/dark themes and custom Tailwind variant for dark mode
src/lib/utils.ts Implements cn utility function for merging Tailwind classes
src/components/ui/button.tsx Creates Button component with multiple variants using Radix Slot and CVA
src/components/ui/table.tsx Implements accessible Table components with forwarded refs
src/pages/index.tsx Replaces native button with shadcn Button component
src/components/dashboard/StatusMessage.tsx Updates to use Button component with asChild pattern for links
src/components/dashboard/ExerciseTable.tsx Migrates from native table elements to shadcn Table components
src/components/dashboard/DashboardHeader.tsx Replaces links and buttons with shadcn Button components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 12 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 13 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt shadcn as core component library

2 participants