GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(tui): group session tabs by folder by mfenderov · Pull Request #52928 · anomalyco/opencode

Conversation

@mfenderov

@mfenderov mfenderov commented Oct 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@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:

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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. 👍

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mfenderov
mfenderov force-pushed the session-groups branch from 4f8ecbf to 33fca83 Compare October 4, 2026 08:08
@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
mfenderov added 5 commits October 5, 2026 12:15
@mfenderov
feat(tui): group session tabs by folder
cddb99d
Vertical rail sections and session dialog group tabs by project folder. Includes collapse persistence, top new-session entry, and live status refresh.
@mfenderov
fix(tui): review follow-ups for grouped session tabs
0f088d5
Unknown-group header fallback, root key normalization, comment and test idiom alignment, explicit row types.
@mfenderov
refactor(tui): consistency polish for grouped session tabs
ad23ef9
@mfenderov
fix(tui): hide folder detail duplicated by group header
e9768ee
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
fix(tui): collapse grouped tab rows without detail
096604d
@mfenderov
mfenderov force-pushed the session-groups branch from ffbc52d to 096604d Compare October 5, 2026 10:15
@mfenderov
mfenderov marked this pull request as ready for review October 5, 2026 10:16
@TommasoRonchin TommasoRonchin mentioned this pull request Oct 8, 2026
[FEATURE]: Automatically group desktop session tabs by project #44589
Open
1 task done
This was referenced Oct 9, 2026
feature request: group / folder sessions #54115
Open
Progress Spinner Coloring #54215
Open
@thdxr
thdxr changed the base branch from v2 to dev October 10, 2026 19:28
@opencode-agent opencode-agent Bot mentioned this pull request Oct 11, 2026
[FEATURE]: Folders (collapsible groups) in the TUI session list #54551
Closed
@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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mfenderov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.