Repository navigation
fix(tasks): let Linear section headers collapse and expand - #34173
Conversation
Walkthrough
Priority: Merge Risk:
|
|
Linear Tasks showed disclosure arrows on section headers, but the headers could not collapse. This change lets click, Enter, or Space fold only that section’s issues while keeping its count visible. Refresh preserves an explicit fold within the mounted table; a new mount starts expanded. Full-path review completed four correctness rounds and three bounded fix rounds on Verification: 15 tests passed across the two named renderer/grouping files; the final renderer suite passed 3/3, including the real button’s 100/1,000-key operation contract. Normal pre-commit checks passed. The corrected-head full-app screenshot passed on M4Air: one full-width 36px native button, complete keyboard-focus ring, Todo count 2 collapsed and In Progress count 1 expanded with ENG-103 visible. The loop independently inspected this image. Provider-boundary fixture data was used in the actual app; live Linear authentication, larger-dataset scroll travel and Electron latency were not measured. The existing scrolling container is unchanged. All test-app/keeper processes exited gracefully, driver detached, ports freed and real config hashes remained unchanged. Main’s type fixes from #34202 are included by conflict-free merge For Brennan’s review |
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
183ef9e6-8ac8-4daa-bf7d-765b8c8afedb
Files selected for processing: 1-
src/renderer/src/components/task-page/linear/IssueTable.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-

Linear task sections showed a disclosure arrow, but clicking it did nothing because the header had no interaction or expansion state.
Section headers now collapse and reopen their own issues by click, Enter, or Space. The arrow and accessible expanded state follow the section, while its count stays visible. Folds survive refreshed rows within the mounted table; returning to a newly mounted table starts expanded. Keyboard focus stays visible inside the full-width 36px header.
Plan: reuse existing group identities and the established native disclosure pattern, keep expansion local to the table, and omit only the folded section’s rows. Preserve counts, sibling sections and existing issue actions.
Review path: full, promoted after a second fix round. The review added an operation-count contract for remembered collapsed keys, corrected primitive styling, then fixed the clipped focus ring demonstrated in the branch screenshot. Final correctness, architecture, performance and source-readiness reviews pass with no accepted negative user-facing tradeoff or deferred finding.
Validation: two named renderer/grouping files passed 15 tests; the exact final renderer suite passed 3/3, including mouse/keyboard activation, independent groups, counts, refresh/reorder, ungrouped rows, remount reset and the N/10N operation contract at 100/1,000 remembered keys. Normal pre-commit checks passed. These DOM/performance tests do not measure Electron input latency. The final branch screenshot passed on M4Air: full-width 36px target, complete inset focus ring, Todo 2 collapsed and In Progress 1 expanded. It uses provider-boundary fixture data in the actual app; live Linear authentication and larger-dataset scroll travel were not exercised. CI is green on merge head 59c403a after including main’s #34202 type fixes. The conflict-free merge changed no Linear disclosure, grouping, focus, scrolling or style code, so the existing screenshot evidence remains valid.
Builds on #21302 by @dev-isaacmello; the original contributor commit retains its author. The change keeps folding local to the table and omits extra model/reset bookkeeping.
Tracked in #21228. Tracked in STA-7782.