Skip to content

Conversation

@x0ba
Copy link
Owner

@x0ba x0ba commented Dec 15, 2025

No description provided.

@x0ba x0ba requested a review from Copilot December 15, 2025 00:19
@vercel
Copy link

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
course-schedule-calendar Ready Ready Preview, Comment Dec 15, 2025 0:21am

@coderabbitai
Copy link

coderabbitai bot commented Dec 15, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch start-date

Comment @coderabbitai help to get the list of available commands and usage tips.

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 adds a start date feature to the schedule generation system, allowing users to specify when their schedule should begin instead of defaulting to the current date. The implementation includes UI components for date selection, API changes to make start date required, and updates to the calendar generation logic.

  • Made startDate a required parameter in both the generateIcal and syncToGoogleCalendar API endpoints
  • Updated the iCal generation logic to calculate event occurrences from the user-specified start date rather than the current date
  • Added a date picker UI component with session storage persistence for OAuth redirects

Reviewed changes

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

Show a summary per file
File Description
src/server/api/routers/schedule.ts Changed startDate from optional to required in both API endpoints
src/lib/ical.ts Updated getNextOccurrence to accept a fromDate parameter and renamed local variables to avoid shadowing; fixed same-day event scheduling logic
src/components/upload-zone.tsx Added start date picker UI, state management, session storage persistence, and validation to disable export buttons when date is missing
src/components/ui/popover.tsx New popover component for date picker dropdown
src/components/ui/calendar.tsx New calendar component for date selection
src/components/ui/button.tsx Added default values for variant/size props and data attributes for styling
pnpm-lock.yaml Added dependencies for @radix-ui/react-popover and react-day-picker
package.json Added @radix-ui/react-popover and react-day-picker as dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@x0ba x0ba merged commit 3cc7690 into main Dec 15, 2025
11 checks passed
@x0ba x0ba deleted the start-date branch December 15, 2025 00:26
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.

2 participants