🎨 Palette: Add tooltip to disabled bulk action buttons#95
🎨 Palette: Add tooltip to disabled bulk action buttons#95mapleleaflatte03 wants to merge 2 commits into
Conversation
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>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
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>
💡 What
Added a native HTML
title="Select items to enable bulk actions"attribute to the four bulk action buttons (approve, stale, revoke, unresolved) in the Trust Ops queue surface (trust-ops.html). Updated themeridian.jsfrontend script to dynamically remove this title when items are selected (and the buttons are enabled), and restore it when the selection is cleared.🎯 Why
When operators open the Trust Ops queue, the bulk action buttons are disabled by default. Without an explanation, it might be unclear why they cannot take action. This micro-UX improvement clarifies the required interaction pattern (selecting queue items first) without adding any visual clutter or requiring new CSS rules.
📸 Before/After
♿ Accessibility
Improves accessibility and cognitive ease by providing an explicit reason for the disabled state. Screen readers and mouse users alike benefit from understanding the prerequisite action required to enable the controls.
PR created automatically by Jules for task 18085669579238905860 started by @mapleleaflatte03