Set axis values
set_axis_valuesDefine or extend extra axis values on a timeline after the consent gate, adding course cases with student briefs. Upserts by ID; hides axis from nav when needed.
Instructions
Define or extend an extra axis (slot 1 or 2) after the consent gate.
values: [{id, name, role?, color?, symbol_svg?, sections?: [{h,t}]}],
upserted by id, so this can be called repeatedly as material arrives.
Unlike the entity axis there is no count cap — this is where a course's
cases belong, each carrying the student's own brief in sections.
hide_nav keeps the chips on the cards and the detail pages reachable
while dropping the axis from the nav bar, drawer and legend, and labels
those chips with the value's name rather than a glyph. Set it for anything
with more values than a nav row can hold; skip glyph design for it.
§0: sections are verbatim from the user's materials. This tool exists
because an axis declared inside create_timeline is authored BEFORE
record_materials_consent runs — so axis values carrying real content had no
gate. This one is consent-locked like add_nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| label | Yes | ||
| values | Yes | ||
| hide_nav | No | ||
| singular | Yes | ||
| timeline_id | Yes |