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

Add table actions extension point to activity, branches and pull request tabs

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • 1.0-m11

      In Scope

      • Add table actions extension point to activity, branches and pull request tabs

      cliffmeyers has done this to the dashboard which serves as a good example

          [JENKINS-36586] Add table actions extension point to activity, branches and pull request tabs

          Cliff Meyers added a comment -

          I have currently added an extension point for the main Pipelines table in my feature branch, see here:
          https://github.com/jenkinsci/blueocean-plugin/blob/feature/JENKINS-35837-dashboard-favorites/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx

          I plan to add the others as you suggest, but since I have some priority bugs to fix I may not be able to merge this feature for another day or two.

          Alternatively, I can create these EP's in a dedicated feature branch and get that merged quickly to master, that we are both working off the same EP's and can avoid merge conflicts.

          Note, we might need to fiddle with the layouts a bit to get the buttons to all line up nicely.

          imeredith let me know what would work best for you!

          Cliff Meyers added a comment - I have currently added an extension point for the main Pipelines table in my feature branch, see here: https://github.com/jenkinsci/blueocean-plugin/blob/feature/JENKINS-35837-dashboard-favorites/blueocean-dashboard/src/main/js/components/PipelineRowItem.jsx I plan to add the others as you suggest, but since I have some priority bugs to fix I may not be able to merge this feature for another day or two. Alternatively, I can create these EP's in a dedicated feature branch and get that merged quickly to master, that we are both working off the same EP's and can avoid merge conflicts. Note, we might need to fiddle with the layouts a bit to get the buttons to all line up nicely. imeredith let me know what would work best for you!

          Cliff Meyers added a comment -

          Actually, sounds like this ticket is exactly that concept - just adding the EP's alone - so just let me know if you need any other info from me. We may need to wrap the EP in a div with a class-name to apply the right styles. If you apply "className" directly to the EP I believe it will get stripped out. The workaround is the define an explicit "className" property on the ExtensionPoint component itself.

          Cliff Meyers added a comment - Actually, sounds like this ticket is exactly that concept - just adding the EP's alone - so just let me know if you need any other info from me. We may need to wrap the EP in a div with a class-name to apply the right styles. If you apply "className" directly to the EP I believe it will get stripped out. The workaround is the define an explicit "className" property on the ExtensionPoint component itself.

          Cliff Meyers added a comment -

          Cliff Meyers added a comment - PR: https://github.com/jenkinsci/blueocean-plugin/pull/343

            cliffmeyers Cliff Meyers
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: