fix: correct cursor affordances on Dashboard (ID-691)#1170
Conversation
|
Warning Review limit reached
More reviews will be available in 42 minutes and 21 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR fixes a UI bug on the admin Dashboard where Facility Health table rows incorrectly display clickable hover affordances (hand cursor and link-like facility name styling) despite having no click handler. The fix removes ChangesDashboard Hover Affordances Fix
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@dashboard_cursor.md`:
- Around line 94-98: The spec omission: the PR also added cursor-pointer to
QuickActions buttons ("View All Programs" and "Browse Classes") in Dashboard.tsx
in addition to fixing FacilityHealthTable; update the spec (or add a note) to
reflect that QuickActions component/button elements were changed to include the
cursor-pointer class and confirm they now have appropriate onClick/navigation
handlers (refer to the QuickActions component and the "View All Programs" /
"Browse Classes" button elements) so the documentation matches the
implementation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 4c928bae-e0be-4f55-ab79-1612b1170e55
📒 Files selected for processing (2)
dashboard_cursor.mdfrontend/src/pages/Dashboard.tsx
Remove false pointer cursor and link-colored hover text from Facility Health table rows, which had no click handler. Add explicit cursor-pointer to the View All Programs and Browse Classes buttons, which navigate but were missing it due to Tailwind's Preflight reset on elements.
Changes
frontend/src/pages/Dashboard.tsx — FacilityHealthTable : drop cursor-pointer; facility-name
frontend/src/pages/Dashboard.tsx — View All Programs + Browse Classes
Related tasks: ID-691