Skip to content

Charts in the Project Analytics page does not auto refresh when a new label is added #388

Open
@DonOmalVindula

Description

@DonOmalVindula

Describe the bug
When a new label is added under project labels, it does not show up in the project analytics chart. We have to refresh the browser for the charts to show up those labels.

To Reproduce
Steps to reproduce the behaviour:

  1. Create a new project
  2. Go to project details by clicking on the project card from the dashboard
  3. Click "Project Labels" from the sidebar
  4. Add some labels using "Add Label" button (you can give any details for labels)
  5. Click "Project Analytics" from the sidebar
  6. No labels are visible on the 2 charts.
  7. If the browser is refreshed, then it is visible on the chart

Expected behaviour

  1. Create a new project
  2. Go to project details by clicking on the project card from the dashboard
  3. Click "Project Labels" from the sidebar
  4. Add some labels using "Add Label" button (you can give any details for labels)
  5. Click "Project Analytics" from the sidebar
  6. Created labels should be visible on the 2 charts immediately

Screenshots
localhost_3000_project_5e75d1d550709e4aace6c19a_labels
Created Labels

localhost_3000_project_5e75d1d550709e4aace6c19a_labels (1)
Created Labels are not visible (before browser refresh)

localhost_3000_project_5e75d1d550709e4aace6c19a_analytics
Created Labels are visible after browser refresh

Desktop (please complete the following information):

  • Microsoft Windows 10 Home
  • Browser: Chrome
  • Version: 80

Additional context
I will be working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions