From de2fcac57475b665e19175a323a0c080fe30f726 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 2 May 2026 19:17:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20explanatory=20t?= =?UTF-8?q?ooltips=20to=20disabled=20bulk=20action=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds native HTML title attributes to the disabled bulk action buttons in the Trust Ops queue, and dynamically manages them via JavaScript so they are removed when the buttons become active. Co-authored-by: mapleleaflatte03 <240846662+mapleleaflatte03@users.noreply.github.com> --- intelligence/company/www/assets/meridian.js | 5 +++++ intelligence/company/www/trust-ops.html | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/intelligence/company/www/assets/meridian.js b/intelligence/company/www/assets/meridian.js index a4a014b2..73783f58 100644 --- a/intelligence/company/www/assets/meridian.js +++ b/intelligence/company/www/assets/meridian.js @@ -302,6 +302,11 @@ window.__meridianFetchJsonWithTimeout = window.__meridianFetchJsonWithTimeout || }); Array.prototype.forEach.call(shell.querySelectorAll('[data-bulk-decision]'), function (button) { button.disabled = !selectedCount; + if (!selectedCount) { + button.setAttribute('title', 'Select at least one item to apply bulk actions'); + } else { + button.removeAttribute('title'); + } }); } diff --git a/intelligence/company/www/trust-ops.html b/intelligence/company/www/trust-ops.html index e4693a61..15e75456 100644 --- a/intelligence/company/www/trust-ops.html +++ b/intelligence/company/www/trust-ops.html @@ -135,10 +135,10 @@

Trust Ops Queue

0 selected
- - - - + + + +