[Feature]: Collapse large subagent session groups in the sidebar
Author: Open-SquillaCreated Aug 14, 2026Updated Sep 16, 2026
Labelsenhancement
Problem
When one parent session spawns several subagent sessions at the same time, every child session is rendered as an individual sidebar row. With four or more children, the expanded rows quickly make the Chats ledger long and push unrelated recent sessions out of view.
The current collapse controls operate at the whole Chats-family or Project level. There is no parent-session-level disclosure for its subagent rows.
Proposed behavior
- Keep the current inline child-session presentation when a parent has one to three direct subagent sessions.
- When a parent has four or more direct subagent sessions, render the children as a compact, collapsed group by default.
- Show the child count and preserve meaningful running, failed, completed-unread, or other attention state in the collapsed summary.
- Let the user expand the group to inspect or select every child session and collapse it again without affecting other parents.
- Keep hierarchy and selection behavior unchanged once expanded.
- Add focused Web UI coverage for the threshold, expansion/collapse behavior, and attention-state visibility.
Area
Web UI
Alternatives considered
Users can collapse the entire Chats section or a Project, but those controls also hide unrelated sessions and are too coarse for a single parent with many subagent children.
Source: opensquilla/opensquilla