Commit Graph

103 Commits

Author SHA1 Message Date
jos 9db7fdf0e5 Fixed keeping id's intact when replacing a value 2017-12-17 21:10:07 +01:00
jos dd22b97eb0 Renamed field 'jsoneditor' to 'meta' in extended JSON Patch 2017-12-17 13:53:06 +01:00
jos e979e0f016 Fix many small issues in the UI 2017-12-16 14:13:52 +01:00
jos 7064578b31 Renamed keys to props in ESON model 2017-12-15 21:02:17 +01:00
jos 1a6661fbb5 Many patch action working again in UI 2017-12-15 20:34:07 +01:00
jos 156f330e4e Refactored ESON to use Symbols, refactored patchEson 2017-12-15 19:57:21 +01:00
jos 53b20e2f59 Refactored model to use Symbol 2017-12-15 14:02:42 +01:00
jos a059eb844e Implemented spliceEsonArray 2017-12-15 12:59:45 +01:00
jos f491a00575 Selection working again 2017-12-14 16:40:55 +01:00
jos 338d19b5a9 JSON Schema errors working again 2017-12-14 14:30:02 +01:00
jos e30674a971 Refactor search, previousSearchResult, nextSearchResult 2017-12-13 16:48:22 +01:00
jos 49cc7eb288 Implemented transform and expand for new ESON model 2017-12-13 11:47:12 +01:00
jos c19334894c New ESON model (WIP) 2017-11-29 21:52:18 +01:00
jos b3c41bce03 Remove `simplifyPatch`, it doesn't always work correctly 2017-11-22 13:05:53 +01:00
jos 56528dc054 Fixed unit tests 2017-11-22 10:12:59 +01:00
jos 8425579718 Floating menu starting to work (WIP) 2017-11-03 14:23:04 +01:00
jos a2f7f61389 Show floating menu on selection 2017-10-14 21:57:59 +02:00
jos 26fa339c35 Implemented cut/copy/paste (via quickkeys) 2017-09-29 21:52:17 +02:00
jos 375ea56316 Some refactoring in `applySelection` 2017-09-29 11:08:44 +02:00
jos 52ec02e3e1 Implemented selecting nodes 2017-09-29 10:06:14 +02:00
jos eee0b55636 Refactored unit tests (moved json objects into separate files) 2017-09-22 12:24:13 +02:00
jos 943d721d84 Implemented support for selection in eson 2017-09-22 11:38:23 +02:00
jos f3313158db Fixed issue with escaping spaces 2017-09-18 21:05:26 +02:00
jos 432e169f32 Renamed 'jsonData' to 'ESON' 2017-09-08 13:36:15 +02:00
jos 86f8aa56d0 Moved all JSON Patch methods into a separate file 2017-09-08 11:14:41 +02:00
jos 1cce254e9c Fixed losing focus when editing property 2017-01-06 20:17:31 +01:00
jos ab8d4b4be6 Changed data model to items and props having an id 2017-01-06 13:57:16 +01:00
jos 0f7c601635 Fixed broken unit test 2017-01-05 15:15:53 +01:00
jos 6ba53f7364 Implemented functions `nextSearchResult` and `previousSearchResult` 2016-12-30 14:05:11 +01:00
jos 100efb35ae Restructured search data model 2016-12-30 13:45:43 +01:00
jos 198e8edf85 Fixed ordering of search results 2016-12-30 10:52:48 +01:00
jos aa4b963592 Changed the structure of SearchResult. Highlight active search result 2016-12-30 10:44:57 +01:00
jos 37f2f77124 Refactored `search` to return an array with results, implemented `addSearchResults` 2016-11-27 21:16:17 +01:00
jos e5e61b71e3 Implemented function search 2016-11-19 21:21:09 +01:00
jos e6cb225514 Implemented function `transform` 2016-11-19 20:44:58 +01:00
jos fe3bc56d53 Implemented addErrors and removeErrors 2016-11-12 14:10:10 +01:00
jos 099c5ee8ba Fixed insert not working 2016-10-28 11:04:06 +02:00
jos f6dfe874db Fixed action menu of root node not working 2016-10-17 20:38:35 +02:00
jos 75c1497de1 Minor refactoring 2016-09-23 11:53:25 +02:00
jos 54788aa593 Created immutability function `insertAt` 2016-09-23 11:41:00 +02:00
jos 291cfbfa22 Improved errors. Fixed move before 2016-09-23 11:15:56 +02:00
jos 7f979b97dd Changed the signature of `jsonToData` to pass the json value first and make the other args optional 2016-09-18 21:54:39 +02:00
jos 0a857aaad6 Simplify patch 2016-09-18 15:40:40 +02:00
jos ad36723618 Fixed `move` 2016-09-18 15:30:57 +02:00
jos 7b6a3747d2 Refactored 'object' and 'array' to 'Object' and 'Array' respectively 2016-09-17 15:40:17 +02:00
jos 678db6bced Use JSONPatch actions internally 2016-09-16 14:41:51 +02:00
jos bb8850fb91 immutabilityHelpers don't accept non-existing paths 2016-09-09 11:43:36 +02:00
jos fe0f98dfe0 Implemented jsonpatch operations 2016-09-09 11:01:06 +02:00
jos 71c38f07af Created helper function to find a unique name (not yet used) 2016-08-26 08:57:27 +02:00
jos c5a68b1da3 Implemented expand/collapse methods and ctrl+expand/ctrl+collapse 2016-08-21 12:45:25 +02:00