Frontend refactor#88
Open
justnyx wants to merge 5 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the frontend styling to a monochromatic design system and refactors several calendar/reservation UI components to use the new theme tokens (e.g., primary, border, ring) instead of the previous orange accent.
Changes:
- Switched multiple UI components from hardcoded orange accents to theme tokens (
text-primary,bg-primary,border-border,ring). - Refactored Day/Week calendar views with updated layout, spacing, and header styling.
- Updated navigation and reservation pages (including a new Stats entry in the sidebar for gatekeepers/admins).
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| project_info/guidelines.md | Documents the new monochromatic design system expectations. |
| apps/frontend/src/components/ui/rules-card.tsx | Updates link colors to text-primary. |
| apps/frontend/src/components/ui/card.tsx | Replaces orange border with border-border token. |
| apps/frontend/src/components/ui/button.tsx | Replaces orange-based hover/gradient utilities with primary token variants. |
| apps/frontend/src/components/ui/badge.tsx | Updates default badge styling to use bg-primary. |
| apps/frontend/src/components/news/news-card.tsx | Uses primary token for pinned indicator styling. |
| apps/frontend/src/components/layout/sidebar.tsx | Adds Stats link and broadens “Adminisztráció” section visibility to gatekeepers. |
| apps/frontend/src/components/layout/player.tsx | Updates play button and progress styling to primary. |
| apps/frontend/src/components/layout/footer.tsx | Replaces orange top border with border-border. |
| apps/frontend/src/components/calendar/week/daily-weekly-view.tsx | Significant week view UI refactor to new monochrome card layout. |
| apps/frontend/src/components/calendar/reservation-details.tsx | Minor refactor + gatekeeper button styling to theme tokens. |
| apps/frontend/src/components/calendar/interval-swithcer.tsx | Updates interval switch button styling to theme tokens. |
| apps/frontend/src/components/calendar/day/day-reservation.tsx | Updates “ADMINMADE” reservation styling to theme tokens. |
| apps/frontend/src/components/calendar/day/daily-view.tsx | Significant day view UI refactor to new monochrome card layout. |
| apps/frontend/src/components/calendar/day/daily-view-without-date.tsx | Updates borders to border-border tokens. |
| apps/frontend/src/components/calendar/comment-details.tsx | Removes unused React import and updates checkbox token usage. |
| apps/frontend/src/components/calendar/calendar.tsx | Updates view switch button styling and layout around AddPanel. |
| apps/frontend/src/components/calendar/add-reservation.tsx | Updates focus rings and primary actions to theme tokens. |
| apps/frontend/src/components/calendar/add-panel.tsx | Adjusts responsive layout and primary selection styling. |
| apps/frontend/src/components/calendar/add-comment.tsx | Updates focus rings and primary actions to theme tokens. |
| apps/frontend/src/components/calendar/Line.tsx | Updates “current time” line styling to primary. |
| apps/frontend/src/app/rules/page.tsx | Updates links to text-primary. |
| apps/frontend/src/app/reservation/page.tsx | Adds sticky header styling and scroll container usage. |
| apps/frontend/src/app/globals.css | Replaces the orange-based HSL variables with monochromatic (zinc-like) theme variables. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Made frontend monochromatic, refactored calendar design