MishkaCmsCoreWeb.Live.Admin.Components.RuntimeStatusTimeline (Mishka CMS Core v0.0.1)

Copy Markdown View Source

Renders a record's runtime status from a MishkaCmsCore.Runtime.RuntimeStatus.compute/2 map: a four-step pipeline (Saved → Active → Compiled/Bundled/Lazy → Live) where each step is :done (solid green), :current (light green), or :future (gray, not yet reached), plus a single "Currently:" box that carries the live state + message and is the only element that changes color by state (green/amber/red/blue/gray).

The node glyphs and the banner glyph are inlined SVGs that match the 33-tir design exactly (database cylinder, bolt, sun, check-circle; info/success/warn/ error banner marks) rather than approximating them with Heroicons.

Used by MishkaCmsCore.Runtime.RuntimeStatusLive for the expanded row of every runtime admin table, and by the runtime preview modal's Pipeline tab.

Summary

Functions

timeline(assigns)

Attributes

  • status (:map) (required)
  • record (:map) (required)