Dashboard edit-mode overhaul: drag/drop broken, no resize, per-widget options need expansion #69
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trigger
m 2026-05-21 09:28 on the just-shipped configurable dashboard (m/paliad#46, all 3 slices merged 2026-05-20):
What's broken / missing
1. Drag/drop reorder is severely limited
m can only swap the first two same-size widgets. Other reorder attempts fail. The 12-col grid implementation from newton's Slice B is either:
Acceptance: drag any widget anywhere on the grid (incl. between rows, into empty cells); drop lands correctly; layout autosaves; reload preserves the new order.
2. Resizing is absent
The design called for per-widget resize (each widget has a size — 1x1, 2x1, 2x2 etc.). Either resize handles never rendered, or they're hidden behind the wrong CSS class, or the drag handler doesn't recognise the resize gesture vs. the move gesture.
Acceptance: drag bottom-right corner of a widget to resize; widget snaps to a valid grid size (clamped to grid cols); layout autosaves; sibling widgets reflow.
3. Per-widget options need to be richer
Current settings (counts + horizon dropdowns) are too thin. m wants:
Widget-specific options are catalog-defined per widget; each widget declares its option schema and the settings pane renders the right controls.
Out of scope
Role recommendation
fixer → coder. The two bugs (drag/drop + resize) are pure regressions on a freshly-shipped feature; the per-widget-options expansion is small if scoped to the existing settings pane infrastructure. Single PR per logical area is fine, OR one bundled PR if the diff stays reviewable.
Branch:
mai/<worker>/dashboard-overhaul.Shipped via pasteur; merged at https://mgit.msbls.de/m/paliad/commit/f8c6206. Drag/drop + resize + per-widget options live after Dokploy deploy.