mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
Add an experimental UI tree renderer for the status line (#57970)
## What changed - Add the disabled-by-default `tui_extensions_statusline` feature to render configured status items and their picker preview through a shared UI tree renderer. - Support text, HTTP(S) links, rows, spacers, dividers, and gaps with rendering budgets, text sanitization, and width-aware truncation that keeps the ellipsis outside hyperlinks. - Use plain text for the extension status line and hide the picker's theme color toggle while preserving the saved color preference. ## Testing Add coverage for tree serialization and URL validation, Unicode widths, hyperlink clipping, picker previews, color preference preservation, and token usage updates across renderer switches. GitOrigin-RevId: a6b87c2b1096765d61296d73e142834fcd53ceee
This commit is contained in:
@@ -1395,6 +1395,9 @@
|
||||
"tui_app_server": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"tui_extensions_statusline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"tui_multi_backend": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -8050,6 +8053,9 @@
|
||||
"tui_app_server": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"tui_extensions_statusline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"tui_multi_backend": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user