• Blue Ocean 1.4 - beta 3

      I am maintaining a global library for our Jenkins which gets used by a few hundred projects. Due to that the autofavorite plugin favorites pretty much every job on our Jenkins for me. This causes issues, such as JENKINS-44995.

      I assumed that JENKINS-41497 would solve the issue, since I will no longer be in the SCM changes, however it does not.

      Regardless of if library changes should trigger autofavoriting, an option for a user to opt out of autofavoriting would be beneficial.

          [JENKINS-47214] Give ability to opt out of autofavoriting

          Hans Schulz created issue -
          Hans Schulz made changes -
          Description Original: I am maintaining a global library for our Jenkins which gets used by a few hundred jobs. Due to that the autofavorite plugin favorites pretty much every job on our Jenkins for me. This causes issues, such as JENKINS-44995.

          I assumed that JENKINS-41497 would solve the issue, since I will no longer be in the SCM changes, however it does not.

          Regardless of if library changes should trigger autofavoriting, an option for a user to opt out of autofavoriting would be beneficial.
          New: I am maintaining a global library for our Jenkins which gets used by a few hundred projects. Due to that the autofavorite plugin favorites pretty much every job on our Jenkins for me. This causes issues, such as JENKINS-44995.

          I assumed that -JENKINS-41497- would solve the issue, since I will no longer be in the SCM changes, however it does not.

          Regardless of if library changes should trigger autofavoriting, an option for a user to opt out of autofavoriting would be beneficial.

          James Dumay added a comment -

          schulzha this is a good feature request. Thanks.

          James Dumay added a comment - schulzha this is a good feature request. Thanks.
          James Dumay made changes -
          Epic Link New: JENKINS-47243 [ 185657 ]
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]

          Jesse Redl added a comment -

          While, this definitely is a minor feature request I would like to case about a 60 votes on behalf of me and teams.  We have had team members who have gone back to the legacy ui just because when you open blue ocean you have a wall of favorited stuff you don't care about and it takes dozens and dozens of clicks to remove them. 

          Allow us to opt out or un favorite all or something. 

          Jesse Redl added a comment - While, this definitely is a minor feature request I would like to case about a 60 votes on behalf of me and teams.  We have had team members who have gone back to the legacy ui just because when you open blue ocean you have a wall of favorited stuff you don't care about and it takes dozens and dozens of clicks to remove them.  Allow us to opt out or un favorite all or something. 

          I also am having this issue, and while this isn't a good long term solution, the following brought my blue ocean load times from 20s to less than a second. Go to your main dashboard where it shows your favorites and run the following JS in your browser's console:

          arr = $$('div[title="Remove Favourite"]')
          for (var i = 0, len = arr.length; i < len; i++) {
          arr[i].click()
          }

          Then refresh and enter it again! Note that I had to do this ~15 times before I got through my backlog of favorites, as it was displaying a max of 100 favorites per refresh.

          Spencer Malone added a comment - I also am having this issue, and while this isn't a good long term solution, the following brought my blue ocean load times from 20s to less than a second. Go to your main dashboard where it shows your favorites and run the following JS in your browser's console: arr = $$( 'div[title= "Remove Favourite" ]' ) for ( var i = 0, len = arr.length; i < len; i++) { arr[i].click() } Then refresh and enter it again! Note that I had to do this ~15 times before I got through my backlog of favorites, as it was displaying a max of 100 favorites per refresh.

          Hans Schulz added a comment - - edited

          Here is a script for the script console to remove all favorites:

          def user = User.get("<your user id>")
          user.getProperty(hudson.plugins.favorite.user.FavoriteUserProperty.class).data.clear()
          user.save()
          

          Hans Schulz added a comment - - edited Here is a script for the script console to remove all favorites: def user = User.get( "<your user id>" ) user.getProperty(hudson.plugins.favorite.user.FavoriteUserProperty.class).data.clear() user.save()

          Michael Neale added a comment -

          so jamesdumay can they just remove autofav plugin - or will that upset the apple cart? 

          This seems like a great feature request (another option if paginate the fav data - but I don't think we have the means to do that now), so disabling autofav would make sense (can be a setting of the autofav plugin?)

          Michael Neale added a comment - so jamesdumay can they just remove autofav plugin - or will that upset the apple cart?  This seems like a great feature request (another option if paginate the fav data - but I don't think we have the means to do that now), so disabling autofav would make sense (can be a setting of the autofav plugin?)
          James Dumay made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            jamesdumay James Dumay
            schulzha Hans Schulz
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: