waveterm/frontend/layout/tests
Evan Simkowitz 9b12aa9882
Fix bug in TileLayout where computeMoveNode had stale node data (#361)
This was hard to debug. It manifested in nodes that had been collapsed
into their parent. When a node was dragged over the recently-collapsed
node, the placeholder would show the action as if the flex direction was
reversed. It turns out useDrag has trouble tracking changes to the
LayoutNode objects. For now, I am just finding the nodes again in the
computeMoveNode function. Later when I redo the drag system, I will fix
this better.
2024-09-10 17:23:28 -07:00
..
layoutNode.test.ts remove .js from imports 2024-08-26 16:37:05 -07:00
layoutTree.test.ts Fix bug in TileLayout where computeMoveNode had stale node data (#361) 2024-09-10 17:23:28 -07:00
model.ts fix layoutTree tests 2024-08-26 16:35:35 -07:00
utils.test.ts remove .js from imports 2024-08-26 16:37:05 -07:00