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

Show newly created reports on dashboard autorefresh

    Details

    • Type: Feature Request
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: frontend
    • Labels:
      None

      Description

      • given:
        • I have a dashboard with report
        • I set the autofresh (e.g. to 1 minute)
        • immediately after setting autorefresh I add a new report to the dashboard in a new browser tab
      • when:
        • dashboard is autorefreshed
      • then:
        • all reports on the dashboard are refreshed and the new report is added to the dashboard
      • currentBehavior:
        • all reports on the dashboard are refreshed, but the new report is not added to the dashboard

        Activity

        Hide
        sebastian.stamm Sebastian Stamm added a comment -
        • When I change the interval, the request still triggered according to the old interval, while the indicator uses the new interval
        • The dashboard is now rendered once for every report on the dashboard. So when you have 10 reports on the dashboard, renderDashboard is called 10 times.
        Show
        sebastian.stamm Sebastian Stamm added a comment - When I change the interval, the request still triggered according to the old interval, while the indicator uses the new interval The dashboard is now rendered once for every report on the dashboard. So when you have 10 reports on the dashboard, renderDashboard is called 10 times.
        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        This review hint is not resolved yet: When I change the interval, the request still triggered according to the old interval, while the indicator uses the new interval
        Hint: This is because this.props.interval has not been updated to the new value in componentWillReceiveProps. The new value is in the nextProps object.

        Show
        sebastian.stamm Sebastian Stamm added a comment - This review hint is not resolved yet: When I change the interval, the request still triggered according to the old interval, while the indicator uses the new interval Hint: This is because this.props.interval has not been updated to the new value in componentWillReceiveProps. The new value is in the nextProps object.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: