docs: add missing SVG props documentation to PolarGrid #3400#6987
docs: add missing SVG props documentation to PolarGrid #3400#6987PavelVanecek merged 3 commits intorecharts:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAdds five public styling props to PolarGrid: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
Looks good overall, just one thing — CI is failing because of the cross-component JSDoc consistency test. The stroke comment on PolarGrid is "The stroke color." but Area/Line/ErrorBar all say "The stroke color. If "none", no line will be drawn." — the test requires >= 70% similarity across shared props. Matching the wording should fix it. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6987 +/- ##
==========================================
- Coverage 90.10% 89.63% -0.48%
==========================================
Files 522 534 +12
Lines 38844 40218 +1374
Branches 5347 5473 +126
==========================================
+ Hits 35000 36049 +1049
- Misses 3835 4161 +326
+ Partials 9 8 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bundle ReportChanges will increase total bundle size by 33.9kB (1.18%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: recharts/bundle-cjsAssets Changed:
|
This PR adds missing JSDoc documentation for common SVG properties in the PolarGrid component, as requested in #3400.
Summary of changes:
This improvement ensures these props are discoverable in the API documentation and via IDE intellisense.
Fixes #3400
Summary by CodeRabbit