Skip to content

[feat] room screenshots API + redesigned request toast + toasts-in-drawer covers requests - #48

Merged
AlexZ005 merged 1 commit into
mainfrom
feature/thumbnails-toasts-roleoffer
Jul 25, 2026
Merged

[feat] room screenshots API + redesigned request toast + toasts-in-drawer covers requests#48
AlexZ005 merged 1 commit into
mainfrom
feature/thumbnails-toasts-roleoffer

Conversation

@AlexZ005

Copy link
Copy Markdown
Collaborator

Core half (pairs with cloud PR).

  • captureThumbnail() on cloudApi — fresh render → downscaled JPEG blob (no preserveDrawingBuffer needed; null in VR) for room thumbnails.
  • Connection-request toast redesigned on-scheme: dark card, text + buttons on one row, buttons match role colours — View only / Editor access / Reject, title 'Connection request, approve?'. Same in the drawer Toasts tab.
  • 'Toasts in drawer only' now also hides connection requests from the viewport (drawer Toasts tab only).

svelte-check 484/72.

…er covers requests

Core half (pairs with the cloud plugin PR).

- captureThumbnail() on cloudApi (v2.2): renders a fresh frame then reads the canvas
  synchronously into a downscaled JPEG Blob (works without preserveDrawingBuffer;
  null in VR / before the renderer exists) — the cloud plugin uploads it as the room
  thumbnail.
- Connection-request toast REDESIGNED on-scheme: dark surface (no more off-pattern
  amber/green), text + actions on ONE row, buttons match role colours — "View only"
  (viewer, gray) / "Editor access" (editor, blue) / "Reject" (red outline). Title is
  "Connection request, approve?". Same labels in the drawer's Toasts tab.
- "Toasts in drawer only" now also hides CONNECTION REQUESTS from the viewport (they
  appear only in the drawer's Toasts tab) — hideCritical folds in the toggle; Settings
  description updated.

svelte-check 484/72 (under baseline). Headless: page loads, plugin registers, drawer
+ Toasts tab render, no runtime/import errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AlexZ005
AlexZ005 merged commit b2ed14e into main Jul 25, 2026
@AlexZ005
AlexZ005 deleted the feature/thumbnails-toasts-roleoffer branch August 5, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant