Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79914

Investigate refactor possibilities of Bootstrap 4 features that will be dropped in version 5

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.4
    • Themes
    • 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.

       

            mikelmartíncorrales Mikel Martín Corrales
            mikelmartíncorrales Mikel Martín Corrales
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour
                2d 1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.