You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics page allows filter jobs by repo, labels and templates. Template filtering is not perfect right now: template filter tab loads all templates from all repos and branches, allow user to select several templates and then use template id to filter jobs.
Since from user perspective templates from different branches but with the same name are same. E.g. 'Argo CI' is the same template in branches 'master', 'feature1' etc. So instead of filtering by id UI should filter by template name.
Filter jobs using 'template_name' filter instead of template id. Note: API allows to filter by multiple names: https://dev.applatix.net/v1/services?template_name=Argo%20CI,Argo%20Release&limit=10&fields=name
The text was updated successfully, but these errors were encountered:
Metrics page allows filter jobs by repo, labels and templates. Template filtering is not perfect right now: template filter tab loads all templates from all repos and branches, allow user to select several templates and then use template id to filter jobs.
Since from user perspective templates from different branches but with the same name are same. E.g. 'Argo CI' is the same template in branches 'master', 'feature1' etc. So instead of filtering by id UI should filter by template name.
Following changes are required:
Load unique list of template names using /v1/templates API. List might be loaded using API
/v1/templates?fields=name&dedup=true
( PR is pending Issue #57 - Allow loading unique list of templates using /v1/templates API #182 )Filter jobs using 'template_name' filter instead of template id. Note: API allows to filter by multiple names:
https://dev.applatix.net/v1/services?template_name=Argo%20CI,Argo%20Release&limit=10&fields=name
The text was updated successfully, but these errors were encountered: