Add a collapse-idle action to the sidebar#1210
Add a collapse-idle action to the sidebar#1210ponbac wants to merge 2 commits intopingdotgg:mainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1831722e98
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
What Changed
Collapse idle projectsaction to the sidebar header.Why
The sidebar can accumulate a lot of expanded projects during normal use. This adds a one-click cleanup path without collapsing the project you are currently in or other projects that still have visible thread activity.
UI Changes
Video:
screenrecording-2026-03-19_16-33-08.mp4
Sorry that the mouse cursor is not visible in the recording.
Screenshot:
Added this tiny icon. Open for suggestions on a more fitting icon.
Checklist
Note
Add a 'Collapse idle projects' button to the sidebar
FoldVerticalIconbutton to the Projects header in Sidebar.tsx that collapses all expanded projects not considered "non-idle".collectSidebarNonIdleProjectIdsutility in Sidebar.logic.ts.threadStatusByIdandrunningTerminalThreadIdsmaps, removing theTerminalStatusIndicatorinterface andterminalStatusFromRunningIdshelper.Macroscope summarized 5d7f5ec.