Skip to content

Use shared, keymap-aware tips in the fullscreen composer - #46931

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/64751293d9f91e4444b112361540a73234f1d51d
Sep 21, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/64751293d9f91e4444b112361540a73234f1d51d

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Use shared, keymap-aware tips in the fullscreen composer

Why

Fullscreen composer hints used a small, fixed rotation, while catalog shortcut tips hard-coded default bindings. Tips should reflect the user's configured shortcuts and expose the shared catalog with working links.

What changed

  • Select complete, single-row catalog tips that fit the composer gap, keeping selection stable across redraws and varying it across sessions and turns.
  • Prefer eligible startup announcements until a user turn begins, without restoring them after history is cleared. Cache parsed announcements while reevaluating eligibility.
  • Resolve {key:context.action} placeholders using current primary shortcuts and chords; skip tips with invalid or unbound actions.
  • Expand the tip catalog and share Markdown rendering between composer and session tips, preserving hyperlinks and supporting Ctrl/Super-click in the composer gap.
  • Keep usage notices and interaction controls ahead of tips, and respect show_tooltips and idle, empty input.

Testing

Add tests and snapshots for remapped shortcuts, unbound actions, stable tip selection, announcement dismissal, narrow layouts, styled links, and removal of stale link targets.

## Why

Fullscreen composer hints used a small, fixed rotation, while catalog shortcut tips hard-coded default bindings. Tips should reflect the user's configured shortcuts and expose the shared catalog with working links.

## What changed

- Select complete, single-row catalog tips that fit the composer gap, keeping selection stable across redraws and varying it across sessions and turns.
- Prefer eligible startup announcements until a user turn begins, without restoring them after history is cleared. Cache parsed announcements while reevaluating eligibility.
- Resolve `{key:context.action}` placeholders using current primary shortcuts and chords; skip tips with invalid or unbound actions.
- Expand the tip catalog and share Markdown rendering between composer and session tips, preserving hyperlinks and supporting Ctrl/Super-click in the composer gap.
- Keep usage notices and interaction controls ahead of tips, and respect `show_tooltips` and idle, empty input.

## Testing

Add tests and snapshots for remapped shortcuts, unbound actions, stable tip selection, announcement dismissal, narrow layouts, styled links, and removal of stale link targets.

GitOrigin-RevId: 64751293d9f91e4444b112361540a73234f1d51d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/64751293d9f91e4444b112361540a73234f1d51d branch from 2d26dde to 57567b8 Compare September 21, 2026 03:02
@copyberry
copyberry Bot merged commit 57567b8 into main Sep 21, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/64751293d9f91e4444b112361540a73234f1d51d branch September 21, 2026 03:03
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 21, 2026
@weathon
weathon deployed to issue-triage September 21, 2026 03:08 — with GitHub Actions Active
@weathon
weathon deployed to issue-triage September 21, 2026 03:08 — with GitHub Actions Active
@weathon
weathon deployed to issue-triage September 21, 2026 03:08 — with GitHub Actions Active
@weathon
weathon deployed to issue-triage September 21, 2026 03:09 — with GitHub Actions Active
@xxd1146
xxd1146 deployed to issue-triage September 21, 2026 03:10 — with GitHub Actions Active
@xxd1146
xxd1146 deployed to issue-triage September 21, 2026 03:10 — with GitHub Actions Active
@xxd1146
xxd1146 deployed to issue-triage September 21, 2026 03:10 — with GitHub Actions Active
@elfege
elfege deployed to issue-triage September 21, 2026 03:29 — with GitHub Actions Active
@elfege
elfege deployed to issue-triage September 21, 2026 03:29 — with GitHub Actions Active
@elfege
elfege deployed to issue-triage September 21, 2026 03:29 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 57567b8d Deployed Sep 21, 2026 by lucksonzhen via Translate non-English issue #14293
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.

7 participants