Skip to content

[JENKINS-56109] Jenkins Core: Change Jenkins configuration UI from tables to divs #20271

Closed

Description

@jenkins-infra-bot

Report all issues with a complete plugin list (reporting this as an issue in the changelog isn't helping anyone)

JENKINS_HOST=username:password@​myhost.com:port
curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?([\w-]+).*?([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
 

Check if your plugin already has an issue reported https://issues.jenkins.io/issues/?filter=22840 (artifactory plugin is jfrog/jenkins-artifactory-plugin#350

If you know which plugin is causing the issue report a new issue, including steps to reproduce and screenshots and label it with 'tables-to-divs-regression'

 

Historically, jenkins's jelly framework generated lots of tables. These tables are very mobile hostile. The ui it generates is also not in line with modern UIs.

 

Here's one example from Windows 10's settings:

Note that the label for a field is above the field – not to the left of the field.

Here's a much older UI from Windows:

Note that the labels for checkboxes/radios are to the right of the buttons, not to their left (* with RTL layouts, this changes, but that's due to mirroring and applies to almost everything).

 

Even so, labels for other things are above, not to their left (see this example for invitation duration – which is also pre Windows 10):

 

Examples can be seen in macOS, Maemo / MeeGo, and pretty much every system (including Chrome / Firefox / Android).

 

This issue tracked the core jelly changes made to switch from generating tables to generating divs.


Originally reported by jsoref, imported from: Jenkins Core: Change Jenkins configuration UI from tables to divs
  • assignee: jsoref
  • status: Closed
  • priority: Major
  • component(s): core
  • label(s): accessibility, ux, ux-sig
  • resolution: Fixed
  • resolved: 2020-10-24T23:49:53+00:00
  • votes: 0
  • watchers: 14
  • imported: 2025-11-24
Raw content of original issue

Report all issues with a complete plugin list (reporting this as an issue in the changelog isn't helping anyone)

JENKINS_HOST=username:password@myhost.com:port
curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
 

Check if your plugin already has an issue reported https://issues.jenkins.io/issues/?filter=22840 (artifactory plugin is jfrog/jenkins-artifactory-plugin#350

If you know which plugin is causing the issue report a new issue, including steps to reproduce and screenshots and label it with 'tables-to-divs-regression'

 

Historically, jenkins's jelly framework generated lots of tables. These tables are very mobile hostile. The ui it generates is also not in line with modern UIs.

 

Here's one example from Windows 10's settings:

Note that the label for a field is above the field – not to the left of the field.

Here's a much older UI from Windows:

Note that the labels for checkboxes/radios are to the right of the buttons, not to their left (* with RTL layouts, this changes, but that's due to mirroring and applies to almost everything).

 

Even so, labels for other things are above, not to their left (see this example for invitation duration – which is also pre Windows 10):

 

Examples can be seen in macOS, Maemo / MeeGo, and pretty much every system (including Chrome / Firefox / Android).

 

This issue tracked the core jelly changes made to switch from generating tables to generating divs.

3 attachments

Activity

  1. jenkins-infra-bot commented on Apr 28, 2020

    @jenkins-infra-bot
    Author
    fqueiruga:
    • Original comment link
    • Raw content of original comment:

      I'm gonna go ahead and put the checklist of TODO items here:

      • Style for hierarchies of nested elements. This includes hetero lists and repeatable elements.
      • Indentation problems caused by the .container class and the 15px padding it sets. Maybe we should create a new class for forms instead of reusing .container. This would also work to remove the width changes on this class.
      • Checkbox fixes for the Git plugin & similar (I have a JS based solution for this but it needs a bit more work).
      • <f:entry> refactor: move the helper text to inside the form entry element.
      • <f:entry> refactor: move the validation errors to inside the form entry element - not the easiest due to the javascript.
      • Verify that form submission (buildFormTree) still works properly.
      • Too much spacing on the API key list on the user configuration (easy).
      • Broken scroll-aware headers on the job configuration (this one is medium at best, difficult if we need to do lots of fixing for the JS tests).
      • ⚠️ Broken drag & drop of repetable elements
      • Tune styling of nesting indicator
      • Provide backwards compatibility for findFollowingTR(e, "validation-error-area"). Used directly in many plugins (https://github.com/search?q=org%3Ajenkinsci+validation-error-area&type=Code)

      Pending:

      • Forms are IMO too wide. I'd suggest adding a max-width for inputs but maybe it is out of scope for this. *

    I'm gonna go ahead and put the checklist of TODO items here:

    • Style for hierarchies of nested elements. This includes hetero lists and repeatable elements.
    • Indentation problems caused by the .container class and the 15px padding it sets. Maybe we should create a new class for forms instead of reusing .container. This would also work to remove the width changes on this class.
    • Checkbox fixes for the Git plugin & similar (I have a JS based solution for this but it needs a bit more work).
    • refactor: move the helper text to inside the form entry element.
    • refactor: move the validation errors to inside the form entry element - not the easiest due to the javascript.
    • Verify that form submission (buildFormTree) still works properly.
    • Too much spacing on the API key list on the user configuration (easy).
    • Broken scroll-aware headers on the job configuration (this one is medium at best, difficult if we need to do lots of fixing for the JS tests).
    • ⚠️ Broken drag & drop of repetable elements
    • Tune styling of nesting indicator
    • Provide backwards compatibility for findFollowingTR(e, "validation-error-area"). Used directly in many plugins (https://github.com/search?q=org%3Ajenkinsci+validation-error-area&type=Code)

    Pending:

    • Forms are IMO too wide. I'd suggest adding a max-width for inputs but maybe it is out of scope for this.
      *
  2. jenkins-infra-bot commented on May 14, 2020

    @jenkins-infra-bot
    Author
    oleg_nenashev:
    • Original comment link
    • Raw content of original comment:

      Should we convert it to EPIC and start adding tasks to it? CC jsoref timja.

      As discussed at the yesterday's UX SIG meeting, we would like to add it to the UI/UX hackfest on May 25029: https://www.jenkins.io/events/online-hackfest/2020-uiux/ . We will be either doing crowd-testing or crowd-fixing there, depending on when the PR lands.

       

       

    Should we convert it to EPIC and start adding tasks to it? CC jsoref timja.

    As discussed at the yesterday's UX SIG meeting, we would like to add it to the UI/UX hackfest on May 25029: https://www.jenkins.io/events/online-hackfest/2020-uiux/ . We will be either doing crowd-testing or crowd-fixing there, depending on when the PR lands.

     

     

  3. jenkins-infra-bot commented on May 14, 2020

    @jenkins-infra-bot
    Author
    fqueiruga:

    There can be an epic with a ticket for each plugins that fail. For example, https://github.com/jenkinsci/dockerhub-notification-plugin uses forks of normal UI widgets and break (on freestyle jobs).

  4. jenkins-infra-bot commented on May 14, 2020

    @jenkins-infra-bot
    Author
    fqueiruga:
    • Original comment link
    • Raw content of original comment:

      timja this rule can work to make just config forms narrower. Not sure how it would break with the auth matrix though.

      form[name=config],
      .config-form {
        max-width: 44rem;  // ~700px
      }

    timja this rule can work to make just config forms narrower. Not sure how it would break with the auth matrix though.

    form[name=config],
    .config-form {
      max-width: 44rem;  // ~700px
    }
  5. jenkins-infra-bot commented on May 25, 2020

    @jenkins-infra-bot
    Author
    oleg_nenashev:
    • Original comment link
    • Raw content of original comment:

      Created an EPIC for follow-up stories in plugins and other components

    Created an EPIC for follow-up stories in plugins and other components

  6. jenkins-infra-bot commented on Oct 29, 2020

    @jenkins-infra-bot
    Author
    timja:
    • Original comment link
    • Raw content of original comment:

      To those reporting issues against this epic in the changelog, it's not useful, please report a new issue with a full list of installed plugins as this is plugin specific

    To those reporting issues against this epic in the changelog, it's not useful, please report a new issue with a full list of installed plugins as this is plugin specific

  7. jenkins-infra-bot commented on Oct 19, 2021

    @jenkins-infra-bot
    Author
    kon:

    I replaced the https://issues.jenkins.io/browse/JENKINS-64184?filter=22840 link with https://issues.jenkins.io/issues/?filter=22840 in the description. JENKINS-64184 has been resolved and no longer matches the filter, and that caused Jira to ignore the filter and display only the issue.

  8. jenkins-infra-bot commented on Nov 27, 2021

    @jenkins-infra-bot
    Author
    kumar311:

    This has broken default build with parameters- Reference - https://issues.jenkins.io/browse/JENKINS-66933 . Kindly provide a solution for this or revert back the changes. You can't break one to make another thing working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions