diff --git a/backend/fluksio/flow/pipeline.py b/backend/fluksio/flow/pipeline.py index 9faf9cc..94e27c9 100644 --- a/backend/fluksio/flow/pipeline.py +++ b/backend/fluksio/flow/pipeline.py @@ -85,7 +85,7 @@ class ValueSource(BaseModel): flow, an agent — be shown at all, since none of those is a node here. """ - #: node, dashboard, flow, agent, chat or api. + #: node, dashboard, flow, agent, chat, api or panel. kind: str = "node" #: Node id, dashboard name, or whatever identifies the caller. id: str = "" diff --git a/frontend/src/components/Dashboard/PanelsDialog.tsx b/frontend/src/components/Dashboard/PanelsDialog.tsx index f6f8805..255d3f0 100644 --- a/frontend/src/components/Dashboard/PanelsDialog.tsx +++ b/frontend/src/components/Dashboard/PanelsDialog.tsx @@ -49,14 +49,7 @@ const slugify = (value: string) => /** Port names the panel firmware knows; `gpio.` takes a pin number. */ // ponytail: free-text ports, no device capability report; add PUT /panels/{id}/device when a second device kind exists -const PORT_SUGGESTIONS = [ - "gpio.", - "backlight", - "screen", - "touch", - "mic", - "speaker", -] +const PORT_SUGGESTIONS = ["gpio.", "backlight", "touch", "mic", "speaker"] const DIRECTIONS = [ ["in", "In"], diff --git a/frontend/src/components/Flow/liveStore.ts b/frontend/src/components/Flow/liveStore.ts index 5cf5bfb..31bf5ce 100644 --- a/frontend/src/components/Flow/liveStore.ts +++ b/frontend/src/components/Flow/liveStore.ts @@ -13,7 +13,7 @@ import { request } from "@/client/core/request" /** Who caused a value. The canvas needs it to pulse the right edge. */ export type ValueSource = { - kind: "node" | "dashboard" | "flow" | "agent" | "chat" | "api" + kind: "node" | "dashboard" | "flow" | "agent" | "chat" | "api" | "panel" id: string label: string detail?: string