Repository navigation
Conversation
|
@feritcemkahraman is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough
Changes开关状态变更回调
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #183 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 32 32
Branches 8 8
=========================================
Hits 32 32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Pressing ArrowRight on an already checked switch, or ArrowLeft on an unchecked switch, emits onChange even though the value stays the same.
Skip requests for the existing value in the shared change handler. Actual keyboard/click changes, onKeyDown/onClick callbacks and controlled change requests keep working.
Validation: all three regressions failed before the fix; all 17 tests pass with 100% statement/line/function coverage. Full TypeScript and ESLint pass (one existing documentation warning), and changed-file Prettier passes. ESM/CJS and declaration compilation plus the Less CSS build pass. The documentation-site build and real-browser matrix were not run.
Summary by CodeRabbit