huskies: merge 495_bug_status_traffic_light_dots_use_unsupported_html_colouring_switch_to_emoji
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user