fix: Open project dialog shows 'No folders found' in web UI #5511

Closed
opened 2026-02-16 17:53:34 -05:00 by yindo · 0 comments
Owner

Originally created by @lxxonx on GitHub (Jan 13, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Bug Description

The "Open project" dialog in the web UI shows "No folders found" instead of listing directories.

Root Causes

  1. Server API issue: /find/file endpoint requires query parameter, but the SDK sends empty string as undefined, resulting in 400 Bad Request
  2. Server API issue: directory parameter is ignored - always searches current project directory instead of the specified home directory
  3. UI Hook issue: useFilteredList hook doesn't properly handle async items function with filter parameter

Steps to Reproduce

  1. Run opencode web
  2. Open the web UI in browser
  3. Press Cmd+O or click "Open project"
  4. Dialog shows "No folders found"

Expected Behavior

Dialog should list directories from the home folder.

Environment

  • Version: 1.1.19
  • Platform: macOS / Web UI
Originally created by @lxxonx on GitHub (Jan 13, 2026). Originally assigned to: @adamdotdevin on GitHub. ## Bug Description The \"Open project\" dialog in the web UI shows \"No folders found\" instead of listing directories. ## Root Causes 1. **Server API issue**: `/find/file` endpoint requires `query` parameter, but the SDK sends empty string as `undefined`, resulting in 400 Bad Request 2. **Server API issue**: `directory` parameter is ignored - always searches current project directory instead of the specified home directory 3. **UI Hook issue**: `useFilteredList` hook doesn't properly handle async items function with filter parameter ## Steps to Reproduce 1. Run `opencode web` 2. Open the web UI in browser 3. Press Cmd+O or click \"Open project\" 4. Dialog shows \"No folders found\" ## Expected Behavior Dialog should list directories from the home folder. ## Environment - Version: 1.1.19 - Platform: macOS / Web UI
yindo added the web label 2026-02-16 17:53:34 -05:00
yindo closed this issue 2026-02-16 17:53:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5511