From 37701d4654bca0cbf4cdf62c16e3d80206c620ba Mon Sep 17 00:00:00 2001 From: canvrno-oai Date: Tue, 21 Apr 2026 17:16:50 -0700 Subject: [PATCH] Update /statusline and /title snapshots (#18909) Update `/statusline` and `/title` snapshots --- ...__status_line_setup_popup_hardcoded_only.snap | 8 ++++---- ...tests__status_line_setup_popup_live_only.snap | 8 ++++---- ...et__tests__status_line_setup_popup_mixed.snap | 8 ++++---- ...erminal_title_setup_popup_hardcoded_only.snap | 6 +++--- ...ts__terminal_title_setup_popup_live_only.snap | 6 +++--- ..._tests__terminal_title_setup_popup_mixed.snap | 6 +++--- .../chatwidget/tests/status_surface_previews.rs | 16 ++++++++-------- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_hardcoded_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_hardcoded_only.snap index ccab3ca7d..f1aca3704 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_hardcoded_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_hardcoded_only.snap @@ -7,14 +7,14 @@ expression: status_line_popup_snapshot(&mut chat) Type to search > -› [x] project-root Project root directory (omitted when unavailable) +› [x] project-name Project name (omitted when unavailable) [x] git-branch Current Git branch (omitted when unavailable) - [x] thread-title Current thread title (omitted unless changed by user) - [ ] model-name Current model name + [x] thread-title Current thread title (omitted when unavailable) + [ ] model Current model name [ ] model-with-reasoning Current model name with reasoning level [ ] current-dir Current working directory + [ ] run-state Compact session run-state text (Ready, Working, Thinking) [ ] context-remaining Percentage of context window remaining (omitted when unknown) - [ ] context-used Percentage of context window used (omitted when unknown) my-project · feat/awesome-feature · thread title Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_live_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_live_only.snap index 273e17511..a5bb631fa 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_live_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_live_only.snap @@ -7,14 +7,14 @@ expression: status_line_popup_snapshot(&mut chat) Type to search > -› [x] project-root Project root directory (omitted when unavailable) +› [x] project-name Project name (omitted when unavailable) [x] git-branch Current Git branch (omitted when unavailable) - [x] thread-title Current thread title (omitted unless changed by user) - [ ] model-name Current model name + [x] thread-title Current thread title (omitted when unavailable) + [ ] model Current model name [ ] model-with-reasoning Current model name with reasoning level [ ] current-dir Current working directory + [ ] run-state Compact session run-state text (Ready, Working, Thinking) [ ] context-remaining Percentage of context window remaining (omitted when unknown) - [ ] context-used Percentage of context window used (omitted when unknown) preview-live-root · feature/live-preview-branch · Live preview thread Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_mixed.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_mixed.snap index 0f0bfdd24..e44459c72 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_mixed.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_setup_popup_mixed.snap @@ -7,14 +7,14 @@ expression: status_line_popup_snapshot(&mut chat) Type to search > -› [x] project-root Project root directory (omitted when unavailable) +› [x] project-name Project name (omitted when unavailable) [x] git-branch Current Git branch (omitted when unavailable) - [x] thread-title Current thread title (omitted unless changed by user) - [ ] model-name Current model name + [x] thread-title Current thread title (omitted when unavailable) + [ ] model Current model name [ ] model-with-reasoning Current model name with reasoning level [ ] current-dir Current working directory + [ ] run-state Compact session run-state text (Ready, Working, Thinking) [ ] context-remaining Percentage of context window remaining (omitted when unknown) - [ ] context-used Percentage of context window used (omitted when unknown) my-project · feature/mixed-preview · Mixed preview thread Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap index b1c1cf5ae..8dbfffe29 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap @@ -7,14 +7,14 @@ expression: terminal_title_popup_snapshot(&mut chat) Type to search > -› [x] thread Current thread title (omitted until available) +› [x] thread-title Current thread title (omitted when unavailable) [x] git-branch Current Git branch (omitted when unavailable) [x] task-progress Latest task progress from update_plan (omitted until available) [ ] app-name Codex app name - [ ] project Project name (falls back to current directory name) + [ ] project-name Project name (falls back to current directory name) + [ ] current-dir Current working directory [ ] spinner Animated task spinner (omitted while idle or when animations are off) [ ] run-state Compact session run-state text (Ready, Working, Thinking) - [ ] model Current model name thread title | feat/awesome-feature | Tasks 0/0 Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap index 9842d8eca..a6726dbe2 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap @@ -7,14 +7,14 @@ expression: terminal_title_popup_snapshot(&mut chat) Type to search > -› [x] project Project name (falls back to current directory name) - [x] thread Current thread title (omitted until available) +› [x] project-name Project name (falls back to current directory name) + [x] thread-title Current thread title (omitted when unavailable) [x] git-branch Current Git branch (omitted when unavailable) [x] task-progress Latest task progress from update_plan (omitted until available) [ ] app-name Codex app name + [ ] current-dir Current working directory [ ] spinner Animated task spinner (omitted while idle or when animations are off) [ ] run-state Compact session run-state text (Ready, Working, Thinking) - [ ] model Current model name preview-live-root | Live preview thread | feature/live-preview-branch | Tasks 2/5 Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap index d75306617..2d995ce9a 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap @@ -7,14 +7,14 @@ expression: terminal_title_popup_snapshot(&mut chat) Type to search > -› [x] project Project name (falls back to current directory name) - [x] thread Current thread title (omitted until available) +› [x] project-name Project name (falls back to current directory name) + [x] thread-title Current thread title (omitted when unavailable) [x] task-progress Latest task progress from update_plan (omitted until available) [ ] app-name Codex app name + [ ] current-dir Current working directory [ ] spinner Animated task spinner (omitted while idle or when animations are off) [ ] run-state Compact session run-state text (Ready, Working, Thinking) [ ] git-branch Current Git branch (omitted when unavailable) - [ ] model Current model name project | Mixed preview thread | Tasks 0/0 Use ↑↓ to navigate, ←→ to move, space to select, enter to confirm, esc to cancel. diff --git a/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs b/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs index b5ef67dd6..b13c73504 100644 --- a/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs +++ b/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs @@ -91,7 +91,7 @@ async fn status_line_setup_popup_live_only_snapshot() { chat.status_line_branch = Some("feature/live-preview-branch".to_string()); chat.thread_name = Some("Live preview thread".to_string()); chat.config.tui_status_line = Some(vec![ - "project-root".to_string(), + "project-name".to_string(), "git-branch".to_string(), "thread-title".to_string(), ]); @@ -127,7 +127,7 @@ async fn status_surface_preview_lines_hardcoded_only_snapshot() { async fn status_line_setup_popup_hardcoded_only_snapshot() { let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await; chat.config.tui_status_line = Some(vec![ - "project-root".to_string(), + "project-name".to_string(), "git-branch".to_string(), "thread-title".to_string(), ]); @@ -167,7 +167,7 @@ async fn status_line_setup_popup_mixed_snapshot() { chat.status_line_branch = Some("feature/mixed-preview".to_string()); chat.thread_name = Some("Mixed preview thread".to_string()); chat.config.tui_status_line = Some(vec![ - "project-root".to_string(), + "project-name".to_string(), "git-branch".to_string(), "thread-title".to_string(), ]); @@ -186,8 +186,8 @@ async fn terminal_title_setup_popup_live_only_snapshot() { chat.thread_name = Some("Live preview thread".to_string()); chat.last_plan_progress = Some((2, 5)); chat.config.tui_terminal_title = Some(vec![ - "project".to_string(), - "thread".to_string(), + "project-name".to_string(), + "thread-title".to_string(), "git-branch".to_string(), "task-progress".to_string(), ]); @@ -202,7 +202,7 @@ async fn terminal_title_setup_popup_live_only_snapshot() { async fn terminal_title_setup_popup_hardcoded_only_snapshot() { let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await; chat.config.tui_terminal_title = Some(vec![ - "thread".to_string(), + "thread-title".to_string(), "git-branch".to_string(), "task-progress".to_string(), ]); @@ -218,8 +218,8 @@ async fn terminal_title_setup_popup_mixed_snapshot() { let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await; chat.thread_name = Some("Mixed preview thread".to_string()); chat.config.tui_terminal_title = Some(vec![ - "project".to_string(), - "thread".to_string(), + "project-name".to_string(), + "thread-title".to_string(), "task-progress".to_string(), ]);