Skip to content

Use available width for skill names in the toggle view - #32485

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c434237e00440f920d8aa9c365b6bda5e68e0941
Jul 11, 2026
Merged

Use available width for skill names in the toggle view#32485
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c434237e00440f920d8aa9c365b6bda5e68e0941

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 11, 2026

Copy link
Copy Markdown

Use available width for skill names in the toggle view

Why

The skill toggle view truncated every display name to 21 characters, even when
the popup had enough room to show more. This could hide the part that
distinguishes similarly named skills.

What changed

  • Pass full skill display names to the shared row renderer so it can fit them
    to the available width alongside descriptions.
  • Keep narrow layouts bounded by the renderer's width-aware truncation.

Testing

Added coverage for preserving and filtering full display names, plus snapshots
for wide and narrow popup layouts.

## Why

The skill toggle view truncated every display name to 21 characters, even when
the popup had enough room to show more. This could hide the part that
distinguishes similarly named skills.

## What changed

- Pass full skill display names to the shared row renderer so it can fit them
  to the available width alongside descriptions.
- Keep narrow layouts bounded by the renderer's width-aware truncation.

## Testing

Added coverage for preserving and filtering full display names, plus snapshots
for wide and narrow popup layouts.

GitOrigin-RevId: c434237e00440f920d8aa9c365b6bda5e68e0941
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c434237e00440f920d8aa9c365b6bda5e68e0941 branch from e931d34 to 9e552e9 Compare July 11, 2026 21:04
@copyberry
copyberry Bot merged commit 9e552e9 into main Jul 11, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c434237e00440f920d8aa9c365b6bda5e68e0941 branch July 11, 2026 21:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 11, 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.