Commit Graph

1638 Commits

Author SHA1 Message Date
josdejong 6b63d623ec Update package.json 2020-06-03 14:29:48 +02:00
josdejong 7ffbd39ae2 Update dependencies 2020-06-03 14:08:11 +02:00
josdejong 9565660ae5 Some refactoring in immutabilityHelpers.js 2020-06-03 14:06:39 +02:00
josdejong 1bdb00dc75 Rewrite all unit tests to plain mocha and assert 2020-06-03 13:53:31 +02:00
josdejong 91125408a9 Fix having two versions of lodash packaged (ugly workaround) 2020-06-03 11:11:41 +02:00
josdejong f17c575c60 Reset array limit when not expanded, and create a "show more" button 2020-06-03 08:43:33 +02:00
josdejong 44eb417e4f Reset array limit when not expanded 2020-06-03 08:24:06 +02:00
josdejong 0da0d14b3d Fix collapse method 2020-06-02 22:40:23 +02:00
josdejong 3ea589a126 Show title on expand button 2020-06-02 22:38:46 +02:00
josdejong 2a885ac5ef Change to `expand` and `collapse` methods which accept a callback 2020-06-02 21:58:40 +02:00
josdejong 637aa62762 Create expand/collapse all buttons 2020-06-02 21:53:36 +02:00
josdejong 61d91c2f9c Implement methods `expandAll`, `collapseAll`, and Ctrl+Click on expand button 2020-06-02 21:41:59 +02:00
josdejong 40accb3f39 Refactor `setIn` again to throw an exception when path doesn't exist 2020-06-02 21:21:14 +02:00
josdejong c293bed8e5 Replace strings with symbols to solve the issue with extending Array with specific properties 2020-06-02 21:14:06 +02:00
josdejong 1c06300443 Remove `onChangeKey`, handle in child itself 2020-06-02 18:10:33 +02:00
josdejong d2b8470e2e Rename `json` to `doc` 2020-06-02 18:02:48 +02:00
josdejong 596d868cc5 Implement `syncState` (WIP) 2020-06-02 17:58:13 +02:00
josdejong 41c633e124 Store object props in global state experiment 2020-06-02 14:48:01 +02:00
josdejong 55ee6361d6 Rename state constant names 2020-06-02 14:13:33 +02:00
josdejong e5ec845d4f Expand array limit when search result is beyond the visible items 2020-05-31 10:54:34 +02:00
josdejong 34e45a04c4 Pass `path` 2020-05-24 12:02:13 +02:00
josdejong d8c059c9b0 Implement scroll to active element via querySelector (WIP) 2020-05-24 11:57:51 +02:00
josdejong d04c94a1c6 Create global state containing expanded state 2020-05-23 20:45:28 +02:00
josdejong d2a84b29fe Implement SearchBox highlight active result (WIP) 2020-05-23 13:43:12 +02:00
josdejong 9c8febb1ff Implement SearchBox (WIP) 2020-05-22 14:13:51 +02:00
josdejong b66a1cf0fa Update devDependencies 2020-05-22 11:53:57 +02:00
josdejong e412628b89 Remove support for Symbol from immutabilityHelpers 2020-05-22 10:59:04 +02:00
josdejong 8392c57a2d Implement history (undo/redo) 2020-05-22 10:53:15 +02:00
josdejong d88120d41c Handle prevention of duplicate keys 2020-05-22 09:35:18 +02:00
josdejong dfe7c06ec7 Let `handleChangeKey` fire the change event 2020-05-22 09:20:44 +02:00
josdejong a0aaf206fa Remove use of Symbol (it's not serializable) 2020-05-20 10:16:13 +02:00
josdejong 93f3375c55 Fix bottom padding 2020-05-13 20:44:03 +02:00
josdejong 0da297c5d3 Fix height jumping when switching from empty to non-empty and vice versa 2020-05-13 20:33:43 +02:00
josdejong 5cc3665c47 Implement functions `getPlainText` and `setPlainText` 2020-05-13 20:21:44 +02:00
josdejong fce4c7910a Fix file extension of sass files 2020-05-13 10:16:59 +02:00
josdejong bcd4553adb Fix indentation 2020-05-08 21:10:59 +02:00
josdejong 324e5053d9 Cleanup outdated TODO 2020-05-08 21:09:00 +02:00
josdejong b3ef0ad6a4 Remove `options` from immutableJSONPatch.js 2020-05-08 21:07:35 +02:00
josdejong 4774a50799 Fix module url in package.json 2020-05-06 20:32:23 +02:00
josdejong 5ac813f091 Create dist/es folder for output bundle 2020-05-06 20:22:49 +02:00
josdejong f33b715391 Fix broken unit test 2020-05-06 20:17:47 +02:00
josdejong 8cb22b3480 Export jsoneditor factory function 2020-05-06 20:11:59 +02:00
josdejong 0d8854c5ea Implementing debouncing of inputs 2020-05-06 14:47:30 +02:00
josdejong 488d7bde49 Move styling into separate files 2020-05-06 14:18:31 +02:00
josdejong 8d48d16858 Fix highlighting of search results broken for values 2020-05-06 14:07:21 +02:00
josdejong d4b02e8d00 Fix highlighting of search results broken for values 2020-05-06 14:07:03 +02:00
josdejong 4d2eb28eb3 Handle changes via JSONPatch 2020-05-06 13:57:55 +02:00
josdejong e66ff70ac4 Remove some old code from getInnerText 2020-05-06 11:51:15 +02:00
josdejong e9116cc36c Fix controlling contenteditable div innerText 2020-05-06 10:47:48 +02:00
josdejong 2b73c6e6bf Some fixes in styling empty key/value 2020-05-05 21:25:54 +02:00