Show "Update plan" in TUI plan updates (#2192)
## Summary - Display "Update plan" instead of "Update to do" when the plan is updated in the TUI ## Testing - `just fmt` - `just fix` *(fails: E0658 `let` expressions in this position are unstable)* - `cargo test --all-features` *(fails: E0658 `let` expressions in this position are unstable)* ------ https://chatgpt.com/codex/tasks/task_i_6897f78fc5908322be488f02db42a5b9
This commit is contained in:
@@ -739,10 +739,10 @@ impl HistoryCell {
|
|||||||
let mut header: Vec<Span> = Vec::new();
|
let mut header: Vec<Span> = Vec::new();
|
||||||
header.push(Span::raw("📋"));
|
header.push(Span::raw("📋"));
|
||||||
header.push(Span::styled(
|
header.push(Span::styled(
|
||||||
" Updated",
|
" Update plan",
|
||||||
Style::default().add_modifier(Modifier::BOLD).magenta(),
|
Style::default().add_modifier(Modifier::BOLD).magenta(),
|
||||||
));
|
));
|
||||||
header.push(Span::raw(" to do list ["));
|
header.push(Span::raw(" ["));
|
||||||
if filled > 0 {
|
if filled > 0 {
|
||||||
header.push(Span::styled(
|
header.push(Span::styled(
|
||||||
"█".repeat(filled),
|
"█".repeat(filled),
|
||||||
|
|||||||
Reference in New Issue
Block a user