triggerdotdev/jsonhero-web

Feature request: add support for jumping to json node by specific path.

wufeng87 opened this issue · 9 comments

Say I already open the json I need to view, and I got the path I want to jump to from another colleague, and I want to jump to this path without reload my page.

It's more effective than using the search bar to search and navigate.

Can I work on this?

Sure, go for it!

@Suven-p you'll see we’re using paths a lot in the code already to navigate. Using https://www.npmjs.com/package/@jsonhero/path

I thought of having the PathBarLink have text mode and gui mode.
Go into text mode by double clicking path bar.
When focus moves out of path bar switch directory and switch back to GUI mode.

Something like these
image
image

Would that work?

Yes that makes sense. Would it be ok if I make the PR in October for hacktoberfest? aiming for October first :)

This looks great! Would love a PR when you get a chance