Closed vio closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The changes in this pull request enhance the BundleModules
component by updating the EntryComponentLink
function to include moduleMetric
in its dependency array and parameters. The props interface for BundleModules
has been modified to incorporate moduleMetric
and setModuleMetric
, enabling the selection of different metrics. Additionally, the rendering of MetricsTable
and ViewMetricsTreemap
components is now conditional based on the displayType.value
, improving the component's interactivity and data handling capabilities.
File Path | Change Summary |
---|---|
packages/ui/src/components/bundle-modules/... | Updated EntryComponentLink to include moduleMetric in the dependency array and parameters. |
packages/ui/src/components/bundle-modules/... | Modified BundleModulesProps interface to add moduleMetric and setModuleMetric properties. |
packages/ui/src/components/bundle-modules/... | Implemented conditional rendering for MetricsTable and ViewMetricsTreemap based on displayType.value . |
EntryComponentLink
in the BundleAssets
, BundleModules
, and BundlePackages
components, which is directly related to the changes made in the EntryComponentLink
function in the main PR. Both PRs involve updates to how the EntryComponentLink
is utilized within their respective components.In the bundle where metrics play,
A new link shines bright today.
With sizes to choose, oh what a sight,
Metrics dance in the userβs delight.
Hopping through data, we cheer and sing,
For the joy that these changes bring! π°β¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
ae33f31(current) vs da36413 master#11654(baseline)
[!WARNING] Bundle contains 2 duplicate packages β View duplicate packages
Bundle metrics
1 change
1 regression
ββββββββββ | ββββββCurrent #11656 |
βββββBaseline #11654 |
---|---|---|
Initial JS | 334.44KiB (~+0.01% ) |
334.43KiB |
Initial CSS | 46.89KiB |
46.89KiB |
Cache Invalidation | 28.65% |
28.65% |
Chunks | 3 |
3 |
Assets | 4 |
4 |
Modules | 699 |
699 |
Duplicate Modules | 0 |
0 |
Duplicate Code | 0% |
0% |
Packages | 39 |
39 |
Duplicate Packages | 1 |
1 |
1 change
1 regression
Bundle analysis reportβBranch fix-module-entry-linkβProject dashboard
Generated by RelativeCIβDocumentationβReport issue
Summary by CodeRabbit
New Features
BundleModules
component to support selection of different module size metrics (TOTAL_SIZE, DUPLICATE_SIZE, SIZE) through button controls.MetricsTable
andViewMetricsTreemap
based on user-selected display type, enhancing data visualization options.Bug Fixes