-
Notifications
You must be signed in to change notification settings - Fork 9
Feature/calendar improvements #3862
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
base: develop
Are you sure you want to change the base?
Conversation
…ation #3754 migration to make design reviews and meetings event types
There was a problem hiding this 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 | |||
Copilot
AI
Jan 5, 2026
There was a problem hiding this comment.
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'.
| Confirm Availibility | |
| Confirm Availability |
| sx={{ color: 'white', '&.Mui-checked': { color: 'white' } }} | ||
| /> | ||
| <Typography variant="body2" sx={{ fontSize: 14, color: 'white' }}> | ||
| Show Events I For Teams I Am On |
Copilot
AI
Jan 5, 2026
There was a problem hiding this comment.
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".
| Show Events I For Teams I Am On | |
| Show Events For Teams I Am On |
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
ChecksandFiles changedtabs.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.
yarn.lockchanges (unless dependencies have changed)Closes #3400