Open kleinfreund opened 10 months ago
It would be nice if we could allow people to search just using kuma.io/service: service
also. I found it interesting that this is the first thing that @lahabana did naturally. If thats what our users do naturally then it would be good if the filtering worked like that also.
Might be worth following: https://kong-aip.netlify.app/aip/160/
Summary of sync discussion:
As we can 'guess' information based on whether a search term has a :
in it or not (due to DNS) we can say:
:
in it, then it is a name
search.:
in it then we either:
zone:
> kuma.io/zone:
version: 1
(which would be a "shortcut" for tag: "version: 1"
)zone
(not as a shortcut for kuma.io/zone:
) they would have to use tag: "zone: zone.name"
specifically.How this would work in practice:
name-of-dpp
would do a search based on nameversion: 1
would do a search based on the tag version
equalling 1
kuma.io/zone: zone-name
would do a search based on the tag kuma.io/zone
equalling zone-name
zone: zone-name
would be a "shortcut" that would expand to kuma.io/zone
and use the same kuma.io/zone: zone-name
tag search as the explained in the previous point.status: degraded
currently would search for a tag called status
equalling degraded
status: degraded
in a possible future could search for a dpp with the status field as degraded
. If you wanted to instead search by a status
tag you would have to use the long form tag: "status:degraded"
We also discussed but discarded:
For "shortcut expansion" we could have used both the original tag shortcut and the expanded shortcut, i.e.
zone: zone-name
could perform a search for anything with the tags kuma.io/zone: zone-name
or zone: zone-name
status: degraded
could perform a search for anything with the tags status: degraded
or an entity with the field status
equalling degraded
- Apply any "special" rules we have hardcoded into the frontend, a.k.a. "shortcut expansion" such as
zone:
>kuma.io/zone:
Small correction: the expansion is from zone:...
to tag: 'kuma.io/zone:...'
(i.e. a tag filter).
Progress happening on this one over here https://github.com/kumahq/kuma-gui/pull/1721
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.
Description
Improve the list view filters
tag: 'kuma.io/service: service-1'
)