Files
danbooru/app/logical
evazion adc1c2c2cc autocomplete: refactor javascript to use /autocomplete endpoint.
This refactors the autocomplete Javascript to use a single dedicated
/autocomplete.json endpoint instead of a bunch of separate endpoints.

This simplifies the autocomplete Javascript by making it so that instead
of calling a different endpoint for each type of query (for users, wiki
pages, pools, artists, etc), then having to parse the results of each
call to get the data we need, we can call a single endpoint that returns
exactly what we need.

This also means we don't have to parse searches clientside in order to
autocomplete metatags. Instead we can just pass the search term to the
server and let it parse the search, which is easy to do serverside.

Finally, this makes autocomplete easier to test, and it makes it easier
to add more sophisticated autocomplete behavior, since most of the logic
lives serverside.
2020-12-13 00:45:22 -06:00
..
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2019-11-09 14:42:30 -06:00
2020-06-23 23:37:56 -05:00
2019-08-01 00:06:18 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00