Empty state when all dashboard widgets are closed #39
Reference in New Issue
Block a user
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?
Problem
Widgets are closable (#14). Close all of them and the dashboard is a blank page: no widgets, no explanation, and the only visible way forward is the "Layout zurücksetzen" button in the toolbar — which the user has no reason to associate with "get my dashboard back".
The grid itself keeps
minRow: 1so it does not collapse entirely, but there is nothing in it.Proposal
Render a placeholder when the grid has zero items:
GridStackItem.CloseEventand the add path.The placeholder must not be a
GridStackItemitself, or it becomes draggable and gets persisted into the layout.Acceptance criteria
getLayout().--dialect-*token layer, correct in light and dark theme.translations.properties,_en,_es).Depends on
#21 (the CTA needs a picker to open). Without it, ship with the reset action only.
Scope
Small.
PR: #49 — CI green.