Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61326

Replace 24-column Bootstrap 3 grid with 12-column Bootstrap 5 version

      Jenkins uses a very old and patched version of Bootstrap's Grid v3.1.1 (release from 2014). This JS library is automatically included in all jelly views that use the layout tag. This has several disadvantages:

      • The JS lib is 6 years old and outdated and is not compatible with other modern JS libraries (see layout hack in the bootstrap4 plugin to get BootStrap 4 working on plugins views like in the Warnings plugin).
      • The JS lib has been patched and does not use the default 12-column layout. However, a 12-column layout is expected by a lot of different JS libraries with a dependency to bootstrap. E.g. the data-tables columns will use only half of the screen due to the 24 column hack.

      It would make sense to replace this version with the corresponding new version of Bootstrap 4 (btw: Bootstrap 5 is on its way). Note that this may break the layout in some plugins that already use the 24 columns.

          [JENKINS-61326] Replace 24-column Bootstrap 3 grid with 12-column Bootstrap 5 version

          Ulli Hafner created issue -
          Ulli Hafner made changes -
          Labels New: ux-sig
          Ulli Hafner made changes -
          Labels Original: ux-sig New: UX
          Ulli Hafner made changes -
          Labels Original: UX New: UX user-experience

          Ulli Hafner added a comment -

          I created https://github.com/jenkinsci/jenkins/pull/4693 as a workaround for plugins until a fix is available.

          Ulli Hafner added a comment - I created https://github.com/jenkinsci/jenkins/pull/4693 as a workaround for plugins until a fix is available.
          Ulli Hafner made changes -
          Link New: This issue depends on JENKINS-62094 [ JENKINS-62094 ]
          Daniel Beck made changes -
          Released As New: Jenkins 2.235
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Ulli Hafner added a comment -

          This issue is not fixed, we just have a workaround with https://github.com/jenkinsci/jenkins/pull/4693

          Ulli Hafner added a comment - This issue is not fixed, we just have a workaround with https://github.com/jenkinsci/jenkins/pull/4693
          Ulli Hafner made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Ulli Hafner made changes -
          Released As Original: Jenkins 2.235

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: