Raumbildschirm
Eigenständiger Bildschirm mit Inhalt, Passform, Zustand und persönlichen Präsentationen in allen Raumansichten.
Nutzt: ui.button
Beispiele
Keine Demo-Fälle hinterlegt (demo.php ergänzen).
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| id | string | "" | — |
| roomId | string | "" | — |
| label | string | "" | — |
* Pflicht-Prop
Events & Slots
Events:
⚡ register⚡ unregister⚡ focus⚡ chat⚡ restore⚡ state⚡ blur — im Surface per on: {<event>: {action, params}} verdrahtbar.
Genutzte Design-Tokens
LLM-Notizen
component.room-display
Semantic display child for room managers. The default media behavior is unchanged.
Native desktop widget (1.2.0)
Configure through the registered controller with kind: "widget" and source: {widgetId, title}. Only an existing personal desktop widget reference is accepted; no URL, provider payload or second widget configuration is stored here. The owning desktop WidgetRails controller resolves the reference and retains the original mounted component.widget instance, actions and realtime data flow.
The child emits bubbling room-widget:register from its own root with {element, host, widgetId, roomId, connect, state, geometry}. The owner returns {setVisible, release, geometry?} to connect. Geometry is the untransformed card width/height and is contain-fitted inside this component. Visibility is the conjunction of child activation, visible projection and visible document.
The manager MUST call the public releaseWidget() synchronously before destroying the enclosing framework subtree. This returns the borrowed widget to its owner before Invisible.destroy traverses descendants. Source changes and direct child destruction also release it. room-widgets:request supports a late-starting owner without creating duplicate instances.
Native widgets use the same activation budget and 3D projection as iframe/image displays. The component does not fetch widget values or subscribe to another live channel. Agent presentation overrides can temporarily replace a widget; restoring the baseline returns to the original reference.
The widget owner marks borrowed widget roots with data-invisible-preserve-on-reparent. The lifecycle destroy loop preserves that opt-in subtree if an enclosing controller has already returned it outside the original destroy root. Direct owner destruction remains normal. Temporary projection/document hiding pauses provider visibility without moving the borrowed DOM; only release returns it to the rail.
Personal presentation sequence (1.3.0)
The public controller snapshot includes loadState and contentVerified. A personal iframe load event yields loadState: "loaded-unverified", visible text “Webseite geladen” and contentVerified: false. This is a transport/browser event, not proof that the website rendered correctly or that an agent task succeeded. A missing load event after 30 seconds or a media error is shown as an error. Image success is separately observable. Existing widget/provider states remain unchanged.
Optional private runId (64 lowercase hexadecimal characters) and positive integer chatId are accepted only together for an agent subject and retained in metadata snapshots. They never establish authorization; the shell rechecks the authoritative own run before opening the existing chat. The manager exposes room-displays:resolve at its actual room host, returning only matching snapshot and guarded focus/restore methods, without exposing source URLs. A stale captured API cannot restore a replacement request.