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

Don't use browser alert for notifications and confirmation

      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:

          [JENKINS-62285] Don't use browser alert for notifications and confirmation

          Tim Jacomb added a comment -

          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

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

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

          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

          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

          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.

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

          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. timja Is there any implementation for JS confirm box ? I left them as I could not an example.

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

              Created:
              Updated: