feat(agent-manager): align and persist collapsible headers - #12844
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Previous Review Summaries (3 snapshots, latest commit 43a222d)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 43a222d)Status: 1 Issue Found | Recommendation: Address before merge Overview
Incremental review of Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous review (commit cf4a8f2)Status: 1 Issue Found | Recommendation: Address before merge Overview
All 9 findings from the previous review are resolved in Issue Details (click to expand)SUGGESTION
Files Reviewed (11 files)
Fix these issues in Kilo Cloud Previous review (commit 5f95cdc)Status: 9 Issues Found | Recommendation: Address before merge Overview
The shared Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (16 files)
Reviewed by kimi-k3 · Input: 18.2K · Output: 10K · Cached: 223.1K Review guidance: REVIEW.md from base branch |
5f95cdc to
cf4a8f2
Compare
| } | ||
| const expanded = !project().expanded | ||
| props.onExpand(project().id, expanded) | ||
| if (!project().active && project().trusted && !project().missing) props.onSelect(project().id) |
There was a problem hiding this comment.
With this wiring, it seems that an expanded inactive project gets collapsed when being selected. Worth checking.
There was a problem hiding this comment.
Previously it only expanded when clicking on the little icon.
There was a problem hiding this comment.
Got it, thanks for the explanation
…header-collapse-persistence feat(agent-manager): align and persist collapsible headers

The Agent Manager used separate header layouts for projects, user-defined sections, and sessions. Their chevrons and labels could land in different columns, and project expansion state was not consistently restored across reopen and reload.
This change introduces a shared SidebarSectionHeader component with a fixed leading control column and reusable label, count, and action slots. Project expansion state is persisted for both catalog projects and the pinned project, then restored when project contexts initialize. Existing selection, trust, rename, context-menu, and action behavior is preserved.
Before:

After:
