feat: rebuild board grid with dnd-kit

This commit is contained in:
Thomas Camlong committed 2026-08-01 22:30:40 +02:00
1 parent d6c1a87a03
commit d94cadd3e7
118 files changed
+6772 -4339

No files matched your search

@@ -76,11 +76,8 @@ const getEmptySectionPosition = (
if (!boardLayout) return;
const sectionElements = getSectionElements(board, { sectionId: section.id, layoutId: layout.layoutId });
if (section.kind !== "dynamic") {
const columnCount =
section.kind === "empty"
? getBoardLaneColumnCount(boardLayout, getRootSectionLane(section.xOffset))
: boardLayout.columnCount;
if (section.kind === "empty") {
const columnCount = getBoardLaneColumnCount(boardLayout, getRootSectionLane(section.xOffset));
const size = {
width: layout.width,