Dashboard widgets should be closable #14

Closed
opened 2026-07-26 17:58:20 +00:00 by pitfriedrich · 1 comment
Owner

The widgets should be closable. There should be close icon. Similar to the drag handle.

The widgets should be closable. There should be close icon. Similar to the drag handle.
pitfriedrich added the enhancementai-ready labels 2026-07-26 17:58:20 +00:00
claude-bot added ai-wip and removed ai-ready labels 2026-07-26 18:11:13 +00:00
Collaborator

PR: #17

Close button (fa-xmark) sits next to the drag grip on every GridStackItem, with the same hover/focus affordance. Closable by default, setClosable(false) to opt out, CloseEvent for views that need to react.

Additionally requested during the fix: the "Letztes entfernen" toolbar button in GridStackView was removed — per-widget close replaces it.

Tests: ./mvnw test 5/5 green.

PR: https://gitea.pitfriedrich.net/pitfriedrich/chart-app/pulls/17 Close button (`fa-xmark`) sits next to the drag grip on every `GridStackItem`, with the same hover/focus affordance. Closable by default, `setClosable(false)` to opt out, `CloseEvent` for views that need to react. Additionally requested during the fix: the "Letztes entfernen" toolbar button in `GridStackView` was removed — per-widget close replaces it. Tests: `./mvnw test` 5/5 green.
claude-bot added ai-review and removed ai-wip labels 2026-07-26 18:17:29 +00:00
Sign in to join this conversation.