Skip to content

Improve usage report layouts and preserve reading positions - #46864

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e18a472ff4356324fed71e496f47762a7ccf657d
Sep 20, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Improve usage report layouts and preserve reading positions

Why

Switching reports reset their scroll positions, and resizing could pull users back to a selection they had deliberately scrolled away from. Small terminals also need room for usage details, while larger terminals can show more of the chart.

What changed

  • Retain independent scroll positions for each report, the dashboard, and help. Keep visible selections on screen during resizing while respecting manual scrolling.
  • Hide plots in small report areas, expand charts to use available height, and place breakdown tables beside plots in wide focused reports.
  • Highlight selected chat and plan rows with the shared picker style, preserving padding after wrapping.
  • Show dated plan periods in the dashboard and collapse expanded plan details before closing with Esc.

Testing

Add regression tests and snapshots for responsive layouts, reading-position restoration across tabs and help, selection visibility during resizing, and highlighted chat-row padding.

## Why

Switching reports reset their scroll positions, and resizing could pull users back to a selection they had deliberately scrolled away from. Small terminals also need room for usage details, while larger terminals can show more of the chart.

## What changed

- Retain independent scroll positions for each report, the dashboard, and help. Keep visible selections on screen during resizing while respecting manual scrolling.
- Hide plots in small report areas, expand charts to use available height, and place breakdown tables beside plots in wide focused reports.
- Highlight selected chat and plan rows with the shared picker style, preserving padding after wrapping.
- Show dated plan periods in the dashboard and collapse expanded plan details before closing with `Esc`.

## Testing

Add regression tests and snapshots for responsive layouts, reading-position restoration across tabs and help, selection visibility during resizing, and highlighted chat-row padding.

GitOrigin-RevId: e18a472ff4356324fed71e496f47762a7ccf657d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e18a472ff4356324fed71e496f47762a7ccf657d branch from 892ae7d to d6d4327 Compare September 20, 2026 18:18
@copyberry
copyberry Bot merged commit d6d4327 into main Sep 20, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e18a472ff4356324fed71e496f47762a7ccf657d branch September 20, 2026 18:18
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 20, 2026
@0xgleb
0xgleb deployed to issue-triage September 20, 2026 18:19 — with GitHub Actions Active
@0xgleb
0xgleb deployed to issue-triage September 20, 2026 18:19 — with GitHub Actions Active
@0xgleb
0xgleb deployed to issue-triage September 20, 2026 18:19 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — d6d43270 Deployed Sep 20, 2026 by 0xgleb via Generate label suggestions #46993
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.

2 participants