Skip to content

Conversation

@ccheung777
Copy link

This pull request holds changes to Planner.tsx and PlannerCourseHolder.tsx

Changes made to PlannerCourseHolder.tsx

  • Changed the placeholder text from Drag a course here to add it to this semester to Drag a course from the Toolbox
  • This makes it clear to the user that they must have a course in Toolbox before starting to plan their semesters

Changes made to Planner.tsx

  • The page routes to /planner when < 1024 px which properly resizes when jumping from Planner to Courses pages
  • The page automatically navigates to / which is Homepage when ≥ 1024 px

Changed the placeholder text  in PlannerCourseHolder to clarify dragging courses from the Toolbox. Added spacing in Planner.tsx to improve layout between semester components (Prettier Write)
Added a useEffect hook to redirect users to the home page if they access the Planner page from a desktop device. This ensures the Planner page is only accessible on non-desktop devices.
Prettier Write for Planner.tsx
@ccheung777 ccheung777 self-assigned this Nov 18, 2025
@ccheung777 ccheung777 added the desktop for desktop specific issues label Nov 18, 2025
Copy link

@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 c7270e6 into main-preview Nov 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop for desktop specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update planner semester placeholder text Screen does not adjust well to changes in window size

3 participants