Implement the day-view modal with progressive enhancement #18

Closed
opened 2026-07-01 01:04:57 +00:00 by manlycucumber · 1 comment
manlycucumber commented 2026-07-01 01:04:57 +00:00 (Migrated from github.com)

Problem

Clicking a day should open a rich modal without leaving the page, but the experience must still work when JavaScript is unavailable by falling back to the pretty page. Depends on the approved day-view modal mockup.

Acceptance criteria

  • Clicking a day in the calendar/strip opens the day-view modal via the REST endpoint, matching the approved mockup.
  • With JavaScript disabled, the same link navigates to the pretty /ordo/YYYY-MM-DD/ page.
  • The modal traps focus, is dismissible by keyboard, and restores focus on close.
  • Rubrics render in red and the rank/colour chip is present.

Notes

Depends on the approved day-view modal mockup. Re-implement the old modal interaction on a clean base.

## Problem Clicking a day should open a rich modal without leaving the page, but the experience must still work when JavaScript is unavailable by falling back to the pretty page. Depends on the approved day-view modal mockup. ## Acceptance criteria - [ ] Clicking a day in the calendar/strip opens the day-view modal via the REST endpoint, matching the approved mockup. - [ ] With JavaScript disabled, the same link navigates to the pretty /ordo/YYYY-MM-DD/ page. - [ ] The modal traps focus, is dismissible by keyboard, and restores focus on close. - [ ] Rubrics render in red and the rank/colour chip is present. ## Notes Depends on the approved day-view modal mockup. Re-implement the old modal interaction on a clean base.
manlycucumber commented 2026-07-03 21:14:24 +00:00 (Migrated from github.com)

Done in #107 (squash 761a55a): day-view modal (progressive enhancement, focus trap). All gates green (PHPUnit 40/142, phpcs PSR-12, phpstan L6, clean-room guard); CI matrix 7.4/8.1/8.2/8.3 + CodeQL passed.

Done in #107 (squash 761a55a): day-view modal (progressive enhancement, focus trap). All gates green (PHPUnit 40/142, phpcs PSR-12, phpstan L6, clean-room guard); CI matrix 7.4/8.1/8.2/8.3 + CodeQL passed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Ordo#18
No description provided.