Skip to content

Commit 833a4c5

Browse files
committed
fix(tui): Clarify two different version numbers
1 parent 790e8ff commit 833a4c5

8 files changed

Lines changed: 9 additions & 9 deletions

codex-rs/tui-pty-e2e/tests/nori_footer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fn test_footer_full_startup_with_all_info() {
145145

146146
// Verify nori version is displayed (from our mock nori-ai)
147147
assert!(
148-
contents.contains("Nori v19.1.1") || contents.contains("Nori v0"), // v0 if mock didn't work
148+
contents.contains("Profiles v19.1.1") || contents.contains("Profiles v0"), // v0 if mock didn't work
149149
"Footer should contain Nori version. Contents: {}",
150150
contents
151151
);
@@ -169,7 +169,7 @@ fn test_footer_full_startup_with_all_info() {
169169
contents
170170
);
171171
assert!(
172-
contents.contains("Nori v"),
172+
contents.contains("Nori CLI v"),
173173
"Footer should contain Nori version. Contents: {}",
174174
contents
175175
);

codex-rs/tui-pty-e2e/tests/snapshots/nori_footer__full_footer.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ expression: normalize_for_input_snapshot(contents)
44
---
55
› [DEFAULT_PROMPT]
66

7-
master · Nori v0.0.0
7+
master · Profiles v19.1.1 · ? for shortcuts

codex-rs/tui-pty-e2e/tests/snapshots/startup__startup_shows_nori_banner.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
source: tui-pty-e2e/tests/startup.rs
33
expression: "normalize_for_snapshot(lines.collect::<Vec<&str>>()[1..8].join(\"\\n\"))"
44
---
5-
Nori v0.0.0
5+
Nori CLI v0.0.0
66
│ │
77
directory: [TMP_DIR] │
88
agent: mock-model

codex-rs/tui-pty-e2e/tests/startup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fn test_startup_shows_nori_banner() {
165165
// The ASCII art banner uses special characters like |_| and \_ to spell NORI
166166
// so we check for the unique pattern from the first line of the banner
167167
assert!(
168-
contents.contains("Nori v0"),
168+
contents.contains("Nori CLI v0"),
169169
"Expected NORI header, but got: {}",
170170
contents
171171
);

codex-rs/tui/src/bottom_pane/footer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ fn build_footer_line(props: &FooterProps) -> Line<'static> {
250250

251251
// Add nori version if available: "Nori v19.1.1" (green)
252252
if let Some(version) = &props.nori_version {
253-
spans.push(Span::from("Nori v").green());
253+
spans.push(Span::from("Profiles v").green());
254254
spans.push(Span::from(version.clone()).green());
255255
spans.push(Span::from(" · ").dim());
256256
}

codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__footer__tests__footer_with_full_nori_info.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
source: tui/src/bottom_pane/footer.rs
33
expression: terminal.backend()
44
---
5-
" ⎇ feature/test · Profile: clifford · Nori v19.1.1 · +10 -3 · ? for shortcuts "
5+
" ⎇ feature/test · Profile: clifford · Profiles v19.1.1 · +10 -3 · ? for shortcu"

codex-rs/tui/src/nori/session_header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl HistoryCell for NoriSessionHeaderCell {
217217

218218
// Simple "Nori" title (ASCII art is reserved for the first-launch welcome screen)
219219
lines.push(Line::from(vec![
220-
Span::from("Nori").green().bold(),
220+
Span::from("Nori CLI").green().bold(),
221221
Span::from(format!(" v{}", self.version)).dim(),
222222
]));
223223

codex-rs/tui/src/nori/snapshots/codex_tui__nori__session_header__tests__nori_header_snapshot.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source: tui/src/nori/session_header.rs
33
expression: rendered
44
---
55
╭───────────────────────────────────────────────────╮
6-
Nori v0.1.0
6+
Nori CLI v0.1.0
77
│ │
88
directory: /home/user/project
99
agent: claude-sonnet

0 commit comments

Comments
 (0)