Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1862 Change configuration structure of combined report
  3. OPT-1921

Store report color of combined reports in report array instead of configuration

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 2.4.0-alpha2
    • Component/s: frontend
    • Labels:
      None

      Description

      Context:
      The structure of the data field of the combined report looks currently like the following:

      "data" : {
          "configuration": {}, // all possible configurations 
          "visualization": "bar",
          "reportIds": [
            "ReportA", "ReportB", ... // a list of report ids
          ]
        }
      

      This has two problems:

      • In the configuration we have a "reportColor": [] field that contains the color for each report that belongs the combined report. If one report is deleted, we need to make sure that this is also automatically done for the color to keep the configuration consistent.
      • The combined report configuration contains a lot of configuration properties that it just doesn't need.

      Hence, we should rather have a structure like this following:

      "data" : {
          "configuration": {}, // only configurations that belong to the combined setup e.g. the target value for combined reports
          "visualization": "bar",
          "reports": [
            {
               "id": "ReportA", 
                "color": "blue", 
             },
             {
               "id": "ReportB", 
                "color": "red", 
             },...]
        }
      

      AT:

      • the combined report data restructure has been changed, such that the report color is not stored in the configuration field any longer
      • the rest API documentation has been adjusted accordingly

        Issue Links

          Activity

          johannes.heinemann Johannes Heinemann created issue -
          johannes.heinemann Johannes Heinemann made changes -
          Field Original Value New Value
          Summary CLONE - Store report color of combined reports in report array instead of configuration Store report color of combined reports in report array instead of configuration
          johannes.heinemann Johannes Heinemann made changes -
          Component/s frontend [ 13654 ]
          Component/s backend [ 13653 ]
          johannes.heinemann Johannes Heinemann made changes -
          Assignee Johannes Heinemann [ johannes.heinemann ] Omran Abazeed [ omran.abazeed ]
          Hide
          sebastian.bathke Sebastian Bathke added a comment -

          backend changes are ready in branch OPT-1920

          Show
          sebastian.bathke Sebastian Bathke added a comment - backend changes are ready in branch OPT-1920
          sebastian.bathke Sebastian Bathke made changes -
          Status Open [ 1 ] In Specification [ 10000 ]
          omran.abazeed Omran Abazeed made changes -
          Status In Specification [ 10000 ] In Development [ 10312 ]
          omran.abazeed Omran Abazeed made changes -
          Status In Development [ 10312 ] In Review [ 10212 ]
          Assignee Omran Abazeed [ omran.abazeed ] Sebastian Stamm [ sebastian.stamm ]
          sebastian.stamm Sebastian Stamm made changes -
          Status In Review [ 10212 ] In Specification [ 10000 ]
          sebastian.stamm Sebastian Stamm made changes -
          Assignee Sebastian Stamm [ sebastian.stamm ] Omran Abazeed [ omran.abazeed ]
          omran.abazeed Omran Abazeed made changes -
          Status In Specification [ 10000 ] In Development [ 10312 ]
          omran.abazeed Omran Abazeed made changes -
          Status In Development [ 10312 ] In Review [ 10212 ]
          Assignee Omran Abazeed [ omran.abazeed ] Sebastian Stamm [ sebastian.stamm ]
          sebastian.stamm Sebastian Stamm made changes -
          Assignee Sebastian Stamm [ sebastian.stamm ]
          Status In Review [ 10212 ] Done [ 10010 ]
          Resolution Fixed [ 1 ]
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12704 ]
          omran.abazeed Omran Abazeed made changes -
          Fix Version/s 2.4.0-alpha2 [ 15379 ]
          johannes.heinemann Johannes Heinemann made changes -
          Workflow Camunda Optimize - 2.0 [ 54828 ] Camunda Optimize - 2.4 [ 66563 ]
          sebastian.bathke Sebastian Bathke made changes -
          Fix Version/s 2.4.0 [ 15365 ]
          sebastian.bathke Sebastian Bathke made changes -
          Labels current_release
          johannes.heinemann Johannes Heinemann made changes -
          PM Priority -1
          johannes.heinemann Johannes Heinemann made changes -
          PM Priority -1
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 13452 ]
          johannes.heinemann Johannes Heinemann made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12704 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              johannes.heinemann Johannes Heinemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: