fix(ui-gpui): set first project to Running status so pulse animation triggers
This commit is contained in:
parent
18cfe7979c
commit
c4d0707514
1 changed files with 3 additions and 1 deletions
|
|
@ -194,9 +194,11 @@ pub struct AppState {
|
||||||
impl AppState {
|
impl AppState {
|
||||||
/// Create initial state with demo projects.
|
/// Create initial state with demo projects.
|
||||||
pub fn new_demo() -> Self {
|
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 {
|
Self {
|
||||||
projects: vec![
|
projects: vec![
|
||||||
Project::new("agent-orchestrator", "~/code/ai/agent-orchestrator", 0),
|
p1,
|
||||||
Project::new("quanta-discord-bot", "~/code/quanta-discord-bot", 1),
|
Project::new("quanta-discord-bot", "~/code/quanta-discord-bot", 1),
|
||||||
],
|
],
|
||||||
focused_project_idx: Some(0),
|
focused_project_idx: Some(0),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue