-
Notifications
You must be signed in to change notification settings - Fork 0
feat(festivals): add stage order and color #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
- Add stage_order column and color column to stages table - Update stage queries to order by stage_order then by name - Implement stage color coding in timeline components - Update timeline calculations to use stage ordering - Apply stage colors to labels and timeline tracks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add stage_order and color fields to create/update mutations - Extend StageManagement component with order and color controls - Add number input for stage ordering with minimum value of 0 - Add color picker with hex input for stage colors - Display order and color columns in admin stage table - Show color preview swatches in table rows 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Stages with order > 0 now appear first, sorted by their order value - Stages with order 0 (default/unordered) appear last, sorted alphabetically - This ensures main stages and other explicitly ordered stages are prioritized - Updated sorting logic across all timeline and schedule components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add StageBadge component with stage color as background - Use stage color with 80% opacity for subtle but visible background - Apply StageBadge to list view cards (MobileSetCard) - Apply StageBadge to voting view (SetMetadata in ArtistsTab) - Remove redundant colored dot since background now uses stage color - Make badge text white with font-medium for better contrast 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Create stageUtils.ts with reusable sorting functions - Add sortStagesByOrder for generic item sorting based on stage data - Add sortStages for direct stage array sorting - Replace duplicated sorting logic in useStagesByEdition - Replace duplicated sorting logic in useScheduleData - Replace duplicated sorting logic in timelineCalculator (both horizontal and vertical) - Maintain consistent stage ordering: priority stages (order > 0) first, then default stages (order 0) alphabetically 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
chiptus
commented
Sep 7, 2025
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.
No description provided.