claude-code - 💡(How to fix) Fix Feature request: persist collapsed/minimized state of Preview log panel [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46265Fetched 2026-04-11 06:24:52
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

The Claude Preview MCP injects a log panel (showing stdout/stderr from the dev server) into the browser preview window. This panel does not remember its collapsed/minimized state between sessions — it reopens expanded every time.

Root Cause

The Claude Preview MCP injects a log panel (showing stdout/stderr from the dev server) into the browser preview window. This panel does not remember its collapsed/minimized state between sessions — it reopens expanded every time.

Fix Action

Workaround

None known.

RAW_BUFFERClick to expand / collapse

Summary

The Claude Preview MCP injects a log panel (showing stdout/stderr from the dev server) into the browser preview window. This panel does not remember its collapsed/minimized state between sessions — it reopens expanded every time.

Expected behavior

If the user minimizes/collapses the log panel, that preference should persist so it stays minimized on subsequent previews.

Current behavior

The log panel resets to its expanded state each session, requiring the user to manually minimize it every time.

Workaround

None known.

Environment

  • macOS
  • Claude Code desktop app

extent analysis

TL;DR

The log panel's state can likely be persisted by storing its collapsed/minimized state in local storage or a user preferences file.

Guidance

  • Investigate using local storage or a user preferences file to store the log panel's state, allowing it to be retrieved and applied on subsequent sessions.
  • Consider adding a feature to save the user's preference when the log panel is minimized or collapsed, and load this preference when the preview window is initialized.
  • Review the Claude Code desktop app's existing storage mechanisms to determine the best approach for storing user preferences.
  • Verify that the proposed solution does not introduce any security or data privacy concerns.

Example

No code snippet is provided due to lack of specific technical details.

Notes

The solution may require modifications to the Claude Preview MCP and/or the Claude Code desktop app, and may involve collaborating with the development team to implement the necessary changes.

Recommendation

Apply a workaround by storing the log panel's state in local storage or a user preferences file, as this is likely to be a more feasible solution than modifying the existing application architecture.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

If the user minimizes/collapses the log panel, that preference should persist so it stays minimized on subsequent previews.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING