aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mobile.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-16 02:26:14 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-16 02:26:14 +0300
commit72770305d388fd5ec247493e05a89b686c6d0026 (patch)
tree44d95c9c69042ab07e27ace37853e190b6f00ba0 /src/ui/mobile.rs
parent58c379f1f07adb4113e5f9ee673768b2e4b5be07 (diff)
feat: add hook-owned custom agent status labels
Diffstat (limited to 'src/ui/mobile.rs')
-rw-r--r--src/ui/mobile.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/mobile.rs b/src/ui/mobile.rs
index 9a09f3e0..9e8c57e9 100644
--- a/src/ui/mobile.rs
+++ b/src/ui/mobile.rs
@@ -599,6 +599,9 @@ fn mobile_agent_detail(entry: &AgentPanelEntry) -> String {
if let Some(agent_label) = entry.agent_label.as_deref() {
parts.push(agent_label.to_string());
}
+ if let Some(custom_status) = entry.custom_status.as_deref() {
+ parts.push(custom_status.to_string());
+ }
format!(" {}", parts.join(" ยท "))
}
@@ -909,6 +912,7 @@ mod tests {
agent_label: agent_label.map(str::to_string),
state: AgentState::Idle,
seen: true,
+ custom_status: None,
}
}