Repository navigation
[PUI] pricing tab - #6985
[PUI] pricing tab#6985
Conversation
- Brings us in-line with mantine v7
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6985 +/- ##
==========================================
- Coverage 83.53% 83.42% -0.11%
==========================================
Files 1027 1038 +11
Lines 45217 45472 +255
Branches 1191 1238 +47
==========================================
+ Hits 37771 37935 +164
- Misses 7209 7279 +70
- Partials 237 258 +21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- Needs better labels for tooltip and axis
- Needs extra work!
- Table drives data selection now
- Table drives the data
- Better rendering of pie chart
- Expose "pricing_updated" column to API endpoints - Allow ordering by "pricing_updated" column
- Add pricing_min_total - Add pricing_max_total - Fix existing 1+N query issue
- Refactor the InternalPriceBreak table to be generic
|
Very nice overall @SchrodingersGat; I noticed a few things:
Ideas for future iterations:
|
| return null; | ||
| } | ||
|
|
||
| value = parseFloat(value.toString()); |
There was a problem hiding this comment.
Question: Is there a way to only convert the value if it is not a number? Seems redundant to do it this way but not sure how much overhead this creates
wolflu05
left a comment
There was a problem hiding this comment.
This looks awesome. So we now use and plan to use the recharts lib in the future even if we may update to mantine@v7 where mantine ships with its own chart lib?
After a quick review everything looks good after @matmair 's points are resolved.
|
@wolflu05 as far as I can tell, mantine uses recharts internally, which is why I chose it for the upgrade path |





Future Work
Ideas for improvements after this is merged: