Commit Graph

1595 Commits

Author SHA1 Message Date
Jos de Jong 8b99527604 Implement option mode 2020-08-16 11:44:28 +02:00
Jos de Jong f2b2769727 Fix indentation 2020-08-16 11:34:50 +02:00
Jos de Jong baa336981f Create main component JSONEditor and mode component TreeMode. Integrate svelte-simple-modal 2020-08-16 11:34:02 +02:00
Jos de Jong a3c0da7d95 Change validation-errors constistently to buttons 2020-08-13 15:35:13 +02:00
Jos de Jong 735702ba99 Styling tweak 2020-08-13 15:33:12 +02:00
Jos de Jong 1477aaaa4b Highlight object when hovering, select node only when clicking inside one of the selectable areas 2020-08-13 15:29:51 +02:00
Jos de Jong 22845a0cc8 Minor css tweaks 2020-08-06 15:52:55 +02:00
Jos de Jong e36ba7a384 Fix indentation of append-node-selector 2020-07-30 16:14:18 +02:00
Jos de Jong a29c196733 Only show validation error on parent when collapsed 2020-07-30 14:55:49 +02:00
Jos de Jong bb2dcf0039 Add Ace to the project (not yet used) 2020-07-30 11:42:11 +02:00
Jos de Jong 98f7cacb55 Implement support for JSON Schema validation 2020-07-30 11:41:35 +02:00
Jos de Jong b30aac082b Minor tweaks 2020-07-29 22:03:30 +02:00
Jos de Jong 9356f44c95 Implement option `validate` and method `setValidator` (WIP) 2020-07-29 21:52:46 +02:00
Jos de Jong 300e46b149 Update all dependencies 2020-07-27 16:49:31 +02:00
Jos de Jong a830dab67f Fix typo 2020-07-27 16:21:54 +02:00
Jos de Jong a54e5b6f08 Implement menu item "Remove" 2020-07-27 16:21:09 +02:00
Jos de Jong 0c418ac846 Refactoring in duplicate 2020-07-27 16:15:16 +02:00
Jos de Jong eea6e09bd8 Implement insert 2020-07-27 16:05:51 +02:00
Jos de Jong a6bb790f5e Create dropdown menu (WIP) 2020-07-27 13:45:23 +02:00
Jos de Jong c441663528 Move singleton object into JSONNode 2020-07-27 09:44:09 +02:00
Jos de Jong b99d4b4d5d Reorganize files in folders /components and /logic 2020-07-27 09:42:15 +02:00
Jos de Jong e629b404a6 Move Menu into a separate component 2020-07-26 12:00:14 +02:00
Jos de Jong e23e4a82dd Make searchResult reactive 2020-07-26 11:31:38 +02:00
Jos de Jong ad3ac339cf Fix clearing search result when closing search box 2020-07-26 11:11:46 +02:00
Jos de Jong bd73739343 Fix existsIn not working for symbols attached to arrays 2020-07-26 11:09:29 +02:00
Jos de Jong 23067b4638 Fix expanding nested search results 2020-07-26 10:56:04 +02:00
Jos de Jong ad4572d21e Extend `setIn` with optional support for creating missing path 2020-07-26 10:45:56 +02:00
Jos de Jong b9ceec09e3 Change dashed-line color to gray 2020-07-24 20:30:23 +02:00
Jos de Jong 2961e0d910 Move expandPath to stateUtils.js 2020-07-22 17:28:33 +02:00
Jos de Jong da2f912d6d Rename file to `stateUtils.js` 2020-07-22 16:57:30 +02:00
Jos de Jong 7d67ecc4bc Move logic of search into `search.js` 2020-07-22 16:53:18 +02:00
Jos de Jong be87b1e4cd Move `doSearch` to `search.js` 2020-07-22 13:46:50 +02:00
Jos de Jong 35983df136 Fix selected before-node-selector not yet visible whilst mouse is down 2020-07-22 13:40:51 +02:00
Jos de Jong 9ac6ca95c4 Implement Duplicate 2020-07-22 11:55:11 +02:00
Jos de Jong 401a6e19fd Fix a bug in `append` and a bit of refactoring 2020-07-22 11:09:33 +02:00
Jos de Jong ce8cf93170 hide before and append selector line when dragging 2020-07-22 09:49:54 +02:00
Jos de Jong 174f1194ef Cleanup a TODO, it's not working out nicely 2020-07-15 10:32:40 +02:00
Jos de Jong f3459430b0 Unify selection on mousedown 2020-07-15 10:24:39 +02:00
Jos de Jong 3919585db4 Clear selection on Escape 2020-07-15 09:05:54 +02:00
Jos de Jong 404f623215 Swap to first/last search result when end is reached 2020-07-12 14:56:53 +02:00
Jos de Jong c773e5bfa9 Be able to select a single node by clicking 2020-07-12 14:49:12 +02:00
Jos de Jong 7ad262a7b1 Group lodash imports 2020-07-12 11:17:19 +02:00
Jos de Jong 89fc4070a2 Fix appending `... (copy)` suffix when replacing keys with new keys having the same name(s) 2020-07-12 11:13:06 +02:00
Jos de Jong fb3a9cdf36 Rename action to operation 2020-07-12 10:58:55 +02:00
Jos de Jong bdc9f3ba34 Fix cut/copy/paste shortcuts not working when menu button has focus 2020-07-12 10:53:05 +02:00
Jos de Jong 65c38f7b05 Implement restoring selection on undo/redo (not yet for cursor) 2020-07-08 16:15:27 +02:00
Jos de Jong 2fb95c3951 Select pasted content after pasting 2020-07-08 15:22:34 +02:00
Jos de Jong 2a7d4828cb Make quick keys for cut/copy/paste working 2020-07-08 14:58:18 +02:00
Jos de Jong 0e5dabed89 Fix `insertBefore` and `replace` relying on object key order 2020-07-08 14:41:38 +02:00
Jos de Jong 16d3092670 Ensure property key to be unique 2020-07-08 13:19:40 +02:00