feat(web): add optional compact thread rows - #11746
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThis change adds a ChangesCompact sidebar rows
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant User
participant AppearanceSettingsPanel
participant Sidebar
participant createSidebarSortingStrategy
User->>AppearanceSettingsPanel: Toggle compact-thread-rows
AppearanceSettingsPanel->>Sidebar: Set compactSidebarThreadRows
Sidebar->>Sidebar: Render compact thread and draft rows
Sidebar->>createSidebarSortingStrategy: Pass compactThreadRows
createSidebarSortingStrategy->>Sidebar: Calculate 64px drag positions
Suggested reviewers: Merge Risk: ⚪ Minimal · up to Compact thread rows remain opt-in, preserve the default layout, and have matching settings, rendering, and drag-positioning support. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Active and pinned thread cards reserve three lines for metadata, limiting how many threads fit in the sidebar. This adds an optional two-line layout in Settings → Appearance → Interface, with standard cards remaining the default.
Compact rows retain project identity, title, status, provider icons, terminal indicators, and PR badges. Branch, model, and working duration are available on hover. The client-local preference supports settings search and restoring defaults; drag geometry accounts for both card heights.
Screenshots
Appearance setting
Screenshots use seeded demo threads and illustrative PRs. Working state and mixed provider assignments use browser-response fixtures; the captures show UI presentation rather than live agent execution or GitHub synchronization.
Verification
Related work
Summary by CodeRabbit