Skip to content

🎨 Palette: Add visual feedback for disabled buttons - #56

Merged
MEKXH merged 1 commit into
devfrom
palette/fix-disabled-button-styles-3082447729256737819
Mar 23, 2026
Merged

🎨 Palette: Add visual feedback for disabled buttons#56
MEKXH merged 1 commit into
devfrom
palette/fix-disabled-button-styles-3082447729256737819

Conversation

@MEKXH

@MEKXH MEKXH commented Mar 22, 2026

Copy link
Copy Markdown
Owner

πŸ’‘ What: Added specific styles for .button:disabled and restricted the .button:hover transition animation from executing on disabled components in web/src/styles.css.
🎯 Why: When buttons like "Send" and "Check Gateway" were disabled during active processing (isSending, isChecking), they looked and hovered exactly like active buttons. This causes user confusion because actions appear clickable when they are not.
πŸ“Έ Before/After: See attached Playwright verification logs where the disabled buttons now appear faded globally across the ComposerPanel and elsewhere.
β™Ώ Accessibility: Provides much-needed visual distinction, clearly communicating the un-interactable element state to sighted users according to the aria-disabled/disabled attribute context.


PR created automatically by Jules for task 3082447729256737819 started by @MEKXH

Fixed an issue where buttons disabled by Vue directives (like `:disabled="isSending"`) did not show any visual feedback and still responded to hover animations. Applied `opacity: 0.5`, `cursor: not-allowed` globally to `.button:disabled`, and disabled `transform` animations using `:not(:disabled)`.

Co-authored-by: MEKXH <59291264+MEKXH@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@MEKXH
MEKXH merged commit 82d1554 into dev Mar 23, 2026
@MEKXH
MEKXH deleted the palette/fix-disabled-button-styles-3082447729256737819 branch March 24, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant