garden/tree — pull request #25 by espadrine (2011-12-22 17:55:15+00:00)
Title: [FUZZY] Major overhaul of the fuzzy completion system.

The ideas behind this are:

- We get all leafs at once from the server with the new "fuzzy" hook that is
attached to the "fs" ajax hook (within a certain level depth, that may be
changed on the interface if we provide the relevant widgets).

- Every character entered in the fuzzy search bar yields a score calculation of
all leafs downloaded, against the search we did.

- We give a score according to:

* actual matches
* successive matches
* characters coming after alphanumerical characters.

Discriminating against the depth of tree seemed like a good idea, but in
practice it was found unsatisfactory.