Skip to content

Fix debug panel persistence and controls#9

Merged
claude-do merged 1 commit intomainfrom
fix/debug-panel-persistence-controls
Mar 16, 2026
Merged

Fix debug panel persistence and controls#9
claude-do merged 1 commit intomainfrom
fix/debug-panel-persistence-controls

Conversation

@claude-do
Copy link
Collaborator

Summary

Fix two regressions in the temporary user-input debug panel:

  • only persist debug-panel visibility on dev hosts (t3-dev.claude.do / localhost)
  • stop the draggable header from swallowing button presses for Collapse and Off

Problem

After production promotion, the debug panel could remain visible without the query param because the enabled state was persisted in localStorage. On mobile, the entire header was also acting as the drag handle, which prevented the action buttons from working reliably.

Fix

  • gate persistence to dev-only hosts while still allowing the query param anywhere
  • reduce the drag handle to the title area so the action buttons receive normal pointer/click events

Validation

  • bun fmt
  • bun lint (repo currently has unrelated warnings only)
  • bun run --cwd apps/web build
  • bun typecheck is currently failing in unrelated server/web-push work already present in the repo

@claude-do claude-do merged commit d207337 into main Mar 16, 2026
3 of 4 checks passed
@claude-do claude-do deleted the fix/debug-panel-persistence-controls branch March 16, 2026 05:57
@github-actions github-actions bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 16, 2026
mcorrig4 added a commit that referenced this pull request Mar 16, 2026
Co-authored-by: Liam C. (do-box) <liam@chaintail.xyz>
claude-do added a commit that referenced this pull request Mar 16, 2026
Co-authored-by: Liam C. (do-box) <liam@chaintail.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants