Skip to content

Dashboard: new data-binding kinds — stream, command, computed #101150

Description

@100yenadmin

Live feeds and computed data, not just files.

Part of the Modular Dashboard roadmap — see the tracker #101136. Builds on Wave 1 (#101093; PRs #101094 / #101097 / #101098).

Problem

Bindings today are limited to file, static, and rpc — there's no way to bind a widget to a live stream, a periodic command, or a value derived from other bindings. That caps every widget that wants push updates or computed data to polling workarounds.

What this adds

  • stream: bindings (SSE/WebSocket) for push updates.
  • command: bindings (allowlisted, run on an interval).
  • Computed/derived bindings built from other bindings' values.

How it'd be built

Add matching branches to resolveBinding on both sides: the client copy in ui/src/lib/dashboard/index.ts and the server copy in extensions/dashboard/src/data-read.ts, plus the new binding kinds to the binding schema union in extensions/dashboard/src/schema.ts. command: is security-sensitive — it needs an explicit allowlist and review before merge, unlike the other two kinds.

References

Tier 2 — the apps layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.staleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions