Files
codex/codex-rs
Felipe Coury 717dbefdb9 Fit the Agent Command Center grouping header to the panel (#64411)
## Why

The full header can clip the current grouping and its shortcut in
narrow panels.

## What changed

Use shorter header labels as space runs out and show just the grouping
in the narrowest layout. Account for the longest grouping name and the
configured shortcut when choosing a layout so the title stays stable
as users cycle groupings or move focus. Show the shortcut when it is
available and fits.

## Testing

Add snapshot coverage for Directory grouping with a custom `f11 g`
shortcut at 24, 36, and 60 columns.

GitOrigin-RevId: 9d4efe8d483d9431ff75c163a1a0ce96b7886894
2026-11-28 02:07:41 +00:00
..
…
…
…