Skip to content

feat(home): widget minimum sizes, Organise, new widgets and empty states - #164

Merged
AmrMsCLL merged 1 commit into
mainfrom
feat/home-widgets
Oct 20, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
feat/home-widgets

Conversation

@AmrMsCLL

Copy link
Copy Markdown
Member

What changes

  • Minimum sizes: each widget kind has a minimum and maximum width and a minimum height. Drag-resize, Narrower and the Height choices respect them; saved layouts are clamped on load.
  • Organise (edit mode, desktop): splits the 12 columns into 1 to 4 lanes, stacks widgets in reading order, stretches each lane so the bottoms line up, then re-measures once after the widths change. One Undo step.
  • New widgets: Calendar, Day progress, Journal, Goals, Next trip, Birthdays, Recent files. widgetTypes on the server lists them.
  • Cards: icon chip, link to the widget's app, larger figures, softer surface; accents tint the card.
  • Settings: one dialog per widget replaces the inline settings panel (which clipped the card) and Customise card.
  • Gallery: icons, left-aligned text, widgets of switched-off apps hidden.
  • Empty states: icon, title and an action for every widget, the empty dashboard and a crashed widget; setup actions open the widget's settings.

Checks

  • test/integration/dashboards.spec.ts (now saves each new kind), lint, tsc -b, frontend build.
  • Browser on the dev stack: all 28 widgets, Organise, settings, save, view mode, 390px phone, empty dashboard.

Every widget kind has a minimum and maximum width, a minimum height, an icon and its app. Resizing respects the minimums and saved layouts are clamped on load. Organise packs the widgets into columns with flush bottoms. Adds Calendar, Day progress, Journal, Goals, Next trip, Birthdays and Recent files. One widget settings dialog replaces the inline panel, the gallery hides widgets of switched-off apps, and every widget has an empty state.
@github-actions github-actions Bot added the size/xl Over 600 changed lines, excluding lockfiles label Oct 20, 2026
@AmrMsCLL
AmrMsCLL merged commit cf00773 into main Oct 20, 2026
7 checks passed
@AmrMsCLL
AmrMsCLL deleted the feat/home-widgets branch October 20, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl Over 600 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant