Commit Graph

859 Commits

Author SHA1 Message Date
jos ab37f5ba9a Handle state of context menus in the JSONNodes. Append context menu working now 2016-08-05 20:23:23 +02:00
jos 9d61ce001a Halfway implementing AppendContextMenu. Upgraded to preact v5.6.0 2016-08-05 14:17:24 +02:00
jos 7f6e7459df Fixed preact errors regarding `contentEditable` 2016-08-05 11:21:16 +02:00
jos 4baa98c961 Some refactoring. Pass options `name` and `expand` via `.set` 2016-07-31 22:02:51 +02:00
jos 274a99ddef Removed helper functions in Main 2016-07-31 21:42:24 +02:00
jos 525a41a7d5 Implemented data conversion when switching type 2016-07-31 15:25:49 +02:00
jos 49f0ed3e4f Implemented support for type 'string' 2016-07-31 14:41:28 +02:00
jos 38250a38ba Refactored the internal data structure 2016-07-31 14:27:20 +02:00
jos 224e436828 Sort objects by property instead of value 2016-07-30 20:37:00 +02:00
jos 5416676735 Changed internal path to Array again 2016-07-30 20:30:08 +02:00
jos 667d3f32aa Implemented actions for ContextMenu (not all fully working yet) 2016-07-30 14:40:58 +02:00
jos c3c836fa89 Fixes in life cycle of ContextMenu. Adjust top/bottom orientation 2016-07-24 22:14:45 +02:00
jos a9f0fe07c1 Completed displaying of context menu 2016-07-24 15:31:16 +02:00
jos a1859a9aff Fixed showing multiple context menus 2016-07-16 14:31:01 +02:00
jos cd08e16789 Refactored path to be a JSON pointer 2016-07-16 14:24:28 +02:00
jos 37ae2111ee Created context menu button. Some refactoring 2016-07-16 13:48:20 +02:00
jos fda4f94655 Implemented a data model, fixed ordering of object properties, implemented options `name` and `expand` 2016-07-15 22:43:59 +02:00
jos fd631cd34c Keep state of value in JSONNode whilst typing (for live updating of colors) 2016-07-14 15:35:37 +02:00
jos d0abc3124a Fixed array index not being rendered when an array item is an object or array 2016-07-14 15:23:16 +02:00
jos b796de2128 Implemented expand/collapse 2016-07-14 15:15:50 +02:00
jos 5adf72dcc1 Some refactoring in the build scripts 2016-07-13 15:09:56 +02:00
jos 32853ea0d8 Some refactoring 2016-07-13 14:50:31 +02:00
jos 7fb5ca6517 Some refactoring 2016-07-13 14:32:43 +02:00
jos c0f075a9e6 Largely fixed jumping of fields when renaming. Some refactoring. 2016-07-13 14:26:11 +02:00
jos 8723855bdf Added `react-dev-server` dependency 2016-07-12 21:45:38 +02:00
jos 22785614af Created temporary scripts 2016-07-12 21:43:32 +02:00
jos c46f27334c Css fixes and improvements 2016-07-12 21:35:43 +02:00
jos 1c3a323387 Refactored `escape` utils 2016-07-12 21:20:11 +02:00
jos f011e3f107 coloring fields, urls, and a refactoring 2016-07-12 21:07:50 +02:00
jos 89657a539f escape/unescape fields and values 2016-07-12 16:19:57 +02:00
jos 4e0aa5659c Apply changes in fields 2016-07-12 15:43:42 +02:00
jos 0d250cbdcd Basic editor using preact 2016-07-12 13:56:40 +02:00
jos b4cf47b06f Moved old source code to `src_old` 2016-07-12 13:56:04 +02:00
jos e4073905a5 Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false 2016-07-05 20:09:34 +02:00
jos 91d9bc6903 Released version 5.5.6 2016-06-15 19:35:28 +02:00
jos c2c7dd5adf Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set 2016-06-06 21:25:45 +02:00
jos 410dffbce7 Updated history 2016-06-06 21:11:31 +02:00
Jos de Jong 45be754de8 Merge pull request #305 from RDCH106/master
Added save dialog to example 4
2016-06-06 21:09:18 +02:00
Rubén de Celis Hernández 9bf3e37153 Added save dialog 2016-06-03 19:32:21 +02:00
jos f084180730 Released v5.5.5 2016-05-24 19:54:56 +02:00
jos c8de51d03f Fixed #298: Switch mode button disappears when switching from text/code to tree/form/view mode when the JSON contained errors 2016-05-23 21:27:34 +02:00
jos 67823c6642 Some code reorganization 2016-05-23 21:09:04 +02:00
jos f7c9b7d9ff Some code reorganization 2016-05-23 20:52:00 +02:00
jos b67d683f1a Fixed enum drop downs not working when the JSONEditor is configured with a name (see #285) 2016-05-23 20:35:24 +02:00
jos b18537f976 Released v5.5.4 2016-05-22 20:43:26 +02:00
jos b11dc3038f Fixed nodes being multi-selected when selecting an enum drop down 2016-05-22 20:40:17 +02:00
jos 40c1b887e7 Fixed a (harmless) error in the console when clicking right from an enum drop down 2016-05-22 20:19:19 +02:00
jos b922aceb07 Fixed #285: an issue with the enum drop down when having defined multiple enums in a JSON schema 2016-05-22 20:14:50 +02:00
jos 60b7b17511 Released v5.5.3 2016-05-22 15:12:28 +02:00
jos 8c3c476fe7 Fixed #299: reverted the fix of #268 by trimming text in fields and values 2016-05-22 14:59:37 +02:00