Skip to content

feat(tui): prototype sticky prompt header#29070

Closed
coconilu wants to merge 2 commits into
anomalyco:devfrom
coconilu:feature/tui-sticky-prompt
Closed

feat(tui): prototype sticky prompt header#29070
coconilu wants to merge 2 commits into
anomalyco:devfrom
coconilu:feature/tui-sticky-prompt

Conversation

@coconilu
Copy link
Copy Markdown

Summary

Prototype a sticky prompt header in the TUI session view.

When the current user prompt scrolls out of view, the session view shows a compact sticky card near the top of the message area. The compact state shows two visual lines, [+] expands it, [-] collapses it, and [^] jumps to the first assistant text part for that turn.

Why draft

This is intentionally a built-in prototype for UX review. It addresses #28035, but maintainer feedback there suggested a slot/plugin approach may be preferable. If that direction is preferred, I can split this into a smaller session-view slot/API PR and move the sticky prompt UI into a plugin.

Verification

  • Ran bun typecheck from packages/opencode

Refs #28035
Refs #29063

@github-actions
Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label May 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 24, 2026
@github-actions github-actions Bot closed this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant