feat(Segmented): unify orientation attribute usage - #53664
Conversation
|
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate Unit Tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
👁 Visual Regression Report for PR #53664 Passed ✅
🎊 Congrats! No visual-regression diff found.
|
|
| if (orientation) { | ||
| return orientation === 'vertical'; | ||
| } | ||
| return vertical ?? ctxVertical ?? false; |
There was a problem hiding this comment.
The use of ?? operator here is appropriate for handling undefined values, ensuring that vertical or ctxVertical defaults to false if neither is provided. This logic is crucial for determining the correct orientation.
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 7.76MB (-67.43%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|
9bf0a5c to
54d54c2
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #53664 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 788 788
Lines 14304 14305 +1
Branches 3786 3785 -1
=========================================
+ Hits 14304 14305 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0413b66 to
c425e74
Compare
Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
c7bdc85 to
69aef81
Compare
Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>


🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
FRC #53328
📝 Change Log