Commit Graph

1555 Commits

Author SHA1 Message Date
Jos de Jong c773e5bfa9 Be able to select a single node by clicking 2020-07-12 14:49:12 +02:00
Jos de Jong 7ad262a7b1 Group lodash imports 2020-07-12 11:17:19 +02:00
Jos de Jong 89fc4070a2 Fix appending `... (copy)` suffix when replacing keys with new keys having the same name(s) 2020-07-12 11:13:06 +02:00
Jos de Jong fb3a9cdf36 Rename action to operation 2020-07-12 10:58:55 +02:00
Jos de Jong bdc9f3ba34 Fix cut/copy/paste shortcuts not working when menu button has focus 2020-07-12 10:53:05 +02:00
Jos de Jong 65c38f7b05 Implement restoring selection on undo/redo (not yet for cursor) 2020-07-08 16:15:27 +02:00
Jos de Jong 2fb95c3951 Select pasted content after pasting 2020-07-08 15:22:34 +02:00
Jos de Jong 2a7d4828cb Make quick keys for cut/copy/paste working 2020-07-08 14:58:18 +02:00
Jos de Jong 0e5dabed89 Fix `insertBefore` and `replace` relying on object key order 2020-07-08 14:41:38 +02:00
Jos de Jong 16d3092670 Ensure property key to be unique 2020-07-08 13:19:40 +02:00
Jos de Jong 2f393e5948 Fix pasting properties inline in an object instead of at the bottom 2020-07-08 12:49:12 +02:00
Jos de Jong e44284df90 Fix pasting clipboard in empty object 2020-07-08 10:04:09 +02:00
Jos de Jong bbf0543d85 Fix array collapsing when pasting clipboard 2020-07-08 09:48:40 +02:00
Jos de Jong fa2a23a83d Cut/copy/paste (WIP) 2020-07-05 14:18:34 +02:00
Jos de Jong 823b445e94 Implement selecting before or after a node (WIP) 2020-07-04 20:34:35 +02:00
josdejong 9a23799d5f Implement selecting one or multiple nodes by dragging 2020-06-24 14:20:25 +02:00
josdejong 20a067508d Styling tweaks 2020-06-03 16:00:47 +02:00
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