[jules] style: Consistent hover/focus states across all components#300
[jules] style: Consistent hover/focus states across all components#300
Conversation
- Replaced standard `focus` with `focus-visible` across Button, Input (password toggle), Modal, Toast, and Sidebar components. - Added dual-theme support for focus rings: - Glassmorphism (`ring-blue-500`) - Neobrutalism (`ring-black dark:ring-white`) - Addressed accessibility requirements while eliminating unsightly focus rings for mouse users. - Updated `.Jules/todo.md` and `.Jules/changelog.md` to reflect completed task. Co-authored-by: Devasy23 <110348311+Devasy23@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
✅ Deploy Preview for split-but-wiser ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
WalkthroughThis pull request implements keyboard accessibility improvements by adding focus-visible styling across multiple UI components (Button, Input, Modal, Toast, Sidebar). The changes introduce theme-aware focus rings with conditional styling for Neo Brutalism and Glassmorphism themes while maintaining existing component behavior. Changes
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
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 Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #300 +/- ##
=======================================
Coverage ? 63.55%
=======================================
Files ? 21
Lines ? 2456
Branches ? 254
=======================================
Hits ? 1561
Misses ? 831
Partials ? 64
🚀 New features to boost your workflow:
|
Implemented consistent keyboard accessibility focus states (
focus-visible) across all interactive UI components, adhering strictly to the dual-theme system (Glassmorphism and Neobrutalism).Changes Include:
Button.tsx: Addedfocus-visible:ring-blue-500,focus-visible:ring-black, anddark:focus-visible:ring-whiteconditional classes depending on theme and variant.Input.tsx: Upgraded password toggle button tofocus-visible:outline-none focus-visible:ring-2to remove mouse-click rings while maintaining keyboard nav focus.Modal.tsx&Toast.tsx: Added accessible focus rings to close(X)buttons.Sidebar.tsx: Added accessible focus rings to all navigation links..Jules/todo.md(marked complete) and.Jules/changelog.md(recorded enhancements).PR created automatically by Jules for task 2455520528339181772 started by @Devasy23
Summary by CodeRabbit