waveterm/frontend/faraday
Evan Simkowitz 75c9e211d9
Add resize handles to the layout system (#66)
Adds resizability to the layout system.

Hovering in the margins of a block will highlight the available resize
handle and show a cursor indicating its resize direction. Dragging will
cause the resizing nodes to blur out and be replaced by an outline.
Releasing the handle will commit the new resize operation and cause the
underlying nodes to update to their new sizes.

We'll want to refactor this in the future to move all layout and resize
logic into a shared model that the TileLayout code can talk to, but
that's a future improvement. For now, this makes some compromises,
mainly that the logic is kind of distributed around.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-03 14:31:02 -07:00
..
lib Add resize handles to the layout system (#66) 2024-07-03 14:31:02 -07:00
tests add new test for placeholder noop 2024-06-18 16:06:19 -07:00
index.ts wsh view works -- uses a WS event to send to the frontend 2024-06-24 19:04:08 -07:00