dailychecks-today
Today’s checklists (ADR 0651): the checklists done on their own (opening, closing, cleaning) that are due today and that the viewer may do, each with when it is due by and its steps. Anyone who may do one ticks its steps (done, with a note where the step asks; not done, with why); whoever ticks the last step finishes it, and a finished one never changes. Someone who manages checklists sees every one and may tick for someone who may do it, saying why: kept, and shown, as ticked by them for that person. The host decides everything here: what is due, who may do it (mayDo, canTick), who may tick for whom, whether a step needs a note, when it is finished. This shows its answer and refusals. What someone writes on a step, why it was not done and why it was ticked for someone are private: kept only in this screen’s state, sent with forgetAfter (never in a URL, storage or a query’s key), cleared when the page is left, and read again when the browser brings it back.
| Skin | web |
| Pack | dailychecks |
| Add it | cos add dailychecks-today |
| Files | today.tsx, LICENSE |
| Depends on | ui-button |
| Packages | @composable-os/pack-dailychecks |
Operations it calls
Section titled “Operations it calls”Through its hooks; the host decides what each caller may do.