Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Dashboard usability changes #2093
These changes address some issues with dashboards:
One of the biggest changes is that these changes are removing the broken responsive widget positioning we were trying to use in previous versions.
The reason for this is that Gridster doesn't really support that, so it was working in a random way, and changing the ordering as it pleased. Integrating Gridster into React made this even a worse problem, as now it is quite hard to know who is changing the DOM in which way.
So, instead of trying to unsuccessfully do that, I have changed the behaviour to always respect the positioning users set, regardless of the resolution. It is still possible to see all widgets in a small screen by scrolling, but we won't try to be smart about resizes and re-arrange all widgets in a random way.
That is not the ideal way I would like to have, but I think it's at least consistent, and fixes some issues while we use Gridster and React together.
Apr 21, 2016
4 checks passed
referenced this pull request
May 18, 2016
By the way, I have a project that may handle this more gracefully and is built for responsive layouts: https://github.com/STRML/react-grid-layout
Its behavior is very similar to what you have now. In fact, at my first time using it, I thought you were using RGL. Would be happy to help support if you want to use it and have any integration issues.