0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e
Manuel Schiller bbf9b75808
fix(router-devtools-core): restore embedded panel styling (#8888)
* fix(router-devtools-core): restore embedded panel styling

All devtools size tokens are `calc(var(--tsrd-font-size) * n)`, but only the
floating devtools set `--tsrd-font-size` (via JS). The embedded
TanStackRouterDevtoolsPanel never had it defined, so every size declaration
was dropped: inherited font sizes, zero padding/gap/indentation and invisible
route status dots. Regressed in #1222 (v1.17.0).

Fall back to `1rem` when the variable is unset. Floating behavior is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(react-router): read devtools mode from a validated search param

Use root route validateSearch + useSearch instead of raw URLSearchParams,
and render the shadow DOM panel through a portal instead of mounting the
whole app in a shadow root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(react-router): validate devtools search param with zod

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(react-router): add links to switch devtools variants

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-08 01:55:41 +01:00
..
e2e-utils test(e2e): let Playwright manage application servers (#8357) 2026-09-14 10:54:23 +02:00
eslint-plugin-start chore: localize package dependencies (#8078) 2026-08-15 13:42:24 +02:00
react-router fix(router-devtools-core): restore embedded panel styling (#8888) 2026-11-08 01:55:41 +01:00
react-start docs(start): troubleshoot server and client execution boundaries (#8394) 2026-11-05 21:26:23 -07:00
solid-router fix(router-generator): type route-group layouts with full path '/' (#8857) 2026-11-03 19:54:33 +01:00
solid-start chore(deps): bump srvx to ^1.0.0 and @vitejs/plugin-rsc to ^0.5.37 (#8708) 2026-10-14 15:24:04 +02:00
streaming-ssr-fixtures optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
streaming-ssr-specs optimize streaming (#8204) 2026-09-16 22:38:25 +02:00
vue-router fix(router-generator): type route-group layouts with full path '/' (#8857) 2026-11-03 19:54:33 +01:00
vue-start chore(deps): bump srvx to ^1.0.0 and @vitejs/plugin-rsc to ^0.5.37 (#8708) 2026-10-14 15:24:04 +02:00
.gitignore rsbuild plugin (#7228) 2026-04-24 03:26:03 +02:00
AGENTS.md agents (#8258) 2026-09-15 22:36:13 +02:00
scroll-restoration-lifecycle.ts fix(router-core): restore native scroll restoration on reload (#8519) 2026-09-27 14:31:49 +02:00
streaming-ssr-assertions.ts optimize streaming (#8204) 2026-09-16 22:38:25 +02:00