prometheus/web/ui/static/js
Or Cohen 81d37a04aa Fix autocomplete misses certain queries
For some of the queries, the fuzzy lookup was not filtering properly.
The problem is due to the "replace" beind made on the query itself. It
accidently removes only the first underscore. This patch changes it so
that it removes all of the whitespaces, letting the fuzzy algorithm do
its magic, also fixing this problem.

Originally, the underscore were replaced by a space for this specific
reason, to let the user type a space and have the lookup treat it as the
word break.

Fixes #2380
2017-02-05 16:20:52 +02:00
..
alerts.js Tidy up .js files based on static analysis from jshint 2015-11-11 20:06:47 +01:00
graph.js Fix autocomplete misses certain queries 2017-02-05 16:20:52 +02:00
graph_template.handlebar Add a 'Remove Graph' link to the 'Graph' screen 2016-07-31 16:30:23 +02:00
prom_console.js Correctly handle the end time being 0 in the URL. (#2290) 2016-12-18 19:30:52 +00:00