Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter jobs by template name instead of template id #183

Closed
alexmt opened this issue Sep 6, 2017 · 1 comment
Closed

Filter jobs by template name instead of template id #183

alexmt opened this issue Sep 6, 2017 · 1 comment
Assignees
Labels
type/feature Feature request
Milestone

Comments

@alexmt
Copy link
Contributor

alexmt commented Sep 6, 2017

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

@alexmt alexmt added type/feature Feature request gui labels Sep 6, 2017
@alexmt alexmt added this to the M11 milestone Sep 6, 2017
@wokeGit
Copy link
Contributor

wokeGit commented Sep 7, 2017

Working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants