waveterm/frontend/layout/lib
Evan Simkowitz 16e1b7f65c
Unmagnify the final leaf in a layout (#307)
This handles an edge case where a user deletes all unmagnified nodes,
leaving a final node that is still magnified. Because we ignore
magnify/unmagnify operations when there's only one leaf remaining, this
would result in the last node being stuck magnified until a new node is
added.

Also fixes a bug where the layout would not always update when a new
block was added.
2024-09-03 14:26:29 -07:00
..
layoutAtom.ts Establish wlayout for coordinating backend layout actions (#282) 2024-08-27 18:38:57 -07:00
layoutModel.ts Unmagnify the final leaf in a layout (#307) 2024-09-03 14:26:29 -07:00
layoutModelHooks.ts Unmagnify the final leaf in a layout (#307) 2024-09-03 14:26:29 -07:00
layoutNode.ts fix nullref in layoutNode.findNode 2024-08-27 13:48:53 -07:00
layoutTree.ts Explicitly set focus on insert (#285) 2024-08-27 23:16:07 -07:00
nodeRefMap.ts Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
tilelayout.less ignore prefers-reduced-motion for resize handle line delay 2024-08-30 12:52:02 -07:00
tilelayout.stories.less rename faraday to layout (#147) 2024-07-23 13:50:23 -07:00
TileLayout.stories.tsx New layout model (#210) 2024-08-14 18:40:41 -07:00
TileLayout.tsx fix treereducer getting out of sync 2024-08-29 12:38:13 -07:00
types.ts Fix infinite loop in layoutAtom, improve iconbutton disable code (#306) 2024-09-03 11:24:45 -07:00
utils.ts Unified node model to pass data from layout to blocks (#259) 2024-08-26 11:56:00 -07:00