Repository navigation
Workshop: schedule key milestones, driver practice and a month view; shop bosses; Part sorter hidden - #190
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…n, and the Part sorter hidden Key milestones. The calendar's all-day row (now "Key dates") also holds dates leads and admins mark, such as a robot reveal: a day or a run of days with a name and notes, in a new WorkshopKeyDate table. They're teal with a lighter fill and always sit after the competition events, so the events stay the most visible thing in the row. Leads drag across the row (or use Add milestone) to add one, drag one to move it, and tap it to change or remove it. They also show in Coming up. They're separate from ticket milestones. Shop boss. Each session has a shop_boss. It's in a new details sidebar on the session page, laid out like the ticket page's, where leads click it to change it (it saves straight away, like a ticket's owner). The session dialog sets it too, through "this and following" for a series, and a new session starts with whoever ran the latest one. It also shows on My tasks and in Coming up. The migration gives every existing session Allen Bailey, matched by name; if there isn't exactly one, it leaves them empty and says so. Part sorter. Hidden for now: its route is commented out and its nav link removed, so /part-sorter goes to My tasks. The page and model are kept. Schema: 20261119120000_workshop_key_dates_and_shop_boss.sql, also in prod.sql. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJzJWyBnyRCr7gfKKB3nNB
…ling calendar Sessions now have a type, a shop session or driver practice, picked in the session dialog (like Preflight's schedule item kinds) and coloured on the calendar: shop orange, driver practice blue. Only shop sessions count as shop time (sessions and hours left before an event, burnup forecasts, the next session on My tasks, the sessions a ticket can be added to). Plans carry over from the previous shop session, skipping driver practice, which starts empty (workshop_seed_session_plan, in the same unapplied migration). The calendar runs 7am to midnight inside a fixed height, scrolled to the afternoon, instead of growing to fit the whole day. A month view shows each day's highlights, most important first: competition events, then key milestones, then sessions, with "+n more" when a day is full. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJzJWyBnyRCr7gfKKB3nNB
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJzJWyBnyRCr7gfKKB3nNB
… week from the month view The Week view was missing from the toolbar on phone-width screens; it's now there everywhere, next to Month and 3 days. In the month view, a lead tapping a day with nothing on it gets a choice of key milestone, shop session (6 to 9pm to start), or driver practice for that day. Dragging across days still adds a key milestone, and tapping a day that already has something does nothing. Week numbers down the side, and each day's number, open that week, so getting to a week months away is a few clicks from Month. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJzJWyBnyRCr7gfKKB3nNB
This branch was previously deployed
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.
Workshop schedule changes:
Key milestones on the schedule
WorkshopKeyDatetable (title, first and last day, notes). Leads and admins write, and everyone with Workshop access reads. They're separate from ticket milestones on the Milestones page.Shop boss
WorkshopSession.shop_bosscolumn.User. If it doesn't find exactly one Allen Bailey, it leaves them empty and prints a notice.Driver practice, month view, calendar size
workshop_seed_session_planis replaced in the same migration).@fullcalendar/daygridis now listed in Workshop's own dependencies. It was already installed, as a dependency of timegrid.Part sorter hidden
Its nav link is removed and its route is commented out, so
/part-sortergoes to My tasks. The page, model and WASM files are kept.Migration
supabase/migrations/20261119120000_workshop_key_dates_and_shop_boss.sql, also added toprod.sql. It needssupabase db push --linkedafter merging. Until then, the Sessions calendar can't load key dates and the shop boss can't be saved.Testing
npm run type-check:workshopandnpm run build:workshoppass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LJzJWyBnyRCr7gfKKB3nNB