GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — desktop: unsent new-session draft disappears from the Inbox sidebar · Issue #64078 · anomalyco/opencode

desktop: unsent new-session draft disappears from the Inbox sidebar #64078

New issue
Copy link
New issue
Copy link
Closed
Closed
desktop: unsent new-session draft disappears from the Inbox sidebar#64078
Copy link
Labels
area/desktopDesktop appplatform/windowsWindowstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

Description

@BestGood777
BestGood777
opened on Nov 15, 2026
Issue body actions

Description

With Settings → General → Interface layout → Inbox (appearance.tabLayout = "inbox"), a new session that has not been sent yet has no row in the sidebar. After switching to another session, it cannot be found in the list at all — it looks like it was dropped.

Nothing is deleted: the prompt is kept in %APPDATA%/ai.opencode.desktop/drafts.sqlite and the tab stays open, but the Inbox gives no way to see or return to it.

Probably why: a new session is a draft tab (/new-session?draftId=…) until the first prompt is submitted, while the Inbox list is built from server sessions (session.list), so drafts never appear. In this mode the tab strip is replaced by the Inbox, so a draft has no representation anywhere.

Expected: the Inbox keeps showing the open draft — e.g. a "Drafts" section, or the routed draft included in the top block, the way the selected session already is (sections().current in inbox.tsx).

Steps to reproduce

  1. Settings → General → Interface layout → Inbox.
  2. Start a new session, type a prompt, do not send it.
  3. Click another session in the sidebar.
  4. Look for the new session in the sidebar — no section lists it.

Environment

  • OpenCode version: 2.3.0 (desktop, latest channel)
  • Operating System: Windows 10.0.19045 (x64)
  • Terminal: desktop app
  • Plugins: none

Additional context

  • Reproducible every time, not intermittent.
  • Workaround: send the first message before switching (the session then exists on the server and appears in the Inbox).
  • Related: feat(app): add project grouping, filtering, and pinned sessions to sidebar inbox #59220 (Inbox), [FEATURE]: V2 Side bar: project history and running sessions alongside existing modes #60241 (notes "Drafts remain accessible" as an expectation for the sidebar).

Activity

  1. opencodejr commented on Nov 15, 2026

    @opencodejr
    opencodejrBot
    on Nov 15, 2026
    Contributor
    More actions

    Thanks for the clear report and the analysis, @BestGood777!

    You're asking for the Inbox interface layout to keep showing a new session that hasn't been sent yet (a draft tab), for example in a "Drafts" section or in the top block next to the selected session. That way you can get back to the draft after switching to another session.

    From the code I read, this looks like something the Inbox doesn't cover yet, not a regression:

    • In Inbox layout, the Inbox replaces the vertical tab strip.
    • Its top block only covers a session entry that is currently selected.
    • The customized side-tabs layout does give draft tabs their own row, so this would bring the Inbox in line with it.

    I've marked this as a feature request. Maintainers will consider it, but I can't promise anything about whether or when it will happen. Until then, your workaround is the one I'd suggest: send the first message before switching away.

    Related:

    • [FEATURE]: V2 Side bar: project history and running sessions alongside existing modes #60241: proposed Side bar mode, which lists "Drafts remain accessible" as a goal
    • feat(plugin): add a sidebar.section slot for plugin sections in the sidebar #62153: open PR adding a sidebar.section slot for GUI plugins, which could one day make extra sidebar sections like this possible
  2. opencodejr
    added
    area/desktopDesktop app
    platform/windowsWindows
    type/featureNew behaviour or an improvement
    version/v2OpenCode 2.x
    on Nov 15, 2026
  3. neriousy commented on Nov 23, 2026

    @neriousy
    neriousy
    on Nov 23, 2026
    Member
    More actions

    This was fixed in #65525, which adds a Drafts group to the Inbox sidebar. If you still see this on the latest version, comment here and we'll reopen.

  4. neriousy
    closed this as completedon Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/desktopDesktop appplatform/windowsWindowstype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.