Commit Graph
579 Commits
Author SHA1 Message Date
Evan Simkowitz a97b8cca58 use closeNode for eventbus layoutaction 2024-08-16 11:44:51 -07:00
Evan SimkowitzandGitHub b0a09db4d1 Fix Cmd:W to delete block (#238) 2024-08-16 11:40:10 -07:00
Evan SimkowitzandGitHub 65e8d4e3fd Remove double-click on block header to magnify (#233)
Now that we have the magnify button on the block, we don't need the
double-click to magnify.
2024-08-15 17:49:34 -07:00
Evan Simkowitz 42cc9f5d18 disable drag when there's a magnified node 2024-08-15 15:03:15 -07:00
Evan SimkowitzandGitHub c187059c8f Fix flicker when dragging a node through a node gap (#231)
This simplifies the rect calculations by making the gap between pixels
into a padding applied directly to the leaf nodes. This means the gaps
won't be present in the overlay layer, so when dragging a node around it
is always over an OverlayNode and the pendingAction won't be unset.

Also simplifies onDrop handling
2024-08-15 14:53:13 -07:00
Evan SimkowitzandGitHub 9fa11ff838 Fix tab switching issues with layout model (#230) 2024-08-15 13:45:45 -07:00
Evan SimkowitzandGitHub fc7bb7eaca Clean up and document the layout model code (#229) 2024-08-15 12:24:06 -07:00
Red J AdayaandGitHub a518846900 only set save button to yellow when there are edits (#228) 2024-08-15 11:17:49 -07:00
Evan Simkowitz 1dce9b026f remove typo 2024-08-14 21:58:55 -07:00
Evan SimkowitzandGitHub b5c6c1a937 Create reduced motIon setting (#226)
Adds a new setting that emulates the prefers-reduced-motion media query, allowing users to disable Wave animations without affecting other apps on their system. It also honors the prefers-reduced-motion query in case a system-level configuration is present.
2024-08-14 21:47:09 -07:00
Evan Simkowitz 3c9b3423a9 update type defs 2024-08-14 19:43:25 -07:00
Evan Simkowitz 15cd0b2477 fix resize handle drag offset 2024-08-14 19:37:47 -07:00
Evan Simkowitz a95f60469a rename vars 2024-08-14 19:27:32 -07:00
Evan Simkowitz fb1c3ac85f update var name 2024-08-14 19:09:22 -07:00
Evan Simkowitz 8262f977f0 remove unused layout tree reducer 2024-08-14 18:44:32 -07:00
Evan SimkowitzandGitHub e85b0d205e New layout model (#210)
This PR is a large refactoring of the layout code to move as much of the
layout state logic as possible into a unified model class, with atoms
and derived atoms to notify the display logic of changes. It also fixes
some latent bugs in the node resize code, significantly speeds up
response times for resizing and dragging, and sets us up to fully
replace the React-DnD library in the future.
2024-08-14 18:40:41 -07:00
Red J AdayaandGitHub 2684a74db2 webview url fix (#219)
Fixes issue where deleting the entire URL doesn't work in webview.
2024-08-14 14:39:18 -07:00
Red J AdayaandGitHub 5b686d6534 do not switch to readonly after saving (#223) 2024-08-14 14:38:21 -07:00
Red J AdayaandGitHub 688ed8a870 Fix number overlay hotkeys conflict with screenshot in macos (#222) 2024-08-14 14:38:02 -07:00
sawka 961502916b implement remotewritefile 2024-08-13 18:36:11 -07:00
Mike SawkaandGitHub 844451ea0d wsh routing + proxy (#224)
lots of changes, including:
* source/route to rpcmessage
* rpcproxy
* wshrouter
* bug fixing
* wps uses routeids not clients
2024-08-13 16:52:35 -07:00
Evan SimkowitzandGitHub 9e1460b9e1 Remove UUID library in favor of Crypto (#221)
This PR swaps usage of the `uuid` library for the built-in
`crypto.randomUUID` function, which is available in both NodeJS and the
browser. The built-in function is around 12x faster than the `uuid`
library. The strings produced by the built-in function are fully
compatible with the UUIDv4 standard, so it's an easy switch.
2024-08-12 21:20:13 -07:00
sawka f464223aab switch from 'main' to 'term' for main terminal blockfile 2024-08-12 15:53:34 -07:00
Mike SawkaandGitHub c4a0e85d32 update wsh code for easier creation of client servers (for readfile/readdir/fileinfo) (#218) 2024-08-12 10:58:39 -07:00
sawka 5e1da4805f move widgets to left, fix some paddings 2024-08-09 11:49:19 -07:00