fix: preserve pending range selection on hover - #1010
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughRangePicker 新增当前字段修改状态跟踪。确认模式下,面板分离已提交日历值和单元格悬停值。测试覆盖 Changes范围选择悬停状态
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This change preserves the pending selected endpoint in RangePicker while rendering a separately hovered date, with regression coverage for the showTime flow. The targeted behavior and validation are complete, with no remaining merge-readiness risk identified. Sequence Diagram(s)sequenceDiagram
participant RangePicker
participant useRangeValueChange
participant PopupPanel
RangePicker->>useRangeValueChange: 读取 currentFieldModified
RangePicker->>PopupPanel: 传递日历值和 cellHoverValue
PopupPanel->>PopupPanel: 在范围模式使用 cellHoverValue 渲染悬停状态
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1010 +/- ##
=======================================
Coverage 98.88% 98.88%
=======================================
Files 68 68
Lines 2859 2866 +7
Branches 811 791 -20
=======================================
+ Hits 2827 2834 +7
Misses 29 29
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

Summary
Validation
Fixes ant-design/ant-design#59070.
AI assistance disclosure: Codex was used to trace the hover state flow, add the regression test, implement the fix, run validation, and draft this description.
Summary by CodeRabbit