Dashboards 0.2.2: Dragging a widget now repairs its stored height
Dashboards 0.2.2 finishes a fix from 0.2.1. Dragging a widget to another cell on a grid dashboard now saves its height as well as its position and width.
Before, a widget whose height had been stored as text kept that text value after every drag, because only the position and width were written back. The builder read past it, but the stored record was never repaired. Now the drop saves a clean number, the same way resizing does.
The rest of the release is test and documentation fixes, including links from the package documentation to the source code. No change in what a site needs to run.
Full release notes: Dashboards 0.2.2
0.2.2 · 19 July 2026
Fixed
Dashboards.place_at_cell/5(a grid drag-to-cell drop) coerced a legacy/tampered string"h"only for its row-bound clamp but persisted justx/y/w, so the string span survived every drag. It now persists the coerced"h"too (matchingresize_instance/7/grow_on_layout/5), healing the stored placement.- Both regression tests added in 0.2.1 for the legacy-span coercion fixes were
committed unverified (no PostgreSQL in the review environment) and failed
against a real DB: the
place_widget_grid/5one via the persistence gap above, the view-switch-growth one via a setup that placed the clock on an occupied cell and couldn’t trigger growth. The latter was redesigned to actually reach the guarded path and pin theArithmeticError. mix.exssource_refpointed ExDoc source links at non-existentv-prefixed tags; the repo tags bare version numbers. Corrected, along with the stale core-pin floor comments inmix.exs/AGENTS.md(the floor has been~> 1.7.189sincePhoenixKit.SchemaPrefix).
Dashboards 0.2.2. Install or update: {:phoenix_kit_dashboards, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.