fix(board): fit preview to panel, keep app selection on search, keep checklist under modals

- Scale oversized widget previews to fit the 320px panel
- Derive selected apps from all apps so search doesn't drop selections
- Drop checklist Affix z-index override so modals stay on top
- Always render preview panel (placeholder state) and add custom widget previews
- Hide preview column below lg breakpoint to avoid crushing the grid
This commit is contained in:
Thomas Camlong committed 2026-08-17 11:22:23 +02:00
1 parent f10e49fa20
commit 6d6815a901
5 files changed
+119 -50

No files matched your search

@@ -34,10 +34,7 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner
[apps, search],
);
const selectedApps = useMemo(
() => filteredApps.filter((app) => selectedAppIds.has(app.id)),
[filteredApps, selectedAppIds],
);
const selectedApps = useMemo(() => apps.filter((app) => selectedAppIds.has(app.id)), [apps, selectedAppIds]);
const handleSelect = (app: SelectableApp) => {
if (multiSelect) {