Frontend addresses flows and dashboards by id: routes /flows/$flowId, /dashboards/$id and /view/$id, query keys, saves, lists, device pickers, search, brain and endpoint links and generated results dashboards go by id, while live values, issues, pauses and message names keep the key; tabs take the title from the document; creating uses POST and opens the issued id; the flow and dashboard panels show key and id with a copy button and a served HTTP or WebSocket node shows its hook URL under the flow id; specs create by POST and ids.spec.ts exercises issued ids
This commit is contained in:
@@ -190,7 +190,7 @@ function Failure({ event }: { event: EventRow }) {
|
||||
the card, and the rest is behind the chevron anyway. */}
|
||||
<span className="min-w-0 flex-1 break-words">
|
||||
<span className="font-mono text-sm">
|
||||
{event.node || event.flow || "engine"}
|
||||
{event.node || event.flow_name || event.flow || "engine"}
|
||||
</span>
|
||||
<span className="ml-2 text-sm text-muted-foreground">{first}</span>
|
||||
</span>
|
||||
@@ -334,7 +334,7 @@ export function HealthActivity({ range }: { range: Range }) {
|
||||
className="flex items-baseline gap-3 border-b border-border py-2 text-sm last:border-0"
|
||||
>
|
||||
<span className="min-w-0 flex-1 truncate font-mono">
|
||||
{run.flow}
|
||||
{run.flow_name || run.flow}
|
||||
</span>
|
||||
{/* Five fixed columns do not fit a phone. What caused a run
|
||||
is the one a narrow row can do without — the status, the
|
||||
@@ -439,7 +439,7 @@ export function HealthActivity({ range }: { range: Range }) {
|
||||
{event.actor} {event.detail}
|
||||
{event.flow ? (
|
||||
<span className="ml-1 font-mono text-muted-foreground">
|
||||
{event.flow}
|
||||
{event.flow_name || event.flow}
|
||||
</span>
|
||||
) : null}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user