.. include:: /Includes.rst.txt .. _feature-1793451882: ================================================ Feature: Give dashboard widgets a height in rows ================================================ Description =========== A widget definition now declares ``defaultHeight``, ``minHeight`` and ``maxHeight`` in grid rows; none of them needs to be set, and a widget is one row high then, as before. A placement on a dashboard has ``rows``, the height the user chose, or the default height of its widget where none was chosen. ``addDashboardWidget``, ``updateDashboardWidget`` and ``replaceMyDashboardLayout`` take ``rows`` and refuse a height the widget does not allow with 422; a layout that omits ``rows`` keeps the heights. The widget catalogue lists the three heights. The approval inbox, a list, starts two rows high and may be one to four rows high. The table ``dashboard_placement`` gets the nullable column ``height``; existing placements have none and so the default height of their widget. Impact ====== Widgets can be made taller, which the dashboard screen offers in the same release. Dashboards of existing users look as before, except that the approval inbox is two rows high until they change it. .. index:: API, Database, package:adsum-core