Skip to content

feat(tui): group session tabs by folder - #52928

Closed
mfenderov wants to merge 5 commits into
anomalyco:devfrom
mfenderov:session-groups
Closed

mfenderov wants to merge 5 commits into
anomalyco:devfrom
mfenderov:session-groups

Conversation

@mfenderov

@mfenderov mfenderov commented Oct 3, 2026 •

Copy link
Copy Markdown

Issue for this PR

Related to #44589

Type of change

  • New feature
  • Bug fix
  • Refactor / code improvement
  • Documentation

What does this PR do?

Session tabs were one flat list, so working across projects meant hunting by title. This groups them by project folder in the two places you pick sessions: the vertical rail gets collapsible folder sections (persisted), and the session dialog groups by folder instead of date.

I verified the grouping, collapse persistence, drag mapping, and status refresh against the implementation and its tests; details are in the test files.

How did you verify your code works?

  • New unit tests for the row grouping model (order, collapse, drop mapping, same-name folders)
  • Component tests: grouped status refresh, add-button placement, updated rail suites
  • Full tui suite green, typecheck clean, bun run check 36/36
  • Manual: local build with sessions across two projects

Screenshots / recordings

image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@mfenderov
mfenderov force-pushed the session-groups branch 3 times, most recently from 5dd94b8 to 10f2a91 Compare October 4, 2026 07:39
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@mfenderov
mfenderov marked this pull request as ready for review October 4, 2026 08:12
@mfenderov
mfenderov marked this pull request as draft October 4, 2026 08:23
Vertical rail sections and session dialog group tabs by project folder. Includes collapse persistence, top new-session entry, and live status refresh.
Unknown-group header fallback, root key normalization, comment and test idiom alignment, explicit row types.
Tab detail rows render only when they add info beyond the header (worktree branch). Row heights follow the same predicate so offsets stay exact.
@mfenderov
mfenderov marked this pull request as ready for review October 5, 2026 10:16
@thdxr
thdxr changed the base branch from v2 to dev October 10, 2026 19:28
@mfenderov mfenderov closed this by deleting the head repository Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant