Skip to content

Add hover/long-press tooltips on plan badges#327

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
1nonlypiece:feat/issue-283
Jun 29, 2026
Merged

Add hover/long-press tooltips on plan badges#327
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
1nonlypiece:feat/issue-283

Conversation

@1nonlypiece

Copy link
Copy Markdown
Contributor

Adds an accessible Tooltip and a PlanBadge that explains each plan tier with its rate-limit details.

  • New Tooltip component: opens on hover, keyboard focus, and touch long-press; wires aria-describedby, uses role="tooltip", and dismisses on Escape. Theme-token colours for dark mode.
  • New PlanBadge (free / pro / enterprise): pill with per-tier rate limits surfaced both in the tooltip and the badge's accessible name.
  • 7 focused vitest cases covering hover/focus/escape and badge content.

Closes #283

@greatest0fallt1me greatest0fallt1me merged commit f9f1aa5 into CalloraOrg:main Jun 29, 2026
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 hover/long-press tooltips on plan badges

2 participants