Skip to content

Conversation

@chiptus
Copy link
Owner

@chiptus chiptus commented Sep 6, 2025

No description provided.

chiptus and others added 5 commits September 5, 2025 22:59
- 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]>
@vercel
Copy link

vercel bot commented Sep 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
upline Ready Ready Preview Comment Sep 8, 2025 4:11pm

- 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 chiptus merged commit f4b7221 into main Sep 8, 2025
7 checks passed
@chiptus chiptus deleted the feat/stage-order branch September 8, 2025 16:45
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.

2 participants