Skip to content

Plan-exit question dock has poor UX: no markdown, no scroll, auto-scroll to bottom, no collapse #27889

Closed as not planned

Description

@BYK

Describe the bug

The plan-exit question dock (shown when plan_exit is called to switch from plan to build agent) has several UX issues:

  1. Plan content not rendered as markdown — The plan text in the exit prompt is shown as plain text, making it hard to read structured plans with headings, lists, and code blocks.
  2. Empty plan not guarded — If the plan is empty, the prompt still shows with no useful content.
  3. Question dock text not rendered as markdown — The question text in the web UI dock is plain text rather than markdown.
  4. No scroll for long content — When plan content is long, the question dock overflows without a scrollbar.
  5. Auto-scroll to focused option — When an option is focused, the dock auto-scrolls to the bottom, making it impossible to read the plan content above.
  6. No tap-to-collapse — There is no way to collapse the question dock to see the session content behind it.

Steps to reproduce

  1. Enter plan mode and create a long plan
  2. Call plan_exit to switch to build agent
  3. Observe the question dock: no markdown rendering, no scroll, auto-scrolls away from content

Expected behavior

  • Plan content should render as markdown
  • Empty plans should be handled gracefully
  • Long content should be scrollable
  • Focus should not auto-scroll away from content
  • Dock should be collapsible by tapping the header

System info

  • OpenCode version: v1.15.3
  • OS: Linux

Activity

  1. github-actions commented on May 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    You may want to consider whether this issue should reference or be merged with those existing reports, or clarify which aspects are not already tracked there.

  2. BYK commented on May 16, 2026

    @BYK
    ContributorAuthor

    Thanks for flagging — #18515 covers the same bugs. PR #27890 addresses points 2 and 3 from that issue (plan content as markdown + question text rendering). Point 1 (subagent escape) is addressed by PR #27887.

  3. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Collaborator

    Automated: closing question issues.

    GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.

    If this is a bug or feature request, please open a new issue with the appropriate template.

  4. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Collaborator

    Reopening – this was incorrectly closed by automated question-issue cleanup. Sorry for the noise.

  5. github-actions commented on Aug 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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