smashing icon indicating copy to clipboard operation
smashing copied to clipboard

Replace Gridster with CSS flex grids

Open YtvwlD opened this issue 5 years ago • 7 comments

This is an attempt to upstream the changes I did to chaosdorf/dashpi in 2017. I don't know whether this can or should be merged but I figured it might be useful. (The commits should probably be squashed.)

What it does: Replaces Gridster with a few lines of CSS.

New features: widgets scale when the window size changes Lost features: drag&drop, widgets more than two columns wide, widgets more than one row high

This requires adjustments to the dashboards, but affects just the sample project.

YtvwlD avatar Mar 31 '19 13:03 YtvwlD

I have rebased this onto current master.

YtvwlD avatar May 17 '20 15:05 YtvwlD

Thanks a lot for fixing it so quickly @YtvwlD !

I've just finished the retroactive changelog: https://github.com/Smashing/smashing/blob/master/CHANGELOG.md

There are quite a few changes not released yet. I will cut 1.2.0 as-is first, and leave it in RubyGems for a while (1 month or more I guess?) to see if there's any issue reported.

And in the meantime will review this one, check why Travis failed, and hopefully merge and prepare 1.3.0 with it.

Thanks! Bruno

kinow avatar May 18 '20 06:05 kinow

@YtvwlD I've just rebased the PR, and added an extra commit that should fix the build on Travis.

kinow avatar Jun 03 '20 22:06 kinow

Build failed only on 2.2.7, wihch is not a biggie now, as we can work around the other issues before worrying about this one.

kinow avatar Jun 03 '20 23:06 kinow

Posted on Gitter today, an alternative to Grister: https://github.com/hootsuite/grid

kinow avatar Jun 29 '20 11:06 kinow

there is also https://github.com/gridstack/gridstack.js

rompic avatar Jul 01 '20 05:07 rompic

Rebased, and removed the <center> tag. I think that's the element that was causing the x-scrollbar

kinow avatar May 04 '21 04:05 kinow