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

Developer can filter the activity list to a specific branch

    • frank, iapetus, 1.0

      A user should be able to filter the list of branches on an activity screen

      In Scope:

      • Popover/filter as per attached visual and behavior design (assuming JDL popover will help, but may not) - see graphic and gif video
      • Fetching a complete list of available branches to populate the choice (this may need to be optimised to pre-fill with current pages worth of branch names, while it fetches more)
      • Selecting of a branch should result in a fetch of a pages worth of data (as described by Vivek in comments) and then updating of the activity listing
      • URI should be updated to reflect the filtered status
      • URI should filter params should be honoured (so page can be linked to, required elsewhere)
      • Sorting should be master first, followed by alpha sorted list

      Out of scope:

      • Recently used searches
      • Adding to JDL (this stays in dashboard)

      How it works:
      We only have a pages worth of data on the activity screen initially, but a drop down will need to fetch a list of available branches (perhaps vivek can advice how). When a list for a filter is shown, it can show a pages worth of data just for that branch.

          [JENKINS-35768] Developer can filter the activity list to a specific branch

          James Dumay added a comment -

          stephenconnolly most hosting services like Github and Bitbucket have a single default head defined in their repository settings (which is what I am specifically interested in).

          We can have a fallback to pick one of the multiple heads if that case arises.

          James Dumay added a comment - stephenconnolly most hosting services like Github and Bitbucket have a single default head defined in their repository settings (which is what I am specifically interested in). We can have a fallback to pick one of the multiple heads if that case arises.

          James Dumay added a comment -

          Unless this one is almost done lets put it on hold for now.

          James Dumay added a comment - Unless this one is almost done lets put it on hold for now.

          Cliff Meyers added a comment -

          I had only just started building a UI component for it, so on hold is appropriate.

          Cliff Meyers added a comment - I had only just started building a UI component for it, so on hold is appropriate.

          James Dumay added a comment -

          Thanks Cliff!

          James Dumay added a comment - Thanks Cliff!

          Cliff Meyers added a comment -

          If anyone else grabs this, please ping me first. I have a WIP branch laying around where I started to refactor Dropdown so it can share code with the new Filter component we need for this.

          Cliff Meyers added a comment - If anyone else grabs this, please ping me first. I have a WIP branch laying around where I started to refactor Dropdown so it can share code with the new Filter component we need for this.

          James Dumay added a comment -

          BTW cliffmeyers this one will be one of the first cabs off the rank after we ship

          James Dumay added a comment - BTW cliffmeyers this one will be one of the first cabs off the rank after we ship

          Oleg Korsak added a comment - - edited

          Emmm... this kinda may take more user actions than just clicking a "History" tab in particular branch/build view. Are there any plans to get something similar to pipeline view in classic UI? When user is able to see all build progresses for particular branch at once. (just asking)

          Oleg Korsak added a comment - - edited Emmm... this kinda may take more user actions than just clicking a "History" tab in particular branch/build view. Are there any plans to get something similar to pipeline view in classic UI? When user is able to see all build progresses for particular branch at once. (just asking)

          Michael Neale added a comment -

          kamikaze yes, I believe there is another ticket covering that specifically (needs this one first though).

          Michael Neale added a comment - kamikaze yes, I believe there is another ticket covering that specifically (needs this one first though).

          James Dumay added a comment -

          kamikaze just to clarify, we won't be providing a view where you can see all the pipeline visualizations for multiple runs in one case. At this time we unable to make the design scale well to work with our visualization. Pipeline Stage View. However, you will be able to use the filter to see all the active runs for a particular branch with the completion of this ticket. We will have other links that can jump you to the activity tab filtered to a specific branch.

          James Dumay added a comment - kamikaze just to clarify, we won't be providing a view where you can see all the pipeline visualizations for multiple runs in one case. At this time we unable to make the design scale well to work with our visualization. Pipeline Stage View. However, you will be able to use the filter to see all the active runs for a particular branch with the completion of this ticket. We will have other links that can jump you to the activity tab filtered to a specific branch.

          Keith Zantow added a comment -

          Yes, linking to branches is covered in other tickets (JENKINS-38752, JENKINS-37245). This is implemented with routes, so just .../activity/<encoded-branch-name> works.

          Keith Zantow added a comment - Yes, linking to branches is covered in other tickets ( JENKINS-38752 , JENKINS-37245 ). This is implemented with routes, so just .../activity/<encoded-branch-name> works.

            kzantow Keith Zantow
            jamesdumay James Dumay
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: