Split board view/edit rendering and isolate edit interactions

This commit is contained in:
Mike Cao 2026-02-12 22:36:23 -08:00
parent b09694ddb6
commit d8c41ac8a6
15 changed files with 249 additions and 111 deletions

View file

@ -0,0 +1,15 @@
import { useBoard } from '@/components/hooks';
import { BoardViewRow } from './BoardViewRow';
export function BoardViewBody() {
const { board } = useBoard();
const rows = board?.parameters?.rows ?? [];
return (
<div style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
{rows.map(row => (
<BoardViewRow key={row.id} columns={row.columns} />
))}
</div>
);
}