alertmanager/ui/app/tests
stuart nelson 4f8ef26b28 Update matching algorithm (#910)
* Test for consecutive chars throughout string

Previously, we were only testing for consecutive
characters at the beginning of the string. Now,
the entire string being compared is searched
through for a matching character, and then the
consecutive search starts.

We were seeing weird situations where the text
entered matched the last half of certain terms,
but because it wasn't, but because we only
searched from the start, results that probably
shouldn't have been the top suggestion were being
suggested too high on the list.

* Weight consecutive matches more highly

Bit of a guess, this seemed to give better results
for my small test case.

* bindata
2017-07-19 11:50:33 +02:00
..
.gitignore test: Introduce elm-test package 2017-04-25 12:03:02 +02:00
elm-package.json Improved Validation (#827) 2017-05-28 12:53:25 +02:00
Filter.elm Improved Validation (#827) 2017-05-28 12:53:25 +02:00
Helpers.elm test: Introduce elm-test package 2017-04-25 12:03:02 +02:00
Match.elm Update matching algorithm (#910) 2017-07-19 11:50:33 +02:00