Uploaded image for project: 'Periscope'
  1. Periscope
  2. MGNLPER-144

GraphQL search result supplier for Periscope

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Current behavior

      In GraphQL searches, users may use the path or uuid as arguments to retrieve content: Example:

      {
          assets(id: "a93e42ad-0765-4be1-82fa-c670508bc310") {
              name
          }
      }
      {
          assets(path: "/Book-Covers") {
              name
          }
      }

      Both resulting in:

      {
          "data": {
              "assets": [
                  {
                      "name": "wells1898.png"
                  },
                  {
                      "name": "huxley1932.png"
                  },
                  {
                      "name": "sagan1997.png"
                  },
                  {
                      "name": "hawking2005.png"
                  },
                  {
                      "name": "hawking1988.png"
                  },
                  {
                      "name": "darwin1859.png"
                  }
              ]
          }
      }

      (Module and bootstrap data: https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/bookshelf/browse?at=refs%2Fheads%2FwithAuthorCatalog)

      However, if you need to verify that data for these argument values really exists in a workspace - for example to eliminate making a typo in the UUID or path, Find bar will return no results:

      Improvement

      Content deliverable through configured GraphQL schemas should be indexed at the uuid/path level to be accessible also via the Find Bar using uuid or path.

      Create a GraphQL search result supplier for Periscope, an analogue to https://documentation.magnolia-cms.com/display/DOCS62/REST+search+result+suppliers+for+Periscope.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mdrapela Martin Drápela
                AuthorX
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD