waveterm/frontend/app/tab
Evan Simkowitz 164afeeb66
Unified node model to pass data from layout to blocks (#259)
This adds a new NodeModel, which can be passed from the TileLayout to
contained blocks. It contains all the layout data that the block should
care about, including focus status, whether a drag operation is
underway, whether the node is magnified, etc.

This also adds a focus stack for the layout, which will let the focus
switch to the last-focused node when the currently-focused one is
closed.

This also addresses a regression in the resize handles that caused them
to be offset from the cursor when dragged.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-26 11:56:00 -07:00
..
tab.less reduce target area for tab close btn (#261) 2024-08-23 00:15:54 -07:00
tab.tsx tab animations (#167) 2024-07-31 12:54:43 -07:00
tabbar.less Use Window Controls Overlay API for native-like experience on Windows and Linux (#240) 2024-08-16 23:45:22 -07:00
tabbar.tsx Replace logo with platform-dependent button to open app menu (#239) 2024-08-16 16:18:42 -07:00
tabcontent.less move widgets to left, fix some paddings 2024-08-09 11:49:19 -07:00
tabcontent.tsx Unified node model to pass data from layout to blocks (#259) 2024-08-26 11:56:00 -07:00