Commit Graph
90 Commits
Author SHA1 Message Date
Eric Allam 0358dbd5e2 Add some logging to discover what cloudflare is doing 2022-06-07 13:55:46 +01:00
Eric Allam bc5e5561c7 Fixed previewing IPFS images in cloudflare 2022-06-07 13:49:40 +01:00
Eric Allam 6df767080a IPFS previews work without the extension 2022-06-07 13:37:43 +01:00
Eric AllamandJames Ritchie fa7010da0b Chrome extension banner (#74)
* Added chrome extension banner

* Only show the chrome banner when in Chrome

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2022-06-06 14:11:20 +01:00
Eric AllamandJames Ritchie 1b42269739 GitHub button footer in minimal mode (#72)
* Added a new github star button to the footer

* Improved the props to work the same as hero icons

* Only show the github link in the footer if on minimal theme

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2022-06-06 11:38:55 +01:00
Eric Allam c9d309c16d Fixed tree view minimal height 2022-06-01 15:22:11 +01:00
Eric Allam 3acf393009 Added privacy policy for jsonhero.io 2022-06-01 12:05:08 +01:00
Eric Allam 7508a96d3f Support minimal theme to strip out the header (for the chrome extension) 2022-06-01 11:28:24 +01:00
Eric Allam 49e0c57a33 Add ability to override the theme with a query param 2022-05-26 14:40:31 +01:00
Eric Allam d898d820bb Allow clients in browsers to call the create API 2022-05-26 09:15:33 +01:00
Eric Allam a4b7a38e67 Upgrade to miniflare 2.4.0 to fix issue with Node.js 17.7+ 2022-05-18 09:36:11 +01:00
Eric Allam d722b915a9 Ability to preview ipfs images 2022-05-17 16:26:10 +01:00
Eric Allam b3515bfff0 Display related values on Array and Object paths as well 2022-05-13 10:05:11 +01:00
Eric Allam d4c23be1b6 Move the examples out of app 2022-05-12 10:08:31 +01:00
Eric Allam 927cc26669 Convert the rest of the samples to ExampleDocs 2022-05-04 21:06:22 +01:00
Eric Allam 401205b57f Convert the Unsplash to the new ExampleDoc 2022-05-04 20:57:00 +01:00
Eric Allam a08fe62e78 Allow url documents to be injested, so it only hits the url once 2022-05-04 20:48:09 +01:00
Eric Allam fdd972b973 Allow creating read-only documents through the /new endpoint with readonly=true (fixes issue #48) 2022-05-03 22:36:27 +01:00
Eric Allam d793753a0a Make sure video element reloads if src changes 2022-05-03 22:05:51 +01:00
Eric Allam 6f548261a1 Adding additional logging to the $id endpoint 2022-05-03 16:39:40 +01:00
Eric Allam 635a97b133 Preview audio & video urls (fixes issue #46) 2022-05-03 15:09:19 +01:00
Eric Allam cabd9e3379 Fixed the star count to exactly match github 2022-05-02 21:42:32 +01:00
Eric Allam 436f01e459 Add ttl option to the /new endpoint, allows setting a min 60s timeout 2022-05-02 21:30:19 +01:00
Eric Allam 7a3da02335 Merge pull request #39 from jsonhero-io/design/better-404
Simple 404 page design
2022-05-01 11:18:30 +01:00
Eric Allam 7d5d12f2a3 Add a CatchBoundary to catch 404 errors 2022-04-29 16:59:49 +01:00
Eric Allam 5b21a751c4 Add source=example_url when creating a doc from one of the examples 2022-04-29 16:49:31 +01:00
Eric Allam 31e3a325ec Add support for setting a ttl when sending JSON through the API (#31) 2022-04-29 16:46:46 +01:00
Eric Allam b5b1993471 Fixed the meta charset utf-8 issue 2022-04-29 16:26:21 +01:00
Eric Allam 8df0cf4438 Fix issue #28 (previewing image URLs that return 405 from the HEAD request) 2022-04-29 16:22:54 +01:00
Eric Allam 12c5d47d08 Allow creating from a base64 encoded string in a query param 2022-04-29 15:04:27 +01:00
Eric Allam 55f47324cd Merge branch 'design/tree-view-updates' 2022-04-29 14:47:16 +01:00
Eric Allam 7ec6fefb49 Small tweak to the amount of overall left padding 2022-04-29 14:46:50 +01:00
Eric Allam b871badd9f Merge branch 'main' into design/tree-view-updates 2022-04-29 14:40:28 +01:00
Eric Allam c2c99aa71c Fix issue #19, adding noindex,nofollow meta tag to document page 2022-04-29 13:05:31 +01:00
Eric Allam 0355b210af Added initial contributing and development guides 2022-04-29 11:15:04 +01:00
Eric Allam d9cb941ed8 Format star count to better match github 2022-04-29 10:22:39 +01:00
Eric Allam 4b8e62506d Fix issue with JSON keynames with a / causing crashes when switching to the editor view
JSONHeroPath.fromPointer now correctly unescapes the ~1 path separation sequence
2022-04-27 21:01:03 +01:00
Eric Allam 145b4f6696 Do the same thing for GrpahJSON secrets/env vars 2022-04-27 20:16:37 +01:00
Eric Allam a40eeaae67 Safely check for existence of PEEKALINK_API_KEY 2022-04-27 20:12:50 +01:00
Eric Allam 2244b85d12 Merge pull request #17 from michellbrito/update-issues-link
Update issues link
2022-04-23 15:09:35 +01:00
Eric Allam af1cefc324 Tweak title 2022-04-22 14:30:34 +01:00
Eric Allam be43460fea Make the NewDocument popover a little wider 2022-04-20 10:56:42 +01:00
Eric Allam d36a2ba546 Allowing pasting raw json in the URL field 2022-04-20 10:54:22 +01:00
Eric Allam 7edda79b8a Fixed the double <a> tag issue 2022-04-17 07:17:31 +01:00
Eric Allam db55e9e8cd Added new endpoint to allow linking to a JSON url (issue #13) 2022-04-15 22:13:22 +01:00
Eric Allam 96a2194107 useStarCount can be undefined, so don’t throw that error 2022-04-15 15:44:47 +01:00
Eric Allam 11372b281c Fixed the logo image in the README 2022-04-15 14:07:58 +01:00
Eric Allam c0617a714a Merge pull request #12 from jsonhero-io/github-star
Add Github Star button
2022-04-15 13:59:39 +01:00
Eric Allam a6b7533c54 Mention sharability in the README 2022-04-15 13:40:37 +01:00
Eric Allam a336b792a0 Fetch the star count and make the GithubStar button link to the github repo in a new tab 2022-04-15 13:36:32 +01:00
Eric Allam 486bdde9e0 Removed the big documentation images/gifs from this repo 2022-04-15 12:54:43 +01:00
Eric Allam e4594c2532 More README 2022-04-15 11:19:02 +01:00
Eric Allam 2db7af04f6 Slightly smaller description 2022-04-15 10:27:46 +01:00
Eric Allam 862bf371e9 Add some meta SEO tags for better link sharing 2022-04-15 10:16:35 +01:00
Eric Allam 666bee8db3 Workaround for being able to move to a different path in the tree view the first time you want to move 2022-04-14 21:04:26 +01:00
Eric Allam 3b69129690 Merge pull request #11 from jsonhero-io/better-fuzzy-search
Convert search from Fuse.js to @jsonhero/fuzzy-json-search
2022-04-14 20:43:42 +01:00
Eric Allam 498f5a6cfa Reset the search state when the dialog closes 2022-04-14 20:42:04 +01:00
Eric Allam 908c2bcfb8 Make the search result label bigger and visually different than the description, and fix the issue where the label wasn’t showing when there was no label match 2022-04-14 20:37:16 +01:00
Eric Allam cd761bd2d5 Convert search from Fuse.js to @jsonhero/fuzzy-json-search 2022-04-14 09:46:17 +01:00
Eric Allam 17a49ed859 Test file changes should trigger main workflow 2022-03-22 09:50:27 +00:00
Eric Allam 2313cb993e Fixed column view tests 2022-03-22 09:49:17 +00:00
Eric Allam 32a9162848 Merge branch 'features/tree-view'
# Conflicts:
#	app/components/ColumnItem.tsx
#	app/components/PathBar.tsx
2022-03-22 09:40:58 +00:00
Eric Allam 86a8a4ec59 Hoist key handler to the tree so selected nodes outside of virtual list can still be navigated
Also will now automatically expand the path to a node that wants to be focused
2022-03-18 14:10:38 +00:00
Eric Allam 48d8c9894c Toggle all children when holding the shift/option key 2022-03-18 11:34:25 +00:00
Eric Allam de1efa8149 Persist collapsed state to localStorage 2022-03-18 11:09:36 +00:00
Eric Allam f9671c6df7 Implement all the ARIA keyboard interactions, and selection follows focus 2022-03-18 10:05:32 +00:00
Eric Allam 084a93e03a Only scroll to the selected node once 2022-03-15 10:18:14 +00:00
Eric Allam 22cccb1781 Improved safari speed, tabIndex -1 caused safari slowness for some reason 2022-03-14 12:12:58 +00:00
Eric Allam 55cfcea5b6 Upgrade to json-infer-types 1.2.8 to fix string uri detection bug 2022-03-14 10:57:28 +00:00
Eric Allam a08b2a7531 useMemo on stringifying the schema json 2022-03-14 10:38:54 +00:00
Eric Allam 0cd7eacaa8 Hoist the call to useJsonTree into a context provider so changing views doesn’t reset the state 2022-03-11 15:08:11 +00:00
Eric Allam 97d3543c33 Adding the new useVirtualTree hook to create the Json Tree View 2022-03-11 14:51:26 +00:00
Eric Allam fdf1d0282f Cleanup JsonColumnView 2022-03-04 21:28:14 +00:00
Eric Allam 52d96de3af TreeView using react-virtual 2022-03-04 16:24:12 +00:00
Eric Allam 2b40b47d9e Ability to preview more JSON urls, and open a JSON url in JSON Hero 2022-03-04 10:31:57 +00:00
Eric Allam 409ad158b0 Upgrade to remix 1.2.3 2022-03-03 09:48:06 +00:00
Eric Allam 1c898db82d Remove unnecessary peekalink dep 2022-03-03 09:42:29 +00:00
Eric Allam b2bca35e84 No longer hard-coding the peekalink API key 2022-03-02 10:53:13 +00:00
Eric Allam b749d2ab80 Only deploy when certain paths are matched 2022-03-02 09:39:08 +00:00
Eric Allam 2b52e8ba3d More README 2022-03-02 09:36:07 +00:00
Eric Allam f853b7aef8 Add the editor view gif 2022-03-02 09:29:36 +00:00
Eric Allam ae8780dd02 Fixed README gifs 2022-03-01 21:23:00 +00:00
Eric Allam bae84cb384 WIP README 2022-03-01 21:15:52 +00:00
Eric Allam ca9502135f Adde traverse with context GIF 2022-03-01 21:08:19 +00:00
Eric Allam 91d6610caf Add the column view gif 2022-03-01 20:25:32 +00:00
Eric Allam f1250683df Add main screenshot 2022-03-01 20:15:53 +00:00
Eric Allam 37905e4748 Added logo to the README 2022-03-01 09:45:50 +00:00
Eric Allam 80fdabfbd9 A couple package.json updates 2022-03-01 09:37:26 +00:00
Eric Allam 17b031b483 Create LICENSE 2022-03-01 09:36:14 +00:00
Eric Allam d928661fea Initial open source commit 2022-03-01 09:31:09 +00:00