-
Notifications
You must be signed in to change notification settings - Fork 69
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
feat: integrate an InspectContextPanel
to show element hierarchy triggered by right-click on inspecting
#174
Merged
Conversation
This file contains 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
…pector/web-components`
- make ContextPanel draggable and resizable
…brary - completely compile tailwindcss and embed it in solidjs web-components - refactor the rollup config file to typescript
…nent - add `@react-dev-inspector/launch-editor-endpoint`, split endpoint and types from middleware - replace `react-dev-utils` with `launch-editor` - replace middleware endpoint from `/__open-stack-frame-in-editor` to `/__inspect-open-in-editor`
- theme dark mode support media query with prefers-color-scheme - add chosen editor params to Inspector callbacks
- add hover indication of floating layers in ContextPanel
- stop click event propagation in the ContextPanel to avoid closing other popover components - darken the box-shadow color of ContextPanel - refactor the exports of inspect and fiber utils - fix the type-infer of InspectAgents in Inspector parameters
- convert images track by git-lfs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
zthxxx
changed the title
docs: replace demo preview gif to video
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements trigger by right-click inspect
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements trigger by right-click inspectInspectContextPanel
to show elements heirarcy trigger by right-click inspect
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements heirarcy trigger by right-click inspectInspectContextPanel
to show elements heirarchy trigger by right-click inspect
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements heirarchy trigger by right-click inspectInspectContextPanel
to show elements herarchy trigger by right-click inspect
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements herarchy trigger by right-click inspectInspectContextPanel
to show elements hierarchy trigger by right-click inspect
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show elements hierarchy trigger by right-click inspectInspectContextPanel
to show element hierarchy trigger by right-click on inspecting
zthxxx
changed the title
feat: integrate an
feat: integrate an Jul 6, 2024
InspectContextPanel
to show element hierarchy trigger by right-click on inspectingInspectContextPanel
to show element hierarchy triggered by right-click on inspecting
zthxxx
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
labels
Jul 6, 2024
— with
Graphite App
This was referenced Jul 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Note
Beta version in v2.1.0-beta.9, try with Showcase or:
npm i -D react-dev-inspector@v2.1.0-beta.9 # and also upgrade any `@react-dev-inspector/*` packages you used like: npm i -D @react-dev-inspector/middleware@v2.1.0-beta.9
Resolves #158, resolves #160, resolves #166, resolves #173
Preview
inspector.mp4
Features
InspectContextPanel
triggered by right-click inspection.InspectAgent
to work alongside the defaultDOMInspectAgent
.@react-dev-inspector/web-components
package:Overlay
(inspector UI), supporting custom boxSizing and bounding.InspectContextPanel
component, a draggable and resizable floating context menu.fiberUtils
) and assisting with inspection (inspectUtils
), useful for customInspectAgent
.Refactor
Inspector
implementation toDOMInspectAgent
, supporting customInspectAgent
.Overlay
as WebComponents using solidjs.@floating-ui/core
forOverlayTip
to compute positions.@react-dev-inspector/launch-editor-endpoint
, separating endpoint and types from middleware package:react-dev-utils
withlaunch-editor
for middleware./__open-stack-frame-in-editor
to/__inspect-open-in-editor
.package.json
fromdependencies
topeerDependencies
and marked as optional.exports
field topackage.json
.