Skip to content

Web project picker is empty until a search is entered #37611

Description

@ndj888

Description

In opencode web, opening Add Project initially shows "No folders found" even though the startup/home directory contains folders.

The empty filter is sent to /find/file as query=, which returns an empty list. Entering a path makes folders appear, so project selection is not discoverable on first open.

Plugins

Reproduces without plugins.

OpenCode version

1.18.2

Steps to reproduce

  1. Run opencode web --hostname 0.0.0.0 --port 8088.
  2. Open the Web UI.
  3. Click Add Project.
  4. Observe that the picker says no folders were found.

Expected: list folders in the startup/home directory.
Actual: empty picker until text is entered.

Screenshot and/or share link

Network request: GET /find/file?directory=<home>&query=&type=directory&limit=50 returns [].

Operating System

macOS

Terminal

iTerm2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions