Skip to content

fix(tui): keep sandbox actions visible - #3189

Merged
johntmyers merged 1 commit into
mainfrom
tui-sandbox-delete-confirmation/jtm
Sep 4, 2026
Merged

fix(tui): keep sandbox actions visible#3189
johntmyers merged 1 commit into
mainfrom
tui-sandbox-delete-confirmation/jtm

Conversation

@johntmyers

Copy link
Copy Markdown
Collaborator

Summary

Keep every row in the sandbox metadata pane visible so destructive-action confirmations are not clipped on standard terminal sizes.

Related Issue

No issue required: this is an obvious localized TUI layout bug.

Changes

  • Size the sandbox metadata pane from its rendered content instead of a fixed 20% allocation
  • Account for optional global-policy, pending-rule, and delete-confirmation rows
  • Add a rendering regression test that verifies the delete prompt is visible at 100x24

Testing

  • mise run pre-commit passes
  • Unit tests added/updated (cargo test -p openshell-tui)
  • Strict Clippy passes (cargo clippy -p openshell-tui --all-targets -- -D warnings)
  • E2E tests added/updated (not applicable: presentation-only TUI change)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: John Myers <johntmyers@users.noreply.github.com>
@johntmyers
johntmyers added this pull request to the merge queue Sep 4, 2026
Merged via the queue into main with commit 80b24fb Sep 4, 2026
57 checks passed
@johntmyers
johntmyers deleted the tui-sandbox-delete-confirmation/jtm branch September 4, 2026 17:51
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.

2 participants