From 4f50997dc83c2b425f2653d9165c29473121f3e2 Mon Sep 17 00:00:00 2001 From: Dhavanesh24cs412 Date: Thu, 15 Jan 2026 23:49:31 +0530 Subject: [PATCH 1/2] fix(devtools): make panel height responsive for fullscreen view - Replace hardcoded 400px height with viewport-relative calculation - Height now scales as 50% of viewport height - Respects minimum (300px) and maximum (400px) constraints - Fixes issue where devtools panel was fixed to small height in fullscreen - Panel now properly adapts to different screen sizes Fixes #320 --- packages/devtools/src/context/devtools-store.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/devtools/src/context/devtools-store.ts b/packages/devtools/src/context/devtools-store.ts index 94e20032..1a258281 100644 --- a/packages/devtools/src/context/devtools-store.ts +++ b/packages/devtools/src/context/devtools-store.ts @@ -112,10 +112,12 @@ export const initialState: DevtoolsStore = { triggerHidden: false, customTrigger: undefined, }, - state: { - activeTab: 'plugins', - height: 400, - activePlugins: [], - persistOpen: false, - }, +state: { + activeTab: 'plugins', + height: typeof window !== 'undefined' + ? Math.min(400, Math.max(300, window.innerHeight * 0.5)) + : 400, + activePlugins: [], + persistOpen: false, +}, } From 882bf14c6c616123d809a135a63a7061c339988c Mon Sep 17 00:00:00 2001 From: Dhavanesh24cs412 Date: Fri, 16 Jan 2026 00:24:50 +0530 Subject: [PATCH 2/2] fix: replace workspace:* with ^0.4.0 in react-start example (fixes #321) --- examples/react/start/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/start/package.json b/examples/react/start/package.json index 84ead67f..5af916f2 100644 --- a/examples/react/start/package.json +++ b/examples/react/start/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@tailwindcss/vite": "^4.0.6", - "@tanstack/devtools-event-client": "workspace:*", + "@tanstack/devtools-event-client": "^0.4.0", "@tanstack/react-devtools": "^0.9.2", "@tanstack/react-router": "^1.132.0", "@tanstack/react-router-devtools": "^1.132.0",