Skip to content

Fix jitter in TUI apps/connectors picker #10593

Merged
canvrno-oai merged 6 commits intomainfrom
canvrno/tui_apps_menu_jitter
Feb 4, 2026
Merged

Fix jitter in TUI apps/connectors picker #10593
canvrno-oai merged 6 commits intomainfrom
canvrno/tui_apps_menu_jitter

Conversation

@canvrno-oai
Copy link
Contributor

@canvrno-oai canvrno-oai commented Feb 4, 2026

This PR fixes jitter in the TUI apps menu by making the description column stable during rendering and height measurement.
Added a stable_desc_col option to SelectionViewParams/ListSelectionView, introduced stable variants of the shared row render/measure helpers in selection_popup_common, and enabled the stable mode for the apps/connectors picker in chatwidget. With these changes, only the apps/connectors picker uses this new option, though it could be used elsewhere in the future.

Why: previously, the description column was computed from only currently visible rows, so as you scrolled or filtered, the column could shift and cause wrapping/height changes that looked jumpy. Computing it from all rows in this popup keeps alignment and layout consistent as users scroll through avaialble apps.

Before:
https://github.com/user-attachments/assets/3856cb72-5465-4b90-a993-65a2ffb09113

After:
https://github.com/user-attachments/assets/37b9d626-0b21-4c0f-8bb8-244c9ef971ff

@canvrno-oai canvrno-oai added codex oai PRs contributed by OpenAI employees labels Feb 4, 2026
@joshka-oai joshka-oai assigned joshka-oai and unassigned joshka-oai Feb 4, 2026
@canvrno-oai canvrno-oai marked this pull request as ready for review February 4, 2026 07:53
@canvrno-oai canvrno-oai force-pushed the canvrno/tui_apps_menu_jitter branch from fbc37f9 to 550d378 Compare February 4, 2026 19:58
@canvrno-oai canvrno-oai merged commit d589ee0 into main Feb 4, 2026
41 of 44 checks passed
@canvrno-oai canvrno-oai deleted the canvrno/tui_apps_menu_jitter branch February 4, 2026 21:51
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

codex oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants