[VSA] Support `label_name` instead of `label_id` for TasksByType service
Problem to solve
The Tasks by Type API endpoint for VSA currently supports filtering based on the tokens in the VSA filter bar, but the label filtering does not align with the filter bar.
The filter bar uses label_name
for filtering while the endpoint uses label_id
, this results in:
- unnecessary work on the frontend when the page loads to extract the
label_id
for each label - issues with selecting multiple labels
Proposal
-
backend Update the task by type controller to filter by
label_name
instead oflabel_ids
-
backend Update the Tasks by type service to accept
label_name
Edited by Ezekiel Kigbo