Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6671

Create instant preview dashboard upon importing a process definition (frontend)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • None
    • backend
    • None

      Display the information in the frontend from the instant preview dashboard created in OPT-6670. The Frontend shall be able to handle:

      • Happy case: Acquire and display the information from the Backend (OPT-6670)
      • Error case: URL is called with either an invalid process key or with a key of a process to which the user has no permissions. In either case, the backend sends 404 as response. Handle this case gracefully
      • Make sure that the preview dashboard is also callable when embedded as an iFrame in a different application (e.g. Operate): Assumption: The user has a valid C8 cookie and proper permission to see the dashboard. Otherwise the backend will return 404
      • The user has the possibility to pass a query parameter defining a template(param name: template), this query parameter shall be passed over to the backend as well
      • E.g. https://stage.optimize.camunda.cloud/#/dashboard/instant/<PROC_DEF_KEY>/?template=butter_spreader.json
      • The response to this call will be similar to when loading a dashboard - the exact parameters are still flexible and can be implemented as the Frontend requires

      Testing Notes:

      • clicking on processes on Dashboards page now should open the instant preview dashboard and the url should contain "dashboard/instant/<procDefKey>/"
      • if invalid process definition key is used then error page should be displayed
      • users with authorization to share should be able to share the dashboard
      • the instant preview dashboard is able to handle different templates so using url likeĀ "dashboard/instant/<procDefKey>?template=template2.json/" should work (this is one of the test templates) and if wrong template is used then it should show error page

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              giuliano.rodrigues-lima Giuliano Rodrigues Lima
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: