Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Greptile SummaryThis PR refines chart components with optimized imports, animation state management, and dark theme improvements. The changes switch from
Confidence Score: 4/5
Important Files Changed
Last reviewed commit: c3478e1 |
speaker-ender
left a comment
There was a problem hiding this comment.
Overall looks good and approving.
Left some comments/questions but nothing that's a blocker.
| @@ -1,4 +1,4 @@ | |||
| import { theme } from "antd"; | |||
| import { theme } from "antd/lib"; | |||
There was a problem hiding this comment.
What is the rationale for the import change?
I think the normal import should export things correctly via esm and if not I think it's a different path.
There was a problem hiding this comment.
You are correct - it should all be imported from antd, however, the reason this worked was because it matched FidesUIProvider importing from antd/lib. Importing from antd breaks theming because they were resolving to two different modules.
FidesUIProvider should also be corrected, since importing from /lib is deprecated, but it will cause breaking changes to anything else that imports from antd/lib.
There was a problem hiding this comment.
yuck. yea we can deal with that later
Refinements to chart components and dark theme config.
antdtoantd/libaspectprop to RadarChartcolorBgContainerto dark theme config