fix(ui-gpui): set first project to Running status so pulse animation triggers

This commit is contained in:
Hibryda 2026-03-19 08:08:53 +01:00
parent 18cfe7979c
commit c4d0707514

View file

@ -194,9 +194,11 @@ pub struct AppState {
impl AppState {
/// Create initial state with demo projects.
pub fn new_demo() -> Self {
let mut p1 = Project::new("agent-orchestrator", "~/code/ai/agent-orchestrator", 0);
p1.agent.status = AgentStatus::Running; // Triggers pulsing dot animation
Self {
projects: vec![
Project::new("agent-orchestrator", "~/code/ai/agent-orchestrator", 0),
p1,
Project::new("quanta-discord-bot", "~/code/quanta-discord-bot", 1),
],
focused_project_idx: Some(0),