-
-
Notifications
You must be signed in to change notification settings - Fork 94
feat: add chunk group graph report api #1641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JSerFeng
wants to merge
22
commits into
main
Choose a base branch
from
fy/chunk-group-graph
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
954e19b
feat: add chunk group graph report api
JSerFeng 033749a
test: cover split chunk path sizing
JSerFeng 40fb554
fix: exclude path-required modules from chunk group waste
JSerFeng ec5370c
fix: align chunk group reachability with rspack blocks
JSerFeng 00950c9
fix: cap chunk group path traversal
JSerFeng eb0d1b6
fix: improve chunk group graph layout
JSerFeng 46d300d
fix: improve chunk group graph navigation
JSerFeng 5d42b9e
fix: refine chunk graph node scaling
JSerFeng 75bee0b
fix: refine chunk graph selection labels
JSerFeng 40a064c
fix: show path import snippets
JSerFeng 7f1e62f
fix: allow page scroll over chunk graph
JSerFeng 68479c3
fix: handle chunk graph wheel scrolling
JSerFeng 3f90792
fix: restore native chunk graph scrolling
JSerFeng 4fc2e54
fix: stop chunk graph from hijacking wheel scroll
JSerFeng 8e3e567
fix: add chunk graph zoom controls
JSerFeng 3fc413f
fix: support trackpad zoom for chunk graph
JSerFeng d5d1d88
fix: make chunk graph zoom more responsive
JSerFeng e0e989e
fix: load local rsdoctor profile shards
JSerFeng c28ef57
fix: make chunk graph layout more organic
JSerFeng 2631447
fix: allow dragging chunk graph nodes
JSerFeng 434a2a4
fix: adapt chunk graph around dragged nodes
JSerFeng aefdb63
fix: show path import snippets on parent nodes
JSerFeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,284 changes: 1,284 additions & 0 deletions
1,284
packages/components/src/pages/BundleSize/components/chunk-group.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new normalization path assumes
manifest.dataexists and immediately callsObject.entries(data).fetchJSONByUrlstill intentionally maps HTML responses to{}(SPA fallback/error page case), so this now throws a TypeError during normalization instead of allowing later fallback handling, turning a recoverable manifest fetch error into an immediate runtime failure.Useful? React with 👍 / 👎.