From 718d2d19820c5f302af1cc4b1f24d004cec2dc56 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 19:42:11 +0000 Subject: [PATCH 1/2] Palette: Add tooltip to disabled bulk action buttons Adds an explanatory title to the initially disabled bulk action buttons in the operator Trust Ops queue, and dynamically removes/restores the title based on the selection state using existing javascript. 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..3f56c6b7 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 (button.disabled) { + button.title = "Select items to enable bulk actions"; + } else { + button.removeAttribute("title"); + } }); } diff --git a/intelligence/company/www/trust-ops.html b/intelligence/company/www/trust-ops.html index e4693a61..acf8a41e 100644 --- a/intelligence/company/www/trust-ops.html +++ b/intelligence/company/www/trust-ops.html @@ -135,10 +135,10 @@