Skip to content

Add action button disabled cursor state pass - #217

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
temitope-007:add-disabled-cursor-state
Apr 27, 2026
Merged

Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
temitope-007:add-disabled-cursor-state

Conversation

@temitope-007

Copy link
Copy Markdown

This PR implements the normalization of disabled cursor/visual treatment for action buttons as requested in issue #210.

Changes Made

  • Button Component (src/components/ui/button.tsx): Added disabled:cursor-not-allowed to the base button variants class, ensuring all buttons (including AsyncButton and other derivatives) display the not-allowed cursor when disabled.

  • Dropdown Menu Items (src/components/ui/dropdown-menu.tsx): Added data-[disabled]:cursor-not-allowed to the class names for DropdownMenuItem, DropdownMenuCheckboxItem, and DropdownMenuRadioItem to provide consistent disabled cursor treatment for menu action items.

  • No Enable/Disable Logic Changes: The changes are purely visual and do not alter any existing disabled state logic or conditions.

Validation

  • All existing tests pass
  • Build succeeds without errors
  • Linting passes
  • Scoped changes with no unrelated file modifications
  • Contributor can validate by testing disabled buttons in the UI (e.g., connect wallet button, buy buttons when wallet not connected)

Closes #210

- Add disabled:cursor-not-allowed to Button component for consistent disabled visual treatment
- Add data-[disabled]:cursor-not-allowed to dropdown menu items for parity
- Ensures all action buttons show not-allowed cursor when disabled
- No changes to enable/disable logic
@drips-wave

drips-wave Bot commented Apr 27, 2026

Copy link
Copy Markdown

@temitope-007 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit d36fddc into accesslayerorg:main Apr 27, 2026
1 check passed
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.

Add action button disabled cursor state pass

2 participants