opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Opencode Web: "Open Project" does not show some folders

Open conradkoh opened this issue 10 months ago • 4 comments

Description

Some projects cannot be selected in opencode. I need to run opencode in the folder and choose it from the recents list. Unable to navigate to actually find in the command dialog that appears when clicking "Open Project"

Plugins

No response

OpenCode version

1.1.11

Steps to reproduce

  1. Run opencode web in a terminal at ~/
  2. Click on open project in the web UI
  3. try to find a project in ~/Documents/Repos by searching the folder name
  4. No results

Screenshot and/or share link

No response

Operating System

Tahoe 26.2

Terminal

iTerm2

conradkoh avatar Jan 10 '26 05:01 conradkoh

This issue might be a duplicate of existing issues. Please check:

  • #7111: Recent projects not found in 'Open Project' dialog search
  • #6490: opencode web UI cannot browse or select folders outside the default user profile (e.g., D:\code\python)
  • #6978: Can not switch the project in web mode

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 10 '26 05:01 github-actions[bot]

Title

"Improve 'Open Project' Dialog: Add Unified Folder Browser with Recent Folders & Cross-Platform Support"

Description

Currently, the "Open Project" dialog in OpenCode Web lacks an intuitive folder browsing experience, particularly for:

  • Cross-platform folder navigation (Windows, macOS, Linux)
  • Discovering projects in nested directories
  • Quick access to frequently-used folders

Current Problem

  1. Users cannot browse or navigate the file system through the "Open Project" dialog
  2. Only recently accessed projects appear in the suggestions
  3. Searching by folder name doesn't return results
  4. No visual folder hierarchy/tree view available

Proposed Solution

1. Folder Browser Tree View

  • Display a folder structure starting from the base disk (e.g., C:\ on Windows, / on macOS/Linux)
  • Expandable/collapsible folder tree for hierarchical navigation
  • Allow users to drill down through directories to locate projects

2. Recent Folders Panel

Instead of searching all folders:

  • Display the first 3 most recently opened folders by default
  • Include a "Show More" button to reveal additional recent folders
  • Recent list should populate from:
    • CLI usage history
    • Web interface browsing history
    • Recent opens across both platforms

3. Cross-Platform Compatibility

  • Windows: Display drive letters (C:, D:, etc.) at base level
  • macOS: Display Volumes and home directory shortcuts
  • Linux: Display common mount points and home directory
  • Unified navigation experience across all platforms

4. Quick Actions

  • Breadcrumb navigation showing current path
  • Search/filter within current folder
  • Common shortcuts (Desktop, Documents, Downloads, etc.)

Expected Behavior

  1. User opens "Open Project" dialog
  2. Sees Recent Folders section with top 3 folders + "More" button
  3. Can expand folder tree from root to navigate to project location
  4. Can select any folder containing a valid project

Benefits

  • ✅ Better discoverability for nested projects
  • ✅ Faster access to frequently-used folders
  • ✅ Intuitive cross-platform experience
  • ✅ Reduced reliance on CLI for project discovery

saikethan27 avatar Jan 29 '26 16:01 saikethan27

I have the same issues, running on ubuntu

edit: after upgrading to v1.1.49 i can manually start entering the full path and opencode will automatically list the directories, and i am able to use tab to auto complete

Image

evannotfound avatar Feb 03 '26 13:02 evannotfound

To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

github-actions[bot] avatar Apr 05 '26 03:04 github-actions[bot]