jos
|
ec63a9a759
|
Make `add` standalone
|
2016-09-09 14:30:07 +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
|
94671507b5
|
Prevent duplicate property names
|
2016-08-26 13:25:34 +02:00 |
jos
|
9350debba2
|
Fixed property names not being escaped when rendering
|
2016-08-26 12:25:51 +02:00 |
jos
|
7280239771
|
Fixed losing caret position whilst typing
|
2016-08-26 12:16:43 +02:00 |
jos
|
ea6b00b67d
|
Fixed build script not outputting errors
|
2016-08-26 09:19:15 +02:00 |
jos
|
71c38f07af
|
Created helper function to find a unique name (not yet used)
|
2016-08-26 08:57:27 +02:00 |
jos
|
123b0c7cb4
|
Implemented simple undo/redo support
|
2016-08-21 14:15:30 +02:00 |
jos
|
56fc3164ec
|
Implemented menu with expand all / collapse all buttons
|
2016-08-21 13:43:28 +02:00 |
jos
|
737963b908
|
Remove console outputs
|
2016-08-21 13:14:18 +02:00 |
jos
|
b6d622e0d0
|
Fixed array/object not being rendered empty when removing the last item
|
2016-08-21 13:12:47 +02:00 |
jos
|
c5a68b1da3
|
Implemented expand/collapse methods and ctrl+expand/ctrl+collapse
|
2016-08-21 12:45:25 +02:00 |
jos
|
d8a0079032
|
Show placeholders when a `prop` or `value` is empty
|
2016-08-20 11:34:37 +02:00 |
jos
|
069d35ace4
|
Moved the logic for manipulating JSONData object into a separate file
|
2016-08-20 11:14:28 +02:00 |
jos
|
c8a5614511
|
Renamed `watch` script to `start`
|
2016-08-20 10:06:18 +02:00 |
jos
|
41821ef825
|
The factory function now creates a neat wrapper object instead of returning a TreeMode object
|
2016-08-19 21:14:09 +02:00 |
jos
|
422315dba2
|
Some refactoring
|
2016-08-14 14:00:14 +02:00 |
jos
|
ebca411384
|
Moved functions from objectUtils.js to immutabilityHelpers.js
|
2016-08-13 21:45:09 +02:00 |
jos
|
24ab2899dc
|
Some early refactoring of docs and examples
|
2016-08-13 21:38:32 +02:00 |
jos
|
a12505b017
|
Updated license information on some other places too
|
2016-08-13 21:23:43 +02:00 |
jos
|
25dfa2c0e1
|
Put new build script into place, update unit testing, changed license to MIT, merged css and image into the bundled js file
|
2016-08-13 21:15:52 +02:00 |
jos
|
d014146956
|
Added some todo's
|
2016-08-12 13:47:35 +02:00 |
jos
|
1099e3859f
|
Set up a structure for JSONEditor base class (instead of Main)
|
2016-08-07 13:50:46 +02:00 |
jos
|
608f45c8e7
|
Changed singnature of `handleInsert`, `handleDuplicate`, and `handleRemove`
|
2016-08-06 14:18:15 +02:00 |
jos
|
a065fbb09e
|
Create a function `getPath` instead of passing path via props
|
2016-08-06 14:08:57 +02:00 |
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 |