[OCaml] High Intensity Training Online
docs Complete the enhancement marker contract
The marker table listed only the app and workout families. Add the confirm, feedback, and exercise-selector families the client also reads, and note the timer under the workout family, so the table matches the markers pages.ml emits.
ARCHITECTURE.org
@@ -428,7 +428,7 @@
428
428
the fallback is the ordinary link/form behaviour the pages already
429
429
have.
430
430
431
Removed:
The contract is a set of markers the server emits:
431
Added:
The contract is a set of marker families the server emits:
432
432
433
433
| Marker | Meaning |
434
434
|----------------------------+-----------------------------------------------|
@@ -436,10 +436,13 @@
436
436
| =data-hito-app-content= | the page surface inside it |
437
437
| =data-hito-app-link= | a link eligible for in-place navigation |
438
438
| =data-hito-app-form= | a form eligible for in-place submission |
439
Removed:
| =data-hito-workout-*= | the same, for current-workout slots and forms |
439
Added:
| =data-hito-workout-*= | the same, for current-workout slots, forms, and the timer |
440
440
| =data-hito-workout-status= | an =aria-live= region for announcements |
441
441
| =data-hito-toast= | a transient notice the client dismisses |
442
442
| =data-hito-dialog-open= | a button that opens the modal with that id |
443
Added:
| =data-hito-confirm-*= | the confirm-modal parts: form, accept, dismiss |
444
Added:
| =data-hito-feedback-*= | the sequential feedback modal and its actions |
445
Added:
| =data-hito-exercise-*= | the slot selector that navigates on change |
443
446
444
447
Behaviour: the client fetches the same URL the link or form would have
445
448
used, extracts the marked region from the response, and swaps