LabelLab icon indicating copy to clipboard operation
LabelLab copied to clipboard

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

Open DonOmalVindula opened this issue 4 years ago • 1 comments

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.

DonOmalVindula avatar Mar 23 '20 14:03 DonOmalVindula

Hi @ivantha . I would like to work on this issue

shoebilyas123 avatar Aug 27 '22 08:08 shoebilyas123