Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/jcode-tui/src/tui/app/turn_notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub(super) fn build_turn_notification(
todos: &[TodoItem],
last_assistant_text: Option<&str>,
) -> TurnNotification {
let mut title = String::from("jcode");
let mut title = String::from("kcode");
if let Some(name) = session_name {
title.push_str(" · ");
title.push_str(name);
Expand Down Expand Up @@ -440,7 +440,7 @@ mod tests {
#[test]
fn title_includes_session_and_compact_duration() {
let n = build_turn_notification(Some("fox"), 754.0, &[], Some("All done."));
assert_eq!(n.title, "jcode · fox · done in 12m 34s");
assert_eq!(n.title, "kcode · fox · done in 12m 34s");
assert_eq!(n.subtitle, None);
assert_eq!(n.body, "All done.");
}
Expand All @@ -452,7 +452,7 @@ mod tests {
todo_named("handle reconnect", "in_progress", &[]),
];
let n = build_turn_notification(None, 200.0, &todos, Some("Fixed the parser bug."));
assert_eq!(n.title, "jcode · done in 3m 20s");
assert_eq!(n.title, "kcode · done in 3m 20s");
assert_eq!(n.subtitle.as_deref(), Some("1/2 todos"));
// Names actual todo work, not the prose snippet.
assert_eq!(n.body, "✓ wire up parser · → handle reconnect");
Expand Down Expand Up @@ -513,7 +513,7 @@ mod tests {
#[test]
fn empty_inputs_fall_back_to_minimal_body() {
let n = build_turn_notification(None, 65.0, &[], None);
assert_eq!(n.title, "jcode · done in 1m 5s");
assert_eq!(n.title, "kcode · done in 1m 5s");
assert_eq!(n.subtitle, None);
assert_eq!(n.body, "Turn finished");
}
Expand Down
Loading