[FEATURE]: desktop: Add Project only discoverable inside Settings in projects-first sidebar layout

Đang mở
#65,297 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reproducing the two settings toggles (Interface layout = Side tabs, Organize vertical sidebar = Projects) and noting that Home and Add Project live in a different part of the desktop UI than the projects-first sidebar. Read the sidebar component that renders the Projects section header and the New Session buttons, then find the Add Project entry point currently reachable only from Settings and the existing Home route. Done means Add Project is reachable from the projects-first layout and Home is still navigable; expect to touch more than one view and to confirm the placement with a maintainer before building.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/desktop platform/windows type/feature version/v2
Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
What do you want to change / add?

In OpenCode Desktop v2.3.2, when the projects-first sidebar layout is enabled (Interface layout = Side tabs, Organize vertical sidebar = Projects), the Home screen is no longer reachable, and the only discoverable Add Project entry point is buried inside Settings. The two visible "New Session" buttons (text + +) only create sessions inside the currently open project folder; neither offers a folder/project picker. Adding a second project becomes effectively undiscoverable unless you already know to look in Settings.

Please surface Add Project as a first-class, visible action in this layout — e.g. an "Add Project" item on the Projects sidebar section header, next to the two New Session buttons, or in the new-session/project picker. Also keep a route back to Home, or preserve Home's Add Project affordance somewhere in the new layout.

Benefit

Project management is a primary workflow action, not a setting. Making it visible removes the dead-end where a user in the projects-first layout cannot see how to add another folder, and reduces confusion / support requests.

Steps to reproduce
  1. Settings → General → Interface layout → Side tabs.
  2. Settings → Experimental → Organize vertical sidebar → Projects.
  3. Home screen is gone; there is no navigation back to Home from the sidebar.
  4. Only two "New Session" buttons are visible (text + +).
  5. Both only create sessions in the current project folder; no folder picker appears.
  6. The only working way to add a project is "Add Project" inside Settings.
Expected behavior

Adding a project should be a visible action in the projects-first layout (Projects section header or new-session picker), and Home should remain reachable.

Actual behavior
  • Home disappears entirely in this layout, with no way back from the sidebar.
  • Both New Session buttons stay inside the current project.
  • "Add Project" is only discoverable inside Settings.
  • Changelog entry points (#57962, #59607, #56952) were not visible or discoverable in this layout — the Settings entry was the only one found.
Environment
  • opencode version: 2.3.2 (Desktop; version from Runtime Diagnostics Snapshot and Desktop main.log; opencode CLI not in PATH in this shell)
  • OS: Windows_NT 10.0.26300.9974 (win32 x64) — via cmd /c ver
  • Terminal: Desktop app (no terminal env vars apply to the app)
  • Shell: C:\WINDOWS\system32\cmd.exe (%ComSpec%)
  • Install/channel: latest, official Desktop installer
  • Active plugins: ./plugins/hk-weather-tts, ./plugins/session-folder (from ~/.config/opencode/opencode.json)
Additional context
  • Discoverability / UX report, reproducible on every launch with this layout.
  • Current workaround: add the project from inside Settings.
  • Related issues: #48882, #55446, #60241, #58188, #56903.
  • gh CLI not installed, so drafted but not submitted automatically.
  • No secrets, tokens, or private URLs included.
Ngôn ngữ chính
TypeScript
Star
227k
Fork
30.7k
Merge trung bình
3 giờ 57 phút
Pull request đã merge (30 ngày)
484

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của anomalyco/opencode

Tất cả issue của anomalyco/opencode

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.