Repository navigation
Conversation
|
@TylonHH @zhuzhutai @rahbi4-source — you offered hands-on grouping tests in #57896 and #59220. Feedback on this alternative Side bar mode would be welcome. This is an optional fourth interface mode; Top tabs, Side tabs and Inbox keep their current behavior. It combines project-grouped history (or a flat List) with a bounded Running shelf across projects, including unopened sessions and subagents. The shelf stays visible regardless of grouping, so waiting work remains discoverable. Ways to test:
Useful scenarios: several projects/worktrees or same-named paths; switching all four modes; List/By project and More/Show less; running or input/approval-waiting sessions outside the open tabs; child sessions; close/hide followed by Home/search reopen; reload and saved ordering. Please leave the OS, exact build/commit, selected mode, expected/actual result and reproduction steps here. Screenshots or recordings are welcome. Grouping follows the existing project identity; nested folder trees, archive controls and custom tags are outside this change. Maintainer design review is still pending. |
|
OS: Windows 11 Pro, version 25H2 (build 26200.9711) Build: source build, branch joe-ieta:sidebar-mode, commit a64180f, run as dev desktop (bun run dev:desktop), tested 2026-11-01 Mode: Side bar (Settings → Preferences → Interface → Side bar); also switched through Top tabs, Side tabs and Inbox for comparison What works (expected = actual): Project grouping in the history: groups are correct, my several projects render as separate groups. Expected: collapsible project groups, like the Inbox mode's collapsible sections, with the collapsed state persisted across reloads. I run 7-8 completely different projects/products in parallel. With five visible sessions per group, the Side bar becomes a wall of 35-40 rows and I cannot pick the project I need at a glance. Collapsing a group to its header (persisted across reloads) would make this mode a true daily driver for multi-project work. Not a blocker for me — offered as evolution. Overall: the mode is already useful as is; I am moving my daily workflow onto this build. Happy to retest on Windows x64 after updates. |
|
@rahbi4-source thanks for all ! now collapsible project groups available. |
|
Hi! Collapsible project groups: works, thank you! Collapsing a group to its header via the chevron is exactly what I asked for, and it makes my 7-8 project setup navigable again. |
|
@rahbi4-source Thanks again! You may take a look at the new release. |
|
Follow-up on the new commits, same setup as my first review (Windows 11 Pro, version 25H2, build 26200.9711; dev desktop from source), now at b88b94a: Collapsible project groups: works, thank you! Collapsing a group to its header via the chevron is exactly what I asked for, and it makes my 7-8 project setup navigable again. |
|
Thanks for the follow-up! The report references |
|
Hi! Collapsed-group indicator: fixed. A collapsed group that contains an unread or reply-waiting session now shows an indicator on its header. Happy to retest the shelf fix on Windows x64 whenever you push. |
Always group Side bar sessions by project and label the section Projects. Share project menus and folder selection with Home, support closing and reopening projects, and expose session export. Register new draft tabs before asynchronous navigation so cold page loads cannot skip persistence. Adapt the useful project-management ideas from PR #2 to the current Home implementation. Co-authored-by: Francesco Boes <[email protected]> (cherry picked from commit ca61e33)
|
Side bar now uses a single Projects view with Home’s project menus and an Add project button. Closing a project preserves its drafts and keeps active sessions visible in Running. The update merges cleanly with |
|
Thanks for all the work on this, @joe-ieta, and for the detailed write-up and screenshots! This PR has about 2,400 changed lines outside tests across 37 files, which is too large to review well in one go. Besides the new Side bar mode, it changes code that other parts of the app use: the shared session index, the server runtime and registry, Home's project menu, and the Inbox and tab components. Could you split it into smaller pull requests that each do one thing and can be reviewed on their own? For example:
It may also help to settle the design in #60241 before the final part, since it is still waiting for maintainer design review. You're welcome to open these as separate pull requests. |
|
Split on current upstream
Parts 1–3 are ready for independent review. Following review, #62845 is now a pure module move; inventory support is deferred to its actual consumer. No fork release changes are included. Combined validation passed 33 check tasks, 96 unit tests and 102 Chromium regressions; the first three parts were also checked independently. This oversized PR remains closed. |
Issue for this PR
Refs #60241. Supersedes #60446.
Type of change
What does this PR do?
Choose Side bar under Interface in Settings to work across projects from one navigation panel.
The shared project menu builds on joe-ieta/opencode#2.
How did you verify your code works?
dev@adb0053d09.git merge-treereports a clean merge.bun run checkpassed all 33 tasks. The app'stypecheck:tscpassed. Windows checks used an equivalent local import for the declaration symlink.Visual
Screenshots / recordings
Checklist