commit c83dd63f61205357624a678b767d81acacd6d74a parent 977e9bb08f64439a798c1177ba2572587095c5d0 Author: William Casarin <jb55@jb55.com> Date: Wed, 28 Jan 2026 19:09:24 -0800 dave: show spinner status for both working and compacting states Reuse the status line at bottom of chat for both "computing..." when the agent is working and "compacting..." during conversation compaction. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Diffstat:
| M | crates/notedeck_dave/src/ui/dave.rs | | | 14 | +++++++++++--- |
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/crates/notedeck_dave/src/ui/dave.rs b/crates/notedeck_dave/src/ui/dave.rs @@ -295,12 +295,20 @@ impl<'a> DaveUi<'a> { }; } - // Show status line at the bottom of chat when compacting - if self.is_compacting { + // Show status line at the bottom of chat when working or compacting + let status_text = if self.is_compacting { + Some("compacting...") + } else if self.is_working { + Some("computing...") + } else { + None + }; + + if let Some(status) = status_text { ui.horizontal(|ui| { ui.add(egui::Spinner::new().size(14.0)); ui.label( - egui::RichText::new("compacting...") + egui::RichText::new(status) .color(ui.visuals().weak_text_color()) .italics(), );