Skip to content

Conversation

@JoshuaGoldberg
Copy link
Contributor

Changes

The Final PR for the calendar improvements team, revamping the entire calendar page and its functionality.

Notes

Took a while but it's here now

Screenshots

Add some here soon

To Do

Bug fixes

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #3400

@JoshuaGoldberg JoshuaGoldberg requested a review from chpy04 January 5, 2026 21:43
@chpy04 chpy04 requested a review from Copilot January 5, 2026 21:48
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 represents a comprehensive overhaul of the calendar system, transitioning from a design-review-centric model to a more flexible event-based architecture. The changes introduce new event management capabilities, availability tracking, conflict resolution, and administrative configuration tools for scheduling.

Key Changes:

  • Replaced the design review calendar system with a new event-based calendar supporting multiple event types, recurring events, and resource booking (shops/machinery)
  • Added comprehensive event management features including approval workflows, availability tracking, and conflict detection
  • Introduced administrative configuration pages for managing calendars, event types, shops, and machinery

Reviewed changes

Copilot reviewed 96 out of 120 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
EventCard.tsx Updated to use Event model instead of DesignReview
ProjectGanttChartPage.tsx Changed references from designReviews to events
GanttChartColorLegend.tsx Updated to use EventStatus instead of DesignReviewStatus
NewCalendarPage.tsx New main calendar page with event filtering and conflict management
EventsTable.tsx New table component for displaying user events and review bookings
EventModal.tsx New comprehensive modal for creating/editing events with recurring schedules
CalendarTab.tsx New tab navigation component for calendar views
CalendarDayCard.tsx Updated day card to display events instead of design reviews
SchedulingConflictsWarning.tsx New component for displaying scheduling conflicts
AdminToolsPage.tsx Added new Schedule configuration tab
design-reviews.hooks.ts Commented out design review hooks (migration to events)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -45,14 +45,14 @@ const DisplayStatus: React.FC<DesignReviewProps> = ({ designReview, user }) => {
size="small"
sx={{ color: 'white', padding: 1 }}
onClick={() => {
history.push(`${routes.SETTINGS_PREFERENCES}?drId=${designReview.designReviewId}`);
history.push(`${routes.SETTINGS_PREFERENCES}?eventId=${event.eventId}`);
}}
component={RouterLink}
>
Confirm Availibility
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'Availibility' to 'Availability'.

Suggested change
Confirm Availibility
Confirm Availability

Copilot uses AI. Check for mistakes.
sx={{ color: 'white', '&.Mui-checked': { color: 'white' } }}
/>
<Typography variant="body2" sx={{ fontSize: 14, color: 'white' }}>
Show Events I For Teams I Am On
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

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

The text "Show Events I For Teams I Am On" has a grammatical error. It should be "Show Events For Teams I Am On".

Suggested change
Show Events I For Teams I Am On
Show Events For Teams I Am On

Copilot uses AI. Check for mistakes.
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.

Calendar Improvements

10 participants