Boost theme adoption

Boost theme adoption

by David Monllaó -
Number of replies: 11

Hi all,

We would like to have an idea of how many moodle >= 3.2 sites use a theme_bootstrapbase-based theme (bootstrap 2) and how many sites use a theme_boost-based (bootstrap 4 alpha). This info will be useful to decide how we approach the upgrade to bootstrap 4 stable. It would also be very useful to know if you have any plans to upgrade soon.

Thanks in advance

Average of ratings: Useful (1)
In reply to David Monllaó

Re: Boost theme adoption

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi David,

As soon as MDL-56511 lands I would want to update all of my current contributed themes from BS2.3.2 to BS4 - thus pragmatically at least Essential and Shoelace.  Essential currently has 10558 sites using it and Shoelace 506.

By 'approach' do you mean that you'd back-port stable code to M3.4 and below?

Gareth

Average of ratings: Useful (3)
In reply to Gareth J Barnard

Re: Boost theme adoption

by David Monllaó -

Thanks for replying Gareth.

We want a theme based on a stable version of bootstrap 4 and Bas Brands is working on it, currently as a separate theme. We would like to upgrade theme_boost to bs4 stable instead and we want a smooth transition for people that are already using a theme based on theme_boost. We would provide a compatibility file (similar to bs2-compat.scss and bs4-compat.less) that would reduce the differences between bs4alpha and bs4stable but it is likely that we would still break some of the current theme_boost classes. Having an idea of theme_boost adoption will help us balance the aggressiveness of our theme_boost changes.

Average of ratings: Useful (2)
In reply to David Monllaó

Re: Boost theme adoption

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Thanks David.

Ok, what about a long term plan, say for M3.6 that has 'Bootstrapbase' upgraded to vanilla BS4, then Boost being more specialised would then have time to upgrade / migrate to being a child theme of such with its extra capabilities such as presets?  Then enough time for contributed themes to upgrade and Boost based themes some breathing space.

In reply to Gareth J Barnard

Re: Boost theme adoption

by Bas Brands -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers

Hi Gareth,

I agree that would be very helpful when upgrading themes, but themes would still break when using a lot of Bootstrap 2 specific classes. I think maybe the issue with upgrading to having boost as a parent theme is getting all the extras like the nav-drawer, changed navigation an things like that. What if there was a way to simply turn off the template that change these things an have boost behave like a bootstrapbase theme?

Average of ratings: Useful (1)
In reply to Bas Brands

Re: Boost theme adoption

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Bas,

I was thinking of Moodle dropping BS2 and moving forward into the future.  So therefore in M3.5 BS 4 stable becomes a core contributed 'base' theme and 'Bootstrapbase' becomes depreciated (in terms of BS2), giving time for existing themes to change their parent.  In M3.6, 'Bootstrapbase' becomes the BS4 stable version and Boost looses its BS4 alpha version and becomes a child theme of it.  Then all themes have one BS4 base theme but with different functionalities, so core can have Boost, Clean and More all with the same parent but offering different functionality and user experiences to suit varying needs.

G

Average of ratings: Useful (1)
In reply to Gareth J Barnard

Re: Boost theme adoption

by David Monllaó -

A couple of links about bootstrap base (feel all free to comment):

In reply to David Monllaó

Re: Boost theme adoption

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
Currently using a theme based on BS3 in work, and developing/supporting a couple of Boost based child themes in the plugins database. Will be moving to a Boost based theme in the summer when we upgrade.
Looking forward to seeing Boost as BS4 and will then be happy to update Waxed/Handlebar to that standard.
Richard
Average of ratings: Useful (1)
In reply to David Monllaó

Re: Boost theme adoption

by Stephen Bourget -
Picture of Core developers Picture of Plugin developers Picture of Testers

On the 3 sites I maintain, when we upgraded to Moodle 3.3+ last fall we retired our bootstrap 2 & 3 based themes and are now using multiple themes based on boost. 

-Steve

Average of ratings: Useful (1)
In reply to David Monllaó

Re: Boost theme adoption

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi David,

If the Plugins Database Stats for Moodle Themes are correct then

Themes >= 3.2

Adaptable (Bootstrap Base) = 5570 Approx

Moodle 3.5 6
Moodle 3.4 1493
Moodle 3.3 2703
Moodle 3.2 1368

Essential (Bootstrap Base) = 4690 Approx

Moodle 3.5 10
Moodle 3.4 1171
Moodle 3.3 2336
Moodle 3.2 1173

Moove (Boost) = 1665 Approx

Moodle 3.5 6
Moodle 3.4 599
Moodle 3.3 931
Moodle 3.2 129

Fordson (Boost) = 1649 Approx

Moodle 3.5 5
Moodle 3.4 467
Moodle 3.3 877
Moodle 3.2 300

Aardvark (Base / Canvas) = 2107 Approx

Moodle 3.5 2
Moodle 3.4 440
Moodle 3.3 1054
Moodle 3.2 611
Average of ratings: Useful (4)
In reply to Mary Evans

Re: Boost theme adoption

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

just a note to say I have added the Aardvark theme to the Stats List above to show how there are some older themes still in service which is totally amaizing!

 

Mary

In reply to David Monllaó

Re: Boost theme adoption

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The Open University is using a theme based on bootstrapbase, and that was only 'finished' a year ago. Of course, we are still working to improve it. Doing a custom theme for the whole of Moodle is a huge job, we want to use this theme for several more years, not throw it away and start again.

Base themes in Moodle core need to be built to last a very long time. Really, we should be able to update third-party dependencies in-place, rather than having to continually throw them away and start again.

I suppose we have not thought about how hard it would be to change the theme we are based on. However, since themes have to have a lot of code to override core stying, I am sure it would not be pretty.