mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Update /statusline and /title snapshots (#18909)
Update `/statusline` and `/title` snapshots
This commit is contained in:
committed by
GitHub
Unverified
parent
6bbd710496
commit
37701d4654
+4
-4
@@ -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.
|
||||
|
||||
+4
-4
@@ -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.
|
||||
|
||||
+4
-4
@@ -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.
|
||||
|
||||
+3
-3
@@ -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.
|
||||
|
||||
+3
-3
@@ -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.
|
||||
|
||||
+3
-3
@@ -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.
|
||||
|
||||
@@ -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(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user