Skip to content

fix(app): add file tree toggle to new session header - #34828

Closed
shenyankm wants to merge 1 commit into
anomalyco:devfrom
shenyankm:file-tree-toggle
Closed

shenyankm wants to merge 1 commit into
anomalyco:devfrom
shenyankm:file-tree-toggle

Conversation

@shenyankm

@shenyankm shenyankm commented Jul 2, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #29951

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds the missing File Tree button to the new desktop session header.

The old header already had a file tree toggle, and the file tree panel already opens from layout.fileTree. The new header only rendered review/status actions, so enabling File Tree in settings could still leave no visible button to open it.

This PR wires the new header button to the existing file tree label, shortcut, open state, and toggle action.

How did you verify your code works?

  • cd packages/app && npm exec --yes [email protected] -- bun test --preload ./happydom.ts ./src/components/session/session-header-actions.test.ts ./src/pages/session/helpers.test.ts ./src/components/command-tooltip-keybind.test.ts
  • cd packages/app && npm exec --yes [email protected] -- bun typecheck
  • cd packages/app && git diff --check
  • Started desktop dev app locally and confirmed the app launches.

Screenshots / recordings

Not attached.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@shenyankm
shenyankm marked this pull request as ready for review July 2, 2026 02:52
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(app): advanced settings toggles for desktop toolbar buttons do nothing in new layout

1 participant