Skip to content

Add responsive workspace to Web Inspector - #7

Open
AbianS wants to merge 1 commit into
mainfrom
feat/responsive-devtools-workspace
Open

AbianS wants to merge 1 commit into
mainfrom
feat/responsive-devtools-workspace

Conversation

@AbianS

@AbianS AbianS commented Oct 2, 2026

Copy link
Copy Markdown
Member

Adds a Responsive tab to Web Inspector that displays multiple synchronized viewports in the main browser area. Includes editable device sizes, custom user agents, saved layouts, and synchronization of scrolling, clicks, focus, and supported form events.

Each browser tab retains its native page and inspector container. Closing and reopening DevTools rebuilds the extension registration safely; switching tabs restores the dock with its canvas. Previews automatically fit the available area when DevTools resizes, while preserving their CSS viewport dimensions. View menus display a single ellipsis control.

The inspector extension uses guarded private WebKit APIs. Viewport dimensions and user agents do not emulate another browser engine or full device capabilities.

Validation:

  • Scripts: typecheck, lint, formatting, and Vitest suite (pnpm check).
  • Responsive core model tests (swift test --package-path Packages/MoteKit --filter Responsive).
  • Inspector lifecycle regression checks (sh Tools/check-responsive-inspector).
  • Native inspector/session integration tests and the responsive UI test, including three tab switches and inspector close/reopen.

No Markdown files or CodeGraph artifacts are included.

This branch has not been deployed

No deployments
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