When switching columns layout to less columns, widgets should be moved to visible column
|Reported by:||matt||Owned by:|
|Priority:||normal||Milestone:||1.11 - Piwik 1.11|
|Component:||UI - UX (AngularJS, twig, less)||Keywords:|
Description (last modified by matt)
Bug: When moving from a 3 columns dashboard to a 2 columns dashboard, the widgets in the third columns are hidden and lost.
Expected: The widgets from any column hidden after changing layout, should be moved to the visible columns. Ideally widgets will be "distributed" among columns. Eg. if 4 columns layout becomes 3 columns, if the hidden column had 4 widgets, column with the least amount of widgets would have 2 extras, and the 2 other columns would have 1 new widget each.
Ie. Each column could get a new widget in turn, starting with the one with the least widget.