Skip to content

Web UI: file browser is hidden on narrow viewports (phone portrait) — only reachable in landscape #48197

Description

@MatthiHerz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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