Environment
- opencode 1.18.21 (linux,
opencode serve on a remote VM), web app accessed from a phone browser (iOS Safari, portrait)
- also observed on narrow desktop windows
What happens
The file browser (folder icon / sidebar) is gated behind a viewport-width check. On a phone in portrait orientation the icon does not appear at all; rotating to landscape reveals it and the file list works.
Expected
The file browser should be reachable on narrow viewports — e.g. a collapsible drawer behind a hamburger/folder icon in portrait, the same pattern the session pane could use.
Use case
Accessing a remote opencode serve instance from a phone is a real scenario (the server runs 24/7; the browser is a first-class client). Reviewing files from the phone currently requires rotating the device, which is awkward and breaks the reading flow.
Happy to provide screenshots or test a fix if useful.
Environment
opencode serveon a remote VM), web app accessed from a phone browser (iOS Safari, portrait)What happens
The file browser (folder icon / sidebar) is gated behind a viewport-width check. On a phone in portrait orientation the icon does not appear at all; rotating to landscape reveals it and the file list works.
Expected
The file browser should be reachable on narrow viewports — e.g. a collapsible drawer behind a hamburger/folder icon in portrait, the same pattern the session pane could use.
Use case
Accessing a remote
opencode serveinstance from a phone is a real scenario (the server runs 24/7; the browser is a first-class client). Reviewing files from the phone currently requires rotating the device, which is awkward and breaks the reading flow.Happy to provide screenshots or test a fix if useful.