Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When switching columns layout to less columns, widgets should be moved to visible column #3674

Closed
mattab opened this issue Jan 16, 2013 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 16, 2013

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.

@sgiehl
Copy link
Member

sgiehl commented Jan 17, 2013

(In [7769]) fixes #3674 move widgets to remaining columns if column count is reduced when switching dashboard layout. Widgets are moved based on the height of the remaining columns. each widget is moved to the column with the smallest height (which changes while moving widgets)

@mattab
Copy link
Member Author

mattab commented Jan 18, 2013

Very nice fix!!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants