Replies: 1 comment
|
the inline-svg flow diagram is heavier than I'd want to land for this. The dashboard already has a you're right that the SSE stream already carries phase data. Every event has a scope:
happy to take a PR for this shape. |
Uh oh!
There was an error while loading. Please reload this page.
When I’m watching a long run on the --serve dashboard, I keep wanting a small visual of where in the pipeline the current session actually is. The flow diagram in the README (assets/ralphex-flow.png) is the mental model I already have — right now I have to read the stream to figure out which phase we’re in.
Idea: render that diagram as inline SVG, pinned under the session list in the left sidebar. Completed phases get a checkmark, current phase highlights, upcoming stay muted. Switching sessions updates it to reflect that session’s state.
From the docs it looks like phase transitions are already first-class (SetPhase on BroadcastLogger, the pkg/status package), so the SSE stream might already carry what’s needed — haven’t read the code yet though, could be wrong.
Would you accept a PR for this? Any scope opinions up front — config flag, on by default, etc.? Happy to keep the first cut minimal (just current-phase highlight) and iterate.
All reactions