weaveworks / weave-gitops

Weave GitOps provides insights into your application deployments, and makes continuous delivery with GitOps easier to adopt and scale across your teams.
https://docs.gitops.weave.works/
Apache License 2.0
905 stars 152 forks source link

Dashboard UX: filter list by labels #3362

Open gberche-orange opened 1 year ago

gberche-orange commented 1 year ago

Problem

As a flux user In order to browse to a large list of kustomizations part of different categories I need to be able to filter kustomizations by K8S labels

Currently, it only possible to filter by namespace or search by kustomization name image

Solution

A way to add filtering by label name/value, e.g. similar to github lists labels

clicking on a label on one item image selects the label in the filtering view image

Additional context

Acceptance Criteria:

  1. The user can filter kustomizations by labels.
  2. The filtering interface allows the user to select a label and filter the kustomizations based on the selected label.
  3. The filtering interface displays a list of all available labels, similar to Github lists labels.
  4. The filtered kustomizations accurately match the selected label name/value.
JamWils commented 1 year ago

@josefaworks, this seems like a good thing for the team to tackle since Josh is focused on UI improvements in general.

chanwit commented 1 year ago

Acceptance criteria added

jpellizzari commented 1 year ago

@LappleApple @MostafaMegahid This will be a substantial backend change and only possible via the new Explorer machinery that is only available in EE.

I think it is an interesting use case and a valid feature request. Should we scope/prioritize it? Else, we can close as "not doing at the moment".

LappleApple commented 1 year ago

@jpellizzari Collecting feedback from others and so far they +1 your point about this being valid. Now thinking about the how's and when's of scope/prioritization given other activities. cc @joshri @mmoulian

enekofb commented 1 year ago

+1 on acting here via Explorer ...

LappleApple commented 11 months ago

@enekofb Reassigned to Tangerine team

jpellizzari commented 9 months ago

An update on this: Explorer has this feature currently, but adding it to Core would involve moving it to a new repo and re-wiring it into EE (a huge undertaking). So this is de-prioritized for now and will be re-evaluated if we decide to change strategies regarding the two repos.