JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. 🚀. Built with 💜 by the Trigger.dev team.
PR to add a collapse all keyboard shortcut to the tree view. I know the associated issue mentions using the following shortcut keys:
macOS: Command + Option + Left Arrow
Windows: Ctrl + Alt + Left Arrow
The issue is that on a Mac, in a browser, the Command + Option + Left Arrow shortcut combination switches browser tabs. I think trying to overload that and prevent the browser's default behavior may be a little bit odd. Since that's the case, I opted to make the shortcut Option + Left Arrow on Mac and Alt + Left Arrow on Windows.
If we prefer a different shortcut combination then it should be easy enough to change. One other thing is that whatever we land on, we should consider adding a section to the footer with the shortcut combination and an explanation for what it does:
I was originally planning to head down this path and add the section, but without confirmation on the shortcut keys and without a valid SVG for the combination, it just didn't make sense at this point.
PR to add a collapse all keyboard shortcut to the tree view. I know the associated issue mentions using the following shortcut keys:
Command + Option + Left Arrow
Ctrl + Alt + Left Arrow
The issue is that on a Mac, in a browser, the
Command + Option + Left Arrow
shortcut combination switches browser tabs. I think trying to overload that and prevent the browser's default behavior may be a little bit odd. Since that's the case, I opted to make the shortcutOption + Left Arrow
on Mac andAlt + Left Arrow
on Windows.If we prefer a different shortcut combination then it should be easy enough to change. One other thing is that whatever we land on, we should consider adding a section to the footer with the shortcut combination and an explanation for what it does:
I was originally planning to head down this path and add the section, but without confirmation on the shortcut keys and without a valid SVG for the combination, it just didn't make sense at this point.
Bounty: /claim #149