Commit Graph

1609 Commits

Author SHA1 Message Date
Jos de Jong 763b0b7c3c Refactor sortMoveOperations a bit 2020-08-23 18:14:51 +02:00
Jos de Jong dff1fc0811 Implement first simple version of sortMoveOperations 2020-08-23 18:12:07 +02:00
Jos de Jong a848358815 Clean up console.log 2020-08-23 18:11:52 +02:00
Jos de Jong ec581ad674 Add unit tests for sorting functions 2020-08-23 17:30:05 +02:00
Jos de Jong aeb3374406 Move sortArray and sortObjectKeys into a separate file 2020-08-23 16:47:11 +02:00
Jos de Jong 82c81e7b4c Get undo/redo working when sorting 2020-08-23 16:39:06 +02:00
Jos de Jong 41d5ab5786 Fix immutableJSONPatch not handling root path 2020-08-23 16:27:29 +02:00
Jos de Jong 058cf6e104 CSS tweak 2020-08-23 14:56:28 +02:00
Jos de Jong 89eaf2f264 Implement sort a nested path if provided 2020-08-23 14:53:42 +02:00
Jos de Jong 456f1912fd Implement some logic to sort object keys 2020-08-19 21:37:15 +02:00
Jos de Jong bf4d0907f0 Styling tweak 2020-08-19 16:50:28 +02:00
Jos de Jong 1ad834cf31 Improve styling of the modal and select boxes 2020-08-19 16:45:12 +02:00
Jos de Jong 37fcdf85e2 Implement SortModal and TransformModal (WIP) 2020-08-16 21:43:21 +02:00
Jos de Jong 8256bd637c Small Fix in JSONEditor 2020-08-16 11:54:03 +02:00
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