Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(tui): add session.composer.bottom slot - #68572

Open
massaindustries wants to merge 1 commit into
anomalyco:devfrom
massaindustries:feat/session-composer-bottom
Open

massaindustries wants to merge 1 commit into
anomalyco:devfrom
massaindustries:feat/session-composer-bottom

Conversation

@massaindustries

@massaindustries massaindustries commented Dec 5, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #68560

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

SlotMap exposes session.composer.top but nothing below the composer. Plugins that want a persistent status/progress line under the prompt currently have only two options: render inline to the right of the existing footer (append/after on prompt.footer, which stays in the same horizontal row), or replace prompt.footer and lose the native footer. There is no supported way to add a full-width row below the composer.

This PR adds a session.composer.bottom slot, rendered right after <Composer />, mirroring session.composer.top. It also passes sessionID to any session.composer.* slot in the Rust/V2 compat path (previously hardcoded to .top) and documents the new slot.

I built a small ETA/progress plugin (https://github.com/massaindustries/OpenCodeETA) and hit exactly this limitation; once this slot exists it can move out of the footer and sit below the composer.

How did you verify your code works?

I did not run the full monorepo typecheck in this environment. The change is a 4-line addition that follows the existing session.composer.top pattern exactly: same SlotMap shape ({ sessionID }), same render site style in packages/tui/src/routes/session/index.tsx, and a generalization of the existing compat branch. A maintainer may prefer the render site to move after the permission/forms Switch; happy to adjust.

Screenshots / recordings

N/A (no UI change in this PR; it only exposes a new slot).

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:title labels Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title tui: add session.composer.bottom slot doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@massaindustries massaindustries changed the title tui: add session.composer.bottom slot feat(tui): add session.composer.bottom slot Dec 5, 2026
@github-actions github-actions Bot removed needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

This branch has not been deployed

No deployments
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.

Feature request: a slot to render progress/ETA below the composer (without replacing prompt.footer)

1 participant