Follow-up demo feedback: Scheduler and My Lessons looked nearly identical in wp-admin. Scheduler (view_all_lessons) renders the same template with every instructor's lessons — including the caller's own and the same HST / e-transfer edit forms — so for an owner-operator studio the two menu items duplicated each other.
The My Lessons menu item is now only registered for users withoutview_all_lessons. Plain instructors keep My Lessons exactly as before; studio admins see just Scheduler. The page callback itself is untouched, so nothing else changes.
composer test — 408 tests pass; composer lint (PHPStan level 10) and composer cs clean.
Closes #85
Follow-up demo feedback: **Scheduler** and **My Lessons** looked nearly identical in wp-admin. Scheduler (`view_all_lessons`) renders the same template with every instructor's lessons — including the caller's own and the same HST / e-transfer edit forms — so for an owner-operator studio the two menu items duplicated each other.
The **My Lessons** menu item is now only registered for users **without** `view_all_lessons`. Plain instructors keep My Lessons exactly as before; studio admins see just Scheduler. The page callback itself is untouched, so nothing else changes.
- `composer test` — 408 tests pass; `composer lint` (PHPStan level 10) and `composer cs` clean.
- Docs updated: `docs/features/lesson-booking.md`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Scheduler (view_all_lessons) is a superset of My Lessons — same template,
every instructor's lessons, same payment edit forms — so for an
owner-operator both menu items showed the same data twice. The My Lessons
menu item is now only registered for users without view_all_lessons;
instructors are unaffected.
Closes#85
Co-Authored-By: Claude Fable 5 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #85
Follow-up demo feedback: Scheduler and My Lessons looked nearly identical in wp-admin. Scheduler (
view_all_lessons) renders the same template with every instructor's lessons — including the caller's own and the same HST / e-transfer edit forms — so for an owner-operator studio the two menu items duplicated each other.The My Lessons menu item is now only registered for users without
view_all_lessons. Plain instructors keep My Lessons exactly as before; studio admins see just Scheduler. The page callback itself is untouched, so nothing else changes.composer test— 408 tests pass;composer lint(PHPStan level 10) andcomposer csclean.docs/features/lesson-booking.md.🤖 Generated with Claude Code