-
Task
-
Resolution: Done
-
Minor
-
None
-
4.4
-
MOODLE_404_STABLE
-
5
-
HQ 2024 Planning I1 Moppies
In Bootstrap version 5, there are some features that will be dropped with no BS5 specific replacements. All these dropped features are announced in Boostrap, Migrating to v5.
That allows isolating some changes by refactoring all the code appearances before the Bootstrap 5 upgrade.
As an example:
[Breaking] Dropped the .media component as it can be easily replicated with utilities. See #28265 and the flex utilities page for an example.
With that information, we can detect all the occurrences of .media usages in Moodle codebase and replace them with no BS5 upgrade need.
The goal of this task is to go over all the changes and detect which of them are candidates for this type of refactoring.
Alongside the cleaning of the occurrences in the codebase, the related styles that won't exist in BS5 should be added as a new commit to the compatibility layer (bs5compat.scss) defined in MDL-80519. Thanks to these third-party plugins, old dropped BS4 classes/mixins will be available for some time after the BS5 upgrade.
- has been marked as being related by
-
MDL-80519 Create a compatibility layer for Bootstrap v4 > v5 SCSS
-
- Closed
-
- is parent of
-
MDL-75670 Refactor Bootstrap form layouts preparing them for Bootstrap 5
-
- Closed
-
-
MDL-80238 Refactor .jumbotron dropped in Bootstrap 5
-
- Closed
-
-
MDL-80244 Refactor Navbars preparing them for Bootstrap 5
-
- Closed
-
-
MDL-80259 Refactor .badge-[warning|info|...] and .badge-pill classes dropped in Bootstrap 5
-
- Closed
-
-
MDL-80395 Refactor dropped mixins in Bootstrap 5
-
- Closed
-
-
MDL-80396 Refactor .media component dropped in Bootstrap 5
-
- Closed
-
-
MDL-80397 Refactor some .card-* helpers dropped in Bootstrap 5
-
- Closed
-