[FE] Tasks by type chart limit number of labels that can be selected
Problem to solve
Follow on from the discussion on 400 Error on cycle analytics page
We should set a limit to the number of labels that can be selected for the tasks by type chart.
Further details
- On load, the top N (10) labels should be preselected, the labels will be retrieved from the endpoint in #196582 (closed)
- There should be a max 15 labels that can be selected
- A warning should be displayed if a 16th label is clicked, Possible warning message: "Only 15 labels can be displayed at a time"
UI Changes
- Indicate the max # of labels that can be selected
- 10 labels selected by default
- Less than 10 labels: hide UI n/n labels selected
- 10 - 15 labels: display UI n/n labels selected
- 15 selected - disable selecting new labels
Documentation
Testing
Links / references
Requires #196582 (closed)
Edited by Ezekiel Kigbo