Skip to content

Render procedure and execution colours in Graph - #12

Merged
benjsmith merged 2 commits into
mainfrom
feat/procedure-execution-palette
Oct 3, 2026
Merged

benjsmith merged 2 commits into
mainfrom
feat/procedure-execution-palette

Conversation

@benjsmith

@benjsmith benjsmith commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

Follow-up to curiosity-engine procedure/execution thin types. Switchbay Graph now carries the same indigo/pink colours and lists those types in the sidebar / types panel (not only CSS vars).

  • CSS --type-procedure #5e4fa2 and --type-execution #c51b8a, plus sidebar dots
  • Replay TYPE_COLOR map
  • Atlas TYPE_KEYS
  • TYPE_CANONICAL / order / labels in sidebar.js and graph.js
  • Types panel rows in template.ts

Test plan

  • PYTHONPATH=src pytest tests/unit/test_procedure_execution_palette.py — hexes + sidebar/template include procedure and execution
  • Visual: a procedure page dot is indigo, an execution page dot is pink

Match the CE viewer palette: procedure indigo #5e4fa2, execution
pink #c51b8a, in CSS dots, replay colours, and atlas type keys.

Signed-off-by: benjsmith <[email protected]>
CSS vars and replay colours were already present; TYPE_CANONICAL,
TYPE_ORDER/LABEL, ALL_LABEL_TYPES, and the types panel still omitted
procedure and execution. Mirror CE wiki-view coverage and lock hexes
in a unit test.

Signed-off-by: benjsmith <[email protected]>
@benjsmith
benjsmith merged commit 293333c into main Oct 3, 2026
7 checks passed
@benjsmith
benjsmith deleted the feat/procedure-execution-palette branch October 3, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant