KamoCRM

Three-column widgets and per-widget minimum sizes

Featurekamo-internal
Shipped
28 ஆகஸ்ட், 2026 அன்று 3:39 AM UTC
Author
Kamo
Commit
76cd362

Widens WidgetWidth to 1 | 2 | 3 | 'full' and lets a WidgetDefinition declare minWidth/minHeight. widgetMinSize(definition) converts that into a PaneSize floor (or null when nothing is declared), giving both axes a floor even when only one is declared — the un-declared axis floors at its own default size. Threads that floor from the registry through every consumer that sizes or resizes a pane: useHomePanes' sizeOf/setSize, PaneChrome's drag AND keyboard resize paths (all three clamp calls), SortableCard, the home page's sortable-grid widget render site, and the settings-page layout preview. The pinned-widget band in page.tsx is untouched on purpose — it always renders at widgetDefaultSize and never reads stored preferences, so a declared default already satisfies its own floor. No widget in the registry declares width 3 or a minimum yet; that is later work. This only widens the vocabulary and wires the machinery.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing