Skip to content

feat: add reusable tooltip for unavailable actions - #40

Merged
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
codewithzubair07:feature/tooltip-unavailable-actions
Mar 26, 2026
Merged

feat: add reusable tooltip for unavailable actions#40
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
codewithzubair07:feature/tooltip-unavailable-actions

Conversation

@codewithzubair07

Copy link
Copy Markdown
Contributor

Summary

Adds a reusable tooltip pattern for disabled/unavailable actions.

Changes

  • Created Tooltip component
  • Created UnavailableAction wrapper
  • Supports custom reason text
  • Ensures accessibility (aria-disabled, keyboard safe)
  • Applied to LandingPage for demonstration

Usage

Wrap any disabled button:

Buy Access

Result

Users can now see why actions are unavailable on hover.

Fixes #34

@drips-wave

drips-wave Bot commented Mar 26, 2026

Copy link
Copy Markdown

@codewithzubair07 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 41df384 into accesslayerorg:main Mar 26, 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 tooltip for unavailable actions

3 participants