Skip to content

✨ add New Window button to playground#166

Draft
guilhermevrs wants to merge 1 commit into
mainfrom
guilhermevrs/playground-new-window-button
Draft

✨ add New Window button to playground#166
guilhermevrs wants to merge 1 commit into
mainfrom
guilhermevrs/playground-new-window-button

Conversation

@guilhermevrs

Copy link
Copy Markdown
Member

Motivation

Enable testing multi-window scenarios in the playground app.

Changes

  • Added a "New Window" button to the playground UI.
  • Wired up open-new-window IPC channel: renderer -> preload -> main.
  • Main process spawns a new BrowserWindow loading the same index.html (same UI for now).

Test instructions

  • cd playground && yarn dev
  • Click "New Window" in the SDK Actions section; a second window should open loading the same playground UI.

Checklist

  • Tested locally (playground)
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated related documentation.
  • Agentic code review findings addressed or explicitly dismissed.

Spawns a second BrowserWindow loading the same index.html, useful for testing multi-window scenarios with the SDK.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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