-
Notifications
You must be signed in to change notification settings - Fork 0
Schedule preview #11
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
Schedule preview #11
Conversation
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 pull request introduces a comprehensive schedule preview feature, transforming the application from basic skeleton pages to fully functional scheduling interfaces. The changes focus on creating interactive event scheduling capabilities with support for multiple viewing modes, timezone management, and attendee collaboration.
- Implements dynamic scheduling pages for both availability input and results viewing
- Adds reusable UI components including toast notifications, event information drawers, and enhanced schedule grids
- Introduces automated code formatting workflow and removes unused utilities
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Adds Radix UI Toast dependency for notification functionality |
app/ui/components/schedule/time-block.tsx |
Enhanced with multi-mode support (paint/view/preview) and hover interactions |
app/ui/components/schedule/schedule-grid.tsx |
Refactored for attendee support, multiple modes, and improved layout |
app/ui/components/event-info-drawer.tsx |
New component for displaying event details in mobile-responsive drawer |
app/ui/components/copy-toast.tsx |
New component for copying event links with toast notifications |
app/schedule/results/page.tsx |
Complete results page implementation with attendee management |
app/schedule/layout.tsx |
Simplified layout for flexible content display |
app/schedule/availability/page.tsx |
Complete availability input page with timezone selection |
app/globals.css |
Added new CSS animations for toast and drawer interactions |
app/_utils/use-theme.tsx |
Removed unused dark mode hook |
app/_utils/timezone-file-generator.tsx |
Exported formatLabel function for reuse |
.github/workflows/formatting.yml |
New GitHub Actions workflow for automated code formatting |
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
Copilot reviewed 49 out of 52 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| </button> | ||
| </div> | ||
|
|
||
| <div className="grid w-full grid-cols-1 gap-y-2 md:grow md:grid-cols-[200px_repeat(10,minmax(0,1fr))] md:grid-rows-[auto_repeat(15,minmax(0,1fr))] md:gap-x-4 md:gap-y-1"> |
Copilot
AI
Oct 8, 2025
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.
[nitpick] The hardcoded grid template with 10 columns and 200px first column creates a magic number. Consider defining these values as constants for better maintainability.
|
Availability Management
Event Scheduling System
Utility Functions for Time Slot Generation
|
jzgom067
left a comment
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.
🫡

This pull request introduces several significant updates across the codebase, focusing on adding new features, improving user interface components, and cleaning up unused code. The most notable changes include the addition of new scheduling and event-related components, enhancements to animations and styles, and the removal of unused utilities.
New Features and Components:
.github/workflows/formatting.yml) to automatically format code using Prettier on pull requests. This ensures consistent code style across the repository.app/schedule/availability/page.tsx) and viewing results (app/schedule/results/page.tsx). These pages include features like timezone selection, attendee management, and event details. [1] [2]CopyToast: A component for copying event links to the clipboard with a toast notification.EventInfoDrawer: A component to display event details in a sliding drawer, supporting both desktop and mobile views.UI and Styling Enhancements:
hide,slideIn,swipeOut) and updated existing ones for smoother transitions inapp/globals.css.app/schedule/layout.tsx).Code Cleanup and Refactoring:
useDarkModehook fromapp/_utils/use-theme.tsx, as it was no longer in use.formatLabelfunction reusable by exporting it fromapp/_utils/timezone-file-generator.tsx.ScheduleGridComponent: Enhanced theScheduleGridcomponent to support additional props likeattendees,mode, andhoveredSlot, improving its versatility. [1] [2] [3]