From c79a6b254f1275ec9355ebaa9887e66f3c904611 Mon Sep 17 00:00:00 2001 From: Joshua L Remender Date: Mon, 17 Nov 2025 14:04:03 -0500 Subject: [PATCH] Removed legacy ECN functionality for queue tags --- content/modules/parsing.js | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/content/modules/parsing.js b/content/modules/parsing.js index d6cb9d1..8fa41ad 100644 --- a/content/modules/parsing.js +++ b/content/modules/parsing.js @@ -370,39 +370,6 @@ function parseTicket(mutation = null) { return } - // Add queue tag to ticket title with color coding - // Only add if queue block exists, header exists, and queue box doesn't already exist - if (queueBlock && header && !document.querySelector(".qBox")) { - let queueElement = queueBlock.querySelector("span.wrap-text") - if (!queueElement) { - return - } - - let queueText = (queueElement.innerText || queueElement.textContent || "").trim() - - if (!queueText) { - return - } - - // Create queue tag element - let queueTagBox = document.createElement("span") - queueTagBox.textContent = queueText - queueTagBox.classList.add("qBox") - - // Apply color coding based on queue name - let queueTextLower = queueText.toLowerCase() - for (const queueKey of Object.keys(colorsByQueue)) { - let queueColorConfig = colorsByQueue[queueKey] - if (queueTextLower === queueKey) { - queueTagBox.style.color = queueColorConfig.txt - queueTagBox.style.backgroundColor = queueColorConfig.bg - break - } - } - - header.appendChild(queueTagBox) - } - // Handle button links - configure to open in new tabs // Update ticket buttons [...document.querySelectorAll("#btnUpdateTicket, #divUpdateFromActions")].forEach(button => {