Default to week view for lessons on the front end and in wp-admin #76

Closed
opened 2026-07-22 12:52:01 +00:00 by thatguygriff · 0 comments
Owner

From the 2026-07-22 user demo.

Current behaviour

  • The front-end booking calendar (assets/js/booking.js) defaults to the List view; students must click Week every time.
  • The wp-admin lesson pages — Scheduler (all lessons) and My Lessons (instructor) — are flat tables only; there is no week view at all (templates/admin/lessons.php, Booking\LessonController).

Wanted

  • Front end: the booking page slot browser defaults to the Week view (anchored to the week of the earliest open slot), with List still available via the toggle.
  • Backend: add a Week calendar view to Scheduler and My Lessons (reusing Availability\WeekCalendar, same pattern as the availability page's usc_view/usc_week params) and make it the default, keeping the current table as the List view (it carries the HST / e-transfer edit forms).
**From the 2026-07-22 user demo.** ## Current behaviour - The front-end booking calendar (`assets/js/booking.js`) defaults to the **List** view; students must click *Week* every time. - The wp-admin lesson pages — **Scheduler** (all lessons) and **My Lessons** (instructor) — are flat tables only; there is no week view at all (`templates/admin/lessons.php`, `Booking\LessonController`). ## Wanted - Front end: the booking page slot browser defaults to the **Week** view (anchored to the week of the earliest open slot), with List still available via the toggle. - Backend: add a **Week** calendar view to Scheduler and My Lessons (reusing `Availability\WeekCalendar`, same pattern as the availability page's `usc_view`/`usc_week` params) and make it the default, keeping the current table as the List view (it carries the HST / e-transfer edit forms).
thatguygriff added the enhancement label 2026-07-22 12:52:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Unsupervised/unsupervised-scheduler#76