huskies: merge 495_bug_status_traffic_light_dots_use_unsupported_html_colouring_switch_to_emoji

This commit is contained in:
dave
2026-04-07 15:51:09 +00:00
parent b05ddedb41
commit 5a9601dd3c
2 changed files with 22 additions and 126 deletions
+2 -3
View File
@@ -223,11 +223,10 @@ pub fn try_handle_command_with_html(
Some((c, a)) => (c, a.trim()),
None => (trimmed, ""),
};
// Only the no-arg status variant shows the pipeline with traffic-light
// dots; `status <number>` is a triage dump that needs no colour tags.
// Status command: emoji indicators render natively in all clients.
if cmd_name.eq_ignore_ascii_case("status") && args.is_empty() {
let body = status::build_pipeline_status(dispatch.project_root, dispatch.agents);
let html = status::build_pipeline_status_html(dispatch.project_root, dispatch.agents);
let html = plain_to_html(&body);
return Some((body, html));
}
}