Add panel size constraints and size properties to board types.

- Add MIN_ROW_HEIGHT, MAX_ROW_HEIGHT, MIN_COLUMN_WIDTH, BUTTON_ROW_HEIGHT constants
- Apply minSize/maxSize constraints to row and column panels
- Add size property to BoardColumn and BoardRow types for future persistence
- Add optional chaining for safer property access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mike CaoandClaude Opus 4.5 committed 2026-01-19 00:28:42 -08:00
1 parent 30c3ba77cc
commit 30e48e3aaa
2 files changed
+14 -9

No files matched your search

+2
View File
@@ -153,11 +153,13 @@ export interface BoardComponent {
export interface BoardColumn {
id: string;
component?: ReactElement;
size?: number;
}
export interface BoardRow {
id: string;
columns: BoardColumn[];
size?: number;
}
export interface BoardParameters {