antfu / antfu/node-modules-inspector
Support before/after comparsion
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 90
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 9
Description
Goal:
- To compare before and after, after an optimization or upgrade
Features:
- Payload Source
- In Dev mode
- The user could click a button to snapshot the current data in the localStorage indexed (with a version hash)
- Next time when user has a new payload, it will compare with the previous stored payload.
- In production build
- Maybe could allow user to download the payload or write to somewhere, were they could bundle the reference payload into the static build app.
- In config, they could specify the path of data to load.
- In Stackblitz
- Maybe the same as in Dev Mode? We could support multiple named data.
- In Dev mode
- Visualization
- Have a report filed with RED and GREEN to indicate what is removed and added.
- Present them in the graph (maybe a dedicated view)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points, so first map the existing dev-mode payload flow and visualization view. Define the supported payload sources and comparison presentation before implementation; done should include a usable before/after report covering the stated development, production, and StackBlitz cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100