UI: autocomplete for test filter labels
Describe the enhancement you'd like to see
As a test kube user In order to regularly use the test filters with label name and value I need autocompletion of label names and label values from history
Additional context
As of 1.12.8 , no autocomplete is proposed
@vsukhin, do we have API to get the list of labels?
No, it was a low priority till now, up to @TheBrunoLopes to make it a bit more important
looks good to me, bumped it to high
ok, will work after template crd
Looks like there is already an API endpoint to get the list of labels:
curl https://demo.testkube.io/results/v1/labels
So it's strictly front-end task. Marking as "Ready" to do.
@fivenp I remember we wanted to refactor this labels filter to reuse UI component we have. Do you have some ideas according it?
I think for this first iteration we can just allow to autocomplete the key and the value.
I think the initial behaviour will be -> a user can select a key but when they type a value they will see all available values (it is not bound to the key context)
implemented