Bootstrap upgrade #4825
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment we are on bootstrap v3
We should probably try and move to bootstrap v5.
This involves moving from less to scss.
Some initial attempts were made at that here
There is an automated tool, but it has not been updated in a while and seems to generate scss in a style that is now not advised. Tool is here
Also when upgrading, we should leave things in such a way that its easy to upgrade boostrap versions. Either git submodules to their repo, or download it during the python build script I think would be nice.
Make sure and treat bootstrap itself as a build transient file, so noone goes altering bootstrap internals.
A seperate conversation is that we can probably drop modernizer, but thats a later issue I think.
We now have #5512 which does not upgrade bootstrap, but should at least make it easier to do so when the time comes. It also successfully pares away some js deps we do not need, and I have pared away more in #5513.
This leaves us with only needing to upgrade our small custom bootstrap scripts, and the bootstrap less.
I am kind of wondering about trying to remove all bootstrap entirely? Do we really need it? We frankly do not seem to make much reference to things in it?
At least I would like to drop bootstrap js, as we should really be aiming for a js free site as much as possible.