From b9f66687ac935a6839a30fe5efa6d4a57362619f Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 15 May 2026 07:28:08 -0400 Subject: [PATCH] imaging: search now also matches stage name, stage-N, and status Extended the data-filter attribute to include: - friendly stage label (e.g. "awaiting intune lockdown") - "stage-N" token (e.g. type "stage-7" to find idx=7 bays) - status string (in_progress / succeeded / failed) Use cases: - Find all bays waiting on lockdown: type "lockdown" - Find all bays at the same stage: "stage-7" - Find failed bays: "failed" - Find succeeded bays: "succeeded" Co-Authored-By: Claude Opus 4.7 (1M context) --- webapp/templates/imaging.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/templates/imaging.html b/webapp/templates/imaging.html index e153f15..d04ea72 100644 --- a/webapp/templates/imaging.html +++ b/webapp/templates/imaging.html @@ -28,7 +28,7 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload);
@@ -64,7 +64,7 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload); {% set border = 'danger' if is_failed else ('success' if is_done else 'primary') %} {% set friendly = stage_labels.get(stage_idx, ('Stage ' ~ stage_idx, '')) %}
+ data-filter="{{ s.serial|lower }} {{ (s.hostname_target or '')|lower }} {{ (s.pctype or '')|lower }} {{ (s.machinenumber or '')|lower }} {{ (s.intune_device_id or '')|lower }} {{ friendly[0]|lower }} stage-{{ stage_idx }} {{ (s.status or 'in_progress')|lower }}">
{% if s.intune_device_id %}