Dashboard: Filter by label on the PipelineRuns panel

Created on 9 Jul 2019  路  12Comments  路  Source: tektoncd/dashboard

In order to achieve https://github.com/tektoncd/dashboard/issues/223 filtering of PipelineRuns we must allow label filters to be selected on the PipelineRuns table view.

Relies on https://github.com/tektoncd/dashboard/issues/323 for PipelineRuns that are manually created through the dashboard UI and https://github.com/tektoncd/experimental/issues/140 for experimental extension triggered PipelineRuns

Under this issue:

  • Filter the request to fetch PipelineRuns by label selector, displaying only PipelineRuns that have these labels

All 12 comments

Here is a PDF of the search/filter flow:

search-scenario-github.pdf

Maybe https://material-ui.com/components/chips/ could be an option to use here 馃檪

/assign

@jessm12 Carbon provides http://react.carbondesignsystem.com/?path=/story/tag--filter but it looks like there's an issue with the storybook at the moment. I've posted in #carbon-react to let them know.

@AlanGreene I was looking for filtering in carbon but couldn't find it anywhere as the storybook is broken and it's not listed there properly like you say, thanks for raising that 馃槄is this the right filtering that you're referring to? https://www.carbondesignsystem.com/patterns/filtering/#selecting-filters

The UI samples provided in that pattern are more for predefined filters where a user simply selects from a list, although they do mention search for both single and multi selection. I wouldn't worry too much about the UI presentation in that particular pattern, although some of the other recommendations are still valid (e.g. ability to reset / clear filters).

This is the same scenario I posted yesterday except that it includes example results as well as a more explicit example of how filters could be passed by the URL.

tekton-search-and-filter-results.pdf

Thank you for those @aunderw 馃槃

https://github.com/tektoncd/dashboard/issues/37 @kimholmes has linked some additional designs here with comments 馃檪Though these extra features for the PipelineRuns filtering have not been implemented under this issue there could definitely be scope to enhance this feature in the future

/close

@jessm12: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

a-roberts picture a-roberts  路  6Comments

a-roberts picture a-roberts  路  3Comments

vtereso picture vtereso  路  3Comments

jbarrick-mesosphere picture jbarrick-mesosphere  路  6Comments

Fabian-K picture Fabian-K  路  4Comments