opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Restore the compact Projects sidebar in OpenCode Desktop

Open AntonMrCoder opened this issue 6 days ago • 3 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

After updating to OpenCode Desktop 2.4.1, the old Projects sidebar was replaced by Customize → Group by Project. I use the sidebar to switch between projects and resume recent work. The new layout makes both harder.

  1. I can no longer reorder projects. I used to drag project headers into the order I wanted. Now the order depends on the tabs inside each group. Please bring back drag-and-drop for project headers and preserve the saved order independently of session sorting.
  2. Expanding a project shows too many sessions. The old view showed five recent sessions and a Show more button. The new view shows every open tab in the project, even with Recent sessions turned off. Please show five sessions by default and put the rest behind Show more, without closing any tabs.
  3. The newest sessions can end up at the bottom. With Manual sorting, recently used sessions can appear below older ones. Updated helps, but open tabs still appear above more recently updated sessions that aren't open. Please offer a project view sorted by last activity, newest first, regardless of whether a session is open.

To reproduce: On OpenCode Desktop 2.4.1 for Windows, use Side tabs → Customize → Group by Project. Keep several projects and more than five tabs in one project, expand it, and compare Manual and Updated sorting.

Bringing back Projects as an optional layout would also solve this without changing Customize for people who prefer it. Related: #60241.

AntonMrCoder avatar Nov 25 '26 11:11 AntonMrCoder

Thanks for the clear write-up, @AntonMrCoder!

You're asking for the compact Projects sidebar to come back as an optional layout in OpenCode Desktop, or for Customize → Group by Project to work like it. That means three things: project headers you can reorder by drag-and-drop, with the order kept apart from session sorting; five sessions per expanded project, with the rest behind Show more and no tabs closed; and a project view sorted by last activity, newest first, whether or not a session is open.

I've marked this as a feature request. About point 3: the Sort by menu says "Open tabs stay above recent sessions", so open tabs sorting above newer sessions is how the current view is built. A sort by last activity alone would be a new option. Maintainers will consider this, but I can't promise anything about whether or when.

These issues and PRs are related, closest first:

  • #60241: an opt-in Side bar with five recent sessions per project, More/Show less and a saved manual order of projects. It covers much of what you describe.
  • #64202: Desktop sidebar requests, including dragging between projects.
  • #55446 / #51759 / #44589: grouping sidebar sessions or tabs by project.
  • #61746: session management (pin, hide, change order, tree view).
  • #48882: bringing back the legacy persistent sidebar as an option.
  • #64456: a closed PR that added pins to the experimental Projects sidebar.

opencodejr[bot] avatar Nov 25 '26 11:11 opencodejr[bot]

Thanks for the detailed write-up. I would like to add a related use case from OpenCode Desktop 2.4.1 on Windows.

To be specific about the layout I miss: in the old Side tabs view, projects were listed at the top. Clicking a project expanded the list of sessions inside it. When I opened a session and started working, that session also appeared in a separate area below as an open working tab, so I could always see it and switch back without reopening the project. The new Customize view merges projects and sessions into one list, and when I click a session in another project, the previous preview tab is replaced. The first session keeps running in the background, but its tab disappears, so I have to reopen the project and the session to check on it.

Three things would help a lot:

  • An optional Projects layout that restores the old two-part behavior: projects at the top, their sessions underneath, and open working sessions in a separate area below.
  • Keep an open preview tab when its session is still running, or offer an option for persistent session tabs.
  • Show a small unread or needs-attention indicator on collapsed project headers, so a finished response is visible without expanding every project. Right now the header only shows the number of open tabs.

One more related problem: when the agent starts an image generation or another background job, it ends the turn and the desktop plays the completion sound and shows "Response ready" while the job is still running. The session then resumes when the job finishes. This is misleading because the notification looks like the whole task is done. It would help to suppress the completion notification while background jobs are running, or use a distinct "waiting for background job" state without the completion sound. This is similar to #65069, which was closed as intended for shell jobs, but the same confusion applies to image jobs. Related: #64338.

For the status model, #65953 is related. I understand this is a design tradeoff, and I appreciate the work on 2.4.x. An optional setting or layout would be enough; I am not asking to remove Customize for people who prefer it.

ImEnrok avatar Nov 25 '26 20:11 ImEnrok

Closing as a duplicate of #66491, which explicitly cites and consolidates #66353's compact Projects sidebar request.

neriousy avatar Nov 26 '26 06:11 neriousy