diff --git a/CHANGELOG.md b/CHANGELOG.md index 4364257..809ea16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,17 @@ ## [Unreleased] +## [2.1.0] - 2026-09-30 + +### Added +- A dashboard type can declare its grid when it is registered, with its number of columns, its row height and its gap, and each dashboard is drawn at the grid its type declared. A type that declares none gets the grid it had before. + ### Fixed - Holding a widget to start editing a dashboard works, rather than edit mode starting from a press that was let go early. - A panel a widget opens, such as the note behind a stat card's information button, is drawn over the widgets beside it rather than under them. ### Changed +- A widget takes its size from its type each time the dashboard is drawn, and a saved layout keeps where each widget sits and not its size. - A dashboard shows its widgets and nothing else until a person asks to edit it. The list of widgets to add, the way to remove one, and resizing all wait behind edit mode, which starts off. - A widget being edited drags from any point on it, where it used to drag by a handle it carried. A widget is removed by being dropped on a target, where it used to carry a Remove button. - The list of widgets to add opens as a modal from a control beside Done, and closes once a widget is chosen. diff --git a/Gemfile.lock b/Gemfile.lock index b1673f5..0e1dfca 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dash_kit (2.0.2) + dash_kit (2.1.0) keystone_ui (>= 0.11.0) keystone_ui-blocks (>= 0.6.0) rails (>= 7.1) diff --git a/lib/dash_kit/version.rb b/lib/dash_kit/version.rb index f568626..8f826b7 100644 --- a/lib/dash_kit/version.rb +++ b/lib/dash_kit/version.rb @@ -1,3 +1,3 @@ module DashKit - VERSION = "2.0.2" + VERSION = "2.1.0" end