Skip to content

Conversation

@jzgom067
Copy link
Member

Just a few things that we should have included with the initial deployment.

The version number will remain unchanged for these changes.

Copy link
Contributor

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 PR implements launch day fixes, primarily reorganizing route structure to swap the default event view from availability input to results display, and adding a "Cancel Edits" button for the availability editor.

  • Routes reorganized: /{eventCode} now shows results, /{eventCode}/painting shows availability input
  • Added "Cancel Edits" button to availability page when editing existing data
  • Fixed CopyToast component to accept event code parameter and construct proper URL

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/ui/layout/results-page.tsx Updated CopyToast to pass eventCode prop and changed availability link to /painting route
app/ui/layout/availability-page.tsx Changed redirect to root event route, added CopyToast code prop, and added "Cancel Edits" button
app/ui/components/weekday-calendar.tsx Removed unused inDrawer parameter
app/ui/components/toasts/copy-toast.tsx Modified to accept code prop and construct URL from origin + code instead of using full href
app/ui/components/selectors/time-selector.tsx Changed options from let to const
app/[event-code]/painting/page.tsx Swapped to render AvailabilityClientPage, using fetchSelfAvailability instead of fetchAvailabilityData
app/[event-code]/painting/loading.tsx Updated loading skeleton layout to match availability page structure
app/[event-code]/page.tsx Swapped to render ResultsPage, using fetchAvailabilityData instead of fetchSelfAvailability
app/[event-code]/loading.tsx Updated loading skeleton layout to match results page structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@mirmirmirr mirmirmirr left a comment

Choose a reason for hiding this comment

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

👍

@mirmirmirr mirmirmirr merged commit 596cdfc into main Oct 21, 2025
1 check passed
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.

3 participants