Commit Graph

1573 Commits

Author SHA1 Message Date
Jos de Jong e23e4a82dd Make searchResult reactive 2020-07-26 11:31:38 +02:00
Jos de Jong ad3ac339cf Fix clearing search result when closing search box 2020-07-26 11:11:46 +02:00
Jos de Jong bd73739343 Fix existsIn not working for symbols attached to arrays 2020-07-26 11:09:29 +02:00
Jos de Jong 23067b4638 Fix expanding nested search results 2020-07-26 10:56:04 +02:00
Jos de Jong ad4572d21e Extend `setIn` with optional support for creating missing path 2020-07-26 10:45:56 +02:00
Jos de Jong b9ceec09e3 Change dashed-line color to gray 2020-07-24 20:30:23 +02:00
Jos de Jong 2961e0d910 Move expandPath to stateUtils.js 2020-07-22 17:28:33 +02:00
Jos de Jong da2f912d6d Rename file to `stateUtils.js` 2020-07-22 16:57:30 +02:00
Jos de Jong 7d67ecc4bc Move logic of search into `search.js` 2020-07-22 16:53:18 +02:00
Jos de Jong be87b1e4cd Move `doSearch` to `search.js` 2020-07-22 13:46:50 +02:00
Jos de Jong 35983df136 Fix selected before-node-selector not yet visible whilst mouse is down 2020-07-22 13:40:51 +02:00
Jos de Jong 9ac6ca95c4 Implement Duplicate 2020-07-22 11:55:11 +02:00
Jos de Jong 401a6e19fd Fix a bug in `append` and a bit of refactoring 2020-07-22 11:09:33 +02:00
Jos de Jong ce8cf93170 hide before and append selector line when dragging 2020-07-22 09:49:54 +02:00
Jos de Jong 174f1194ef Cleanup a TODO, it's not working out nicely 2020-07-15 10:32:40 +02:00
Jos de Jong f3459430b0 Unify selection on mousedown 2020-07-15 10:24:39 +02:00
Jos de Jong 3919585db4 Clear selection on Escape 2020-07-15 09:05:54 +02:00
Jos de Jong 404f623215 Swap to first/last search result when end is reached 2020-07-12 14:56:53 +02:00
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