Skip to content

Need in‑place widget updates (client or server) — re‑stream only is too slow/brittle Body #111

@michiglueck

Description

@michiglueck

Hello,

we previously followed the docs for server‑handled actions + re‑streamed widgets. That works, but it doesn’t meet our core requirement: immediate in‑place widget UI updates after a user click. In our case we wanna create a ToDo/Task List Widget similar to what Codex allows, and for that we wanna add a Collapse/Expand Button.

Why the prior guidance doesn’t fulfill the need

The widget UI is rendered inside a cross‑origin iframe, self-hosted backend.
We can’t patch the rendered widget from the client.
The only way to reflect state is a server roundtrip + re‑stream + refresh, which is slow and fragile (state drift, duplicates, race conditions).

What would help: A supported API to update an existing widget’s state in place, e.g.:

control.updateWidget(widgetId, updates) (client), or
a server event that updates an existing widget item without a full refresh.
We can provide a minimal repro or details if helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions