fix: highlight scatter axes on facet inputs focus#2484
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughUpdated focus event handling in the FacetScatterChart component by replacing Changes
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 the current code and only fix it if needed.
Inline comments:
In `@app/components/Compare/FacetScatterChart.vue`:
- Around line 325-328: The Y-axis highlight can remain stuck because the
interactive element uses `@mouseenter/`@focus/@focusin to call
toggleAxisHighlight('y') but lacks a corresponding mouseleave to clear it; add
an `@mouseleave` handler on the same element (the select or component that
currently has `@mouseenter`="toggleAxisHighlight('y')") that calls
toggleAxisHighlight(null) so hover exit clears the highlight (ensure symmetry
with existing `@focusout` behavior and apply the same pattern to any symmetric
X-axis control if present).
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 8f7558f0-b99a-43fd-bc0a-48d2d65f1a87
📒 Files selected for processing (1)
app/components/Compare/FacetScatterChart.vue
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Resolves #2483
(Forgot to push a commit on #2472)
This also highlights the related scatter axis when accessing facet inputs via keyboard.