• 1.0-japan-m9, 1.0-m10

      When items are shown on the main dashboard (/pipelines) they may include items that are from nested folders.
      When clicking on an item that is in a folder, it needs to be loaded with the URI reflecting what its folder path is.

      In Scope

      • When UX-276 is completed we need to handle nested folder jobs in the frontend
      • Always use the fullName as the display name
      • Browsing to a pipeline should work if its in a folder
      • Browsing to a folder should 404
        Browsing to a folder just show a list of the folder contents as if that folder was the "root" of the dashboard
        [1:24 PM] James Dumay: e.g if I browse to /org/my/sub/folder/
        [1:24 PM] James Dumay: show everything under /org/my/sub/folder/ as it is "/"

          [JENKINS-35866] Handle jobs that are stored within folders

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: UX-35 [ 24725 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Link New: This issue is blocked by UX-276 [ UX-276 ]
          Michael Neale made changes -
          Comment [ This is unblocked now if anyone is interested in it ]
          Michael Neale made changes -
          Link New: This issue is blocked by UX-196 [ UX-196 ]
          James Dumay made changes -
          Link New: This issue relates to UX-310 [ UX-310 ]

          Michael Neale added a comment -

          vpandey Some clarification: in https://github.com/jenkinsci/blueocean-plugin/tree/master/blueocean-rest - I can see how folders are navigated, but it isn't clear to me how you know something is a folder to start with - is there something missing?

          Michael Neale added a comment - vpandey Some clarification: in https://github.com/jenkinsci/blueocean-plugin/tree/master/blueocean-rest - I can see how folders are navigated, but it isn't clear to me how you know something is a folder to start with - is there something missing?

          Michael Neale added a comment - - edited

          So if we look at the REST url:

          https://github.com/jenkinsci/blueocean-plugin/tree/master/blueocean-rest#get-nested-pipeline-inside-a-folder

          http://localhost:62054/jenkins/blue/rest/organizations/jenkins/pipelines/folder1/pipelines/folder2/test2/

          breaking it down:

          http://localhost:62054/jenkins/blue/rest/organizations/$orgname/pipelines/$folderA/pipelines/$folderB/$pipelineName/
          

          so "pipelines" acts as a separator

          Michael Neale added a comment - - edited So if we look at the REST url: https://github.com/jenkinsci/blueocean-plugin/tree/master/blueocean-rest#get-nested-pipeline-inside-a-folder http://localhost:62054/jenkins/blue/rest/organizations/jenkins/pipelines/folder1/pipelines/folder2/test2/ breaking it down: http://localhost:62054/jenkins/blue/rest/organizations/$orgname/pipelines/$folderA/pipelines/$folderB/$pipelineName/ so "pipelines" acts as a separator

          Michael Neale added a comment -

          jdumay this will involve the design as per the mockups in https://cloudbees.atlassian.net/browse/UX-196 right?

          Michael Neale added a comment - jdumay this will involve the design as per the mockups in https://cloudbees.atlassian.net/browse/UX-196 right?

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

              Created:
              Updated:
              Resolved: