devtools/docs
Alem Tuzlak 8b3a032c47
feat(devtools): add hideInAutomation to keep devtools out of e2e tests (#549)
* feat(devtools): add hideInAutomation to keep devtools out of e2e tests

With plugins open by default, end-to-end tests that select elements by id
or text also matched the devtools panels. The workarounds were turning off
defaultOpen for every plugin or hiding #tanstack_devtools with CSS.

`hideInAutomation: true` skips the devtools DOM when navigator.webdriver is
true, which Playwright, Cypress, and Selenium set. Local development does
not change. The default is false, so suites that test the devtools
themselves keep working.

Fixes #318

* fix(devtools): ignore the open hotkey while hidden in automation

With hideInAutomation the devtools render nothing, but the open hotkey still
called toggleOpen(). That saved persistOpen and emitted trigger-toggled for
devtools that do not exist. The hotkey now uses the same check as the render.

* chore: raise the devtools size limit to 67 KB

* fix(devtools): resolve docs merge, let config win for hideInAutomation, ignore Escape while hidden
History 2026-10-29 16:57:25 +01:00
..
framework docs: install the framework adapters as dev dependencies everywhere (#547) 2026-10-29 16:17:48 +01:00
plugins docs(devtools-a11y): describe the plugin API that the package exports (#546) 2026-10-29 16:14:52 +01:00
reference feat: fix event bus port issues (#297) 2025-12-26 13:23:56 +01:00
superpowers/specs feat: redesign TanStack Devtools workbench (#492) 2026-08-10 14:12:44 +02:00
architecture.md feat(devtools-webmcp): add a development-only WebMCP tool registry (#531) 2026-09-23 13:27:22 +02:00
bidirectional-communication.md docs: comprehensive documentation overhaul (#363) 2026-03-04 13:52:26 +01:00
building-custom-plugins.md feat(event-client): strip the root EventClient export from production by default (#471) 2026-06-24 13:13:14 +02:00
config.json feat(devtools-webmcp): add a development-only WebMCP tool registry (#531) 2026-09-23 13:27:22 +02:00
configuration.md feat(devtools): add hideInAutomation to keep devtools out of e2e tests (#549) 2026-10-29 16:57:25 +01:00
devtools-utils.md fix(devtools-utils): align Svelte factory contracts (#504) 2026-08-20 11:22:18 +02:00
event-system.md docs: comprehensive documentation overhaul (#363) 2026-03-04 13:52:26 +01:00
installation.md docs: install the framework adapters as dev dependencies everywhere (#547) 2026-10-29 16:17:48 +01:00
overview.md feat: redesign TanStack Devtools workbench (#492) 2026-08-10 14:12:44 +02:00
plugin-configuration.md docs: remove duplicate page headings (#527) 2026-09-15 11:05:56 -05:00
plugin-lifecycle.md fix(devtools-utils): align Svelte factory contracts (#504) 2026-08-20 11:22:18 +02:00
plugin-workspace.md feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02:00
production.md feat(devtools-webmcp): add a development-only WebMCP tool registry (#531) 2026-09-23 13:27:22 +02:00
quick-start.md docs: install the framework adapters as dev dependencies everywhere (#547) 2026-10-29 16:17:48 +01:00
source-inspector.md feat(devtools): let the source inspector's open-source URL be configured (#517) 2026-09-23 10:41:07 +02:00
third-party-plugins.md feat(docs): add third party plugins documentation (#229) 2025-10-22 17:42:57 +02:00
vite-plugin.md refactor(devtools-vite): migrate from Babel to oxc-parser + MagicString (#397) 2026-05-13 16:13:22 +02:00
webmcp-tools.md feat(devtools-webmcp): add a development-only WebMCP tool registry (#531) 2026-09-23 13:27:22 +02:00