On Mon, Oct 24, 2016 at 7:50 PM, Guillaume Delhumeau < [email protected]> wrote:
> Last month, one of the main contributors of Bootstrap has announced that > the 3.x.x branch will no longer be developed [1]. > > It means that they are currently putting all their efforts to Bootstrap > 4.x, and now they are releasing Alphas so the version 4.0 should be > available soon. > > In Flamingo, we use Bootstrap 3.3.7. If we decide to upgrade to Bootstrap > 4, we will have the following problems: > > 1. Bootstrap 4 is not retro-compatible with Bootstrap 3. There are new > components, and some have been removed. We know that some extensions are > using Bootstrap elements so there is a risk they're gonna be broken. > > 2. Bootstrap 4 no longer uses the LESS language. Instead, they use SASS [2] > (the SCSS variant). Which means we should integrate SASS in XWiki, as we > did for LESS. Some work could be re-used, but there are still work to do, > and it increases the number of CSS preprocessor to support. For the record, > the team has mentioned that Bootstrap might use PostCSS in the future! > > I've already spoken about this problem in a previous thread last year [3], > but the problem will probably hits us in the following months. It may be a > strong topic for XWiki 9.x or 10.x. > > Note: I haven't mentioned the Bootstrap alternative called "Foundation" > [4], since it would be a bigger breaking change :) > Or http://semantic-ui.com/ . Bootstrap is missing some (JavaScript) components for rich user interaction. It is very nice if you only need a presentation website but in XWiki we need more than that. We often need to create forms and we need widgets: suggest input, date picker, slider, advanced select, form validation, etc. The select widget you recently integrated in the Administration for selecting languages is such an example. Integrating these widgets (even if they have a Bootstrap look&feel) using their WebJar is not seamless because the CSS they provide won't obey the color theme. Something to have in mind for the future. Thanks, Marius > > Thanks, > > Guillaume > > [1] https://github.com/twbs/bootstrap/issues/20631#issuecomment-244844932 > [2] http://sass-lang.com/guide > [3] http://markmail.org/message/7sbviier23wzfadf > [4] http://foundation.zurb.com/ > > -- > Guillaume Delhumeau ([email protected]) > Research & Development Engineer at XWiki SAS > Committer on the XWiki.org project > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

