Skip to content

Show turn tips while working and after completion in the TUI - #48352

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9e956f5b0377e3be71f9574639c3c6ef11ad1168
Sep 26, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9e956f5b0377e3be71f9574639c3c6ef11ad1168

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Show turn tips while working and after completion in the TUI

What changed

  • Show a random tip beneath the working status after 30 seconds, using the existing tooltip catalog and current key bindings.
  • Show completion tips only after successful turns with a final answer, starting with the third turn and spacing displayed tips by at least three turn starts. Limit completion tips to two per app session, and skip them when a working tip was already shown for that turn.
  • Respect tui.show_tooltips, hide tips during composer or transcript interactions, and omit tips when space is insufficient. Count exposure only when a tip is rendered.
  • Anchor completion tips after queued history updates, keep them outside transcript selection and search, and dismiss them on history replay or transcript clearing.

Testing

Add lifecycle tests for timing, completion cadence, duplicate notifications, failed and interrupted turns, and hidden tips. Add rendering snapshots and assertions for completion ordering, resizing, limited terminal space, and exclusion from transcript selection and search.

## What changed

- Show a random tip beneath the working status after 30 seconds, using the existing tooltip catalog and current key bindings.
- Show completion tips only after successful turns with a final answer, starting with the third turn and spacing displayed tips by at least three turn starts. Limit completion tips to two per app session, and skip them when a working tip was already shown for that turn.
- Respect `tui.show_tooltips`, hide tips during composer or transcript interactions, and omit tips when space is insufficient. Count exposure only when a tip is rendered.
- Anchor completion tips after queued history updates, keep them outside transcript selection and search, and dismiss them on history replay or transcript clearing.

## Testing

Add lifecycle tests for timing, completion cadence, duplicate notifications, failed and interrupted turns, and hidden tips. Add rendering snapshots and assertions for completion ordering, resizing, limited terminal space, and exclusion from transcript selection and search.

GitOrigin-RevId: 9e956f5b0377e3be71f9574639c3c6ef11ad1168
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9e956f5b0377e3be71f9574639c3c6ef11ad1168 branch from 5e651e7 to ca41ed3 Compare September 26, 2026 04:17
@copyberry
copyberry Bot merged commit ca41ed3 into main Sep 26, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9e956f5b0377e3be71f9574639c3c6ef11ad1168 branch September 26, 2026 04:17
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant