preactjs / preactjs/preact-devtools
Zoom to component
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 345
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
In the Preact panel in Chrome, it would be absolutely incredible if we could right click + inspect and zoom to the selected component, as does the Inspect function in Chrome's DOM tools
Use case: particular on large, new codebases, it really helps figure out which components we need to modify!
(The alternative right now: scroll the Elements panel until you find something vaguely right that highlights, then inspect that - 😢 )
🙏 🙏 🙏
Contributor guide
No contributing guide indexed for this repository
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
Start with the Preact panel in Chrome and compare its component selection flow with the Inspect function in Chrome's DOM tools. Trace how a selected component is represented, then determine the integration needed for a right-click action that zooms to it; done means the selected component is located without manually searching the Elements panel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100