Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the schedules, notification flows and flow editor show placeholders while they load

The schedules card, the notification router card (flows and recent
deliveries) and the flow editor showed a bare 'loading…' line. They now show
grey placeholders in the layout of what is coming: schedule cards with the
real card's row heights, flow cards with a block for the graph, the
deliveries table's header over blank rows, and lines for the editor.
This commit is contained in:
iris 2026-11-06 19:26:20 +01:00 • committed by mara
commit 5eef1f4a3d

View file

@ -26,6 +26,7 @@ import { ActionRow } from "../../ui/action-row/ActionRow.js";
import { ConfirmDialog } from "../../ui/confirm-dialog/ConfirmDialog.js";
import { Hint } from "../../ui/hint/Hint.js";
import { Panel } from "../../ui/panel/Panel.js";
import { SkeletonLines } from "../../ui/skeleton/Skeleton.js";
import { TextField } from "../../ui/text-field/TextField.js";
import { fetchJson, ProblemError } from "../../ui/polled/usePolled.js";
import { FlowCanvas } from "./FlowCanvas.js";
@ -248,7 +249,7 @@ export function FlowEditorPage({
if (!view) {
return (
<Panel title="notification flow" icon="🔔" actions={back}>
<p>loading…</p>
<SkeletonLines label="the flow" />
</Panel>
);
}