Skip to content

feat: Tooltip System with Anomaly Detection (#454)#567

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
DammyAji:feat/tooltip-system-anomaly-detection
May 29, 2026
Merged

feat: Tooltip System with Anomaly Detection (#454)#567
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
DammyAji:feat/tooltip-system-anomaly-detection

Conversation

@DammyAji
Copy link
Copy Markdown
Contributor

Summary

Implements issue #454 — Tooltip System with Anomaly Detection.

Changes

  • src/components/ui/Tooltip.tsx — Reusable accessible tooltip (all placements, delay, role="tooltip", aria-describedby)
  • src/hooks/useTooltipAnomalyDetection.ts — Hook detecting rapid-toggle, long-hover, and multi-open anomalies
  • src/app/tooltip-demo/page.tsx — Demo page at /tooltip-demo
  • src/components/ui/__tests__/Tooltip.test.tsx — 13 unit tests, all passing
  • src/components/index.ts — Tooltip exported from shared barrel

Bug Fixes

  • Fixed missing courseHref props in HomeContent.tsx
  • Fixed broken duplicate method block in src/lib/api.ts

Testing

  • 13/13 unit tests pass ✅
  • No TypeScript errors in new files ✅

Closes #454

- Add reusable Tooltip component with accessibility (role=tooltip, aria-describedby)
- Add useTooltipAnomalyDetection hook (rapid-toggle, long-hover, multi-open detection)
- Add /tooltip-demo page
- Add 13 unit tests (all passing)
- Export Tooltip from components barrel
- Fix missing courseHref props in HomeContent.tsx
- Fix broken post method duplicate in api.ts

Closes rinafcode#454
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@DammyAji 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

@RUKAYAT-CODER RUKAYAT-CODER merged commit 88c30a3 into rinafcode:main May 29, 2026
1 of 4 checks 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.

security Tooltip System : Anomaly Detection

2 participants