devtools/docs
Harry 589304f461
feat(devtools): let the source inspector's open-source URL be configured (#517)
"ide-warp" requests __tsd/open-source, which only @tanstack/devtools-vite
serves. Anything else that injects data-tsd-source -- an SWC plugin under
Next.js, for instance -- drives the overlay fine but has no endpoint to answer
the click, and fetch(...).catch(() => {}) hides the 404, so the click looks
like it did nothing.

openSourceUrl takes the clicked element's data-tsd-source value and returns
the URL to request. The whole URL rather than just its base, because another
host generally wants another parameter shape: Next's own editor endpoint takes
the position split into file, line1 and column1.

A function rather than a string: settings are persisted to local storage and
take priority over config on the next load, so a string would keep serving
whatever the app was configured with the first time it ran. JSON.stringify
drops functions, which keeps the key out of storage the way customTrigger
already is.
History 2026-09-23 10:41:07 +02:00
..
framework fix(devtools-utils): align Svelte factory contracts (#504) 2026-08-20 11:22:18 +02:00
plugins a11y plugin (#326) 2026-03-13 15:18:56 +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 fix(devtools-utils): align Svelte factory contracts (#504) 2026-08-20 11:22:18 +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: redesign TanStack Devtools workbench (#492) 2026-08-10 14:12:44 +02:00
configuration.md feat(devtools): rainbow trigger, persist strip fold, and pane gutters (#510) 2026-08-19 18:50:38 +02: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 feat: add Svelte 5 adapter and devtools-utils Svelte factories (#366) 2026-06-23 11:12:54 +02: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(event-client): strip the root EventClient export from production by default (#471) 2026-06-24 13:13:14 +02:00
quick-start.md feat: add Svelte 5 adapter and devtools-utils Svelte factories (#366) 2026-06-23 11:12:54 +02: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