fix(dashboard): noCompactor + note edit/preview toggle + widget border
Tessera CI/CD / Tests (push) Has been cancelled
Tessera CI/CD / Build & Publish Images (push) Has been cancelled
Tessera CI/CD / Lint & Type Check (push) Has been cancelled

- dashboard-grid: add noCompactor to prevent auto-compaction on drag
- note-widget: edit/preview toggle button (pencil icon), isEditing state,
  hideToolbar in preview mode
- widget-wrapper: border-primary/20 accent border
- dashboard-store: console.error on widget add/remove/layout-save failures

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 08:57:37 +02:00
parent be3680d0df
commit c8f3361816
4 changed files with 41 additions and 40 deletions
@@ -25,7 +25,7 @@ export function WidgetWrapper({ widget, isEditMode, onRemove }: WidgetWrapperPro
return (
<div
className="relative h-full w-full overflow-hidden rounded-lg border bg-card shadow-sm"
className="relative h-full w-full overflow-hidden rounded-lg border border-primary/20 bg-card shadow-sm"
data-widget-id={widget.id}
role="article"
aria-label={definition ? t(definition.nameKey) : widget.widgetType}