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

Don't use browser alert for notifications and confirmation

    Details

    • Similar Issues:

      Description

      The browser alert popup doesn't look very good

      It would be much better to use the build in notification functionality that Jenkins provides,
      i.e. when you click apply on a job or the global configuration:

        Attachments

          Activity

          Show
          timja Tim Jacomb added a comment - Sample showing how to use the notification bar: https://github.com/jenkinsci/ui-samples-plugin/blob/master/src/main/resources/jenkins/plugins/ui_samples/NotificationBar/index.groovy
          Hide
          romenrg Romen Rodriguez-Gil added a comment -

          Tim Jacomb, could you point to some examples in which the browser alert popup is being used currently (as a candidate for the replacement)?

          Show
          romenrg Romen Rodriguez-Gil added a comment - Tim Jacomb , could you point to some examples in which the browser alert popup is being used currently (as a candidate for the replacement)?
          Hide
          timja Tim Jacomb added a comment -

          Basically any action this plugin does,

          Change configure security to use folder based authorisation strategy

          Then go to the plugins page from manage Jenkins

          And add a role, or assign a user to a role

          Show
          timja Tim Jacomb added a comment - Basically any action this plugin does, Change configure security to use folder based authorisation strategy Then go to the plugins page from manage Jenkins And add a role, or assign a user to a role
          Hide
          aytuncbeken Aytunc BEKEN added a comment -

          Hi,

          I fixed the issue and created the PR -> https://github.com/jenkinsci/folder-auth-plugin/pull/60
          Screenshots are added.

          Tim Jacomb
          Is there any implementation for JS confirm box ? I left them as I could not an example.

          Show
          aytuncbeken Aytunc BEKEN added a comment - Hi, I fixed the issue and created the PR -> https://github.com/jenkinsci/folder-auth-plugin/pull/60 Screenshots are added. Tim Jacomb Is there any implementation for JS confirm box ? I left them as I could not an example.

            People

            • Assignee:
              aytuncbeken Aytunc BEKEN
              Reporter:
              timja Tim Jacomb
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: