feat(docs): add a mise en place selector to the playground #50
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!50
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/playground-schedule"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a Mise en place selector (By section / All at the start) to the playground output bar, next to the view selector. It drives the header times and the Gantt through the renderer's schedule option, is shared by the Preview, Gantt and Markdown views (hidden on JSON, AST and tree, which carry both schedules), and is remembered in localStorage (read and written in try/catch). On narrow screens the output header grows to a second line instead of clipping the selector. The setting is about time only: the ingredient lists are identical in both modes. Checked in a real browser at desktop and mobile widths. No changeset: the docs site is not published.