[JIRA] (JENKINS-61326) Replace 24-column Bootstrap 3 grid with 12-column Bootstrap 4 version

0 views
Skip to first unread message

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 4, 2020, 2:10:02 PM3/4/20
to jenkinsc...@googlegroups.com
Ulli Hafner created an issue
 
Jenkins / Improvement JENKINS-61326
Replace 24-column Bootstrap 3 grid with 12-column Bootstrap 4 version
Issue Type: Improvement Improvement
Assignee: Ulli Hafner
Components: core
Created: 2020-03-04 14:09
Priority: Major Major
Reporter: Ulli Hafner

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 4, 2020, 2:10:03 PM3/4/20
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 4, 2020, 2:11:02 PM3/4/20
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 4, 2020, 7:15:03 PM3/4/20
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Apr 28, 2020, 10:02:03 PM4/28/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
May 4, 2020, 5:11:04 PM5/4/20
to jenkinsc...@googlegroups.com
Daniel Beck closed an issue as Fixed
 
Change By: Daniel Beck
Status: Open Closed
Resolution: Fixed
Released As: Jenkins 2.235

ullrich.hafner@gmail.com (JIRA)

unread,
May 4, 2020, 6:12:03 PM5/4/20
to jenkinsc...@googlegroups.com
Ulli Hafner reopened an issue
 

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

Change By: Ulli Hafner
Resolution: Fixed
Status: Closed Reopened

ullrich.hafner@gmail.com (JIRA)

unread,
May 4, 2020, 6:16:02 PM5/4/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages