Repository navigation
Lightflow v0.5.1
Lightflow v0.5.1
Patch release: the visualizer renders run status again.
Fix (#19)
visualizer.html ships a hand-written subset of utility CSS, and a class the markup uses but the subset lacks fails silently. v0.5.0 restored the timeline dots' colours but not their size, and several other status-bearing classes were missing too. Defined the ~60 missing utilities:
- status dots now have size (
w-3/h-3) as well as colour; - stage cards show their status ring (
ring-*, drawn as outlines so they combine with the cards' shadows); - status badges and the Operator Action chip have their background/border colours (
bg-*-500/15,border-*-500/30,bg-*-950, …); - the page uses the system UI font instead of the browser serif default;
- multi-line gate instructions and JSON schemas keep their line breaks (
whitespace-pre-wrap); - spacing, hover/focus/active/placeholder variants and transitions used by the markup.
Verified in headless Chrome: dots compute to 12×12 px in the status colour, rings to 2 px outlines, body font system-ui, pre-wrap applied.
Guard
A new test extracts every utility-shaped class token from the template (HTML attributes and JS class-name literals) and asserts it is defined in the inline <style>, so a class added to the markup without CSS fails CI instead of rendering as nothing. On its first run it caught six undefined colour classes beyond those listed in the issue.
Unchanged
Engine, CLI, exit codes, passport.json. 131 standalone tests pass.