Skip to content
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

Implement a path editor in the Navigation Bar #164

Merged
merged 12 commits into from
Oct 13, 2022
Merged

Conversation

josdejong
Copy link
Owner

@josdejong josdejong commented Oct 13, 2022

Fixes #13

  • Implements a path editor where you can see and modify the path, copy, paste, and just type what you want.
  • A special copy button on the right side to conveniently copy the path to clipboard
  • Throws and error when the path is invalid or does not not exist in the document
  • Customizable format: defaults to JSON Path, but you can configure to use for example JSON Pointer instead using the new pathParser option.
  • Exports two new util functions: parseJSONPath and stringifyJSONPath

afbeelding

@josdejong josdejong mentioned this pull request Oct 13, 2022
@josdejong josdejong merged commit 03029df into main Oct 13, 2022
@josdejong josdejong deleted the feat/copy_path branch October 13, 2022 09:36
josdejong added a commit that referenced this pull request Oct 13, 2022
- Implements a path editor where you can see and modify the path, copy, paste, and just type what you want.
- A special copy button on the right side to conveniently copy the path to clipboard
- Throws and error when the path is invalid or does not not exist in the document
- Customizable format: defaults to JSON Path, but you can configure to use for example JSON Pointer instead using the new `pathParser` option.
- Exports two new util functions: `parseJSONPath` and `stringifyJSONPath`
@josdejong
Copy link
Owner Author

Published now in v0.7.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow copy node's path
1 participant