grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
141 stars 21 forks source link

feat: sort adhoc filter options using ufuzzy #941

Closed sd2k closed 3 weeks ago

sd2k commented 1 month ago

Prior to this change, we were leaving the order of the options in adhoc filters unchanged, which has led to some poor quality search results across plugins using adhoc filters.

This change sorts the options in adhoc filters using ufuzzy, which should lead to better search results. This is the same approach used in Grafana core (see 1, 2, 3 for examples).

Sergej-Vlasov commented 3 weeks ago

cc @leeoniya just in case

scenes-repo-bot-access-token[bot] commented 3 weeks ago

:rocket: PR was released in v5.20.4 :rocket: