mastodon/app
Darius Kazemi 264655c53a
Fix account search not returning followed accounts first (#22956)
* Make autosuggest for mentions return followed accounts first

This makes it so that (when elasticsearch is disabled) when a user types '@foo' in the compose box, they are first going to get accounts they follow ordered by the ranking algorithm, and then second they will get accounts they do not follow, also ordered by the ranking algorithm.

This makes behavior more consistent with user expectation and also with results when elasticsearch is enabled.

* Fix ranking order to correct direction

* One more fixup per @gargron suggestion

* Tweak to ranking to no longer include following modifier
2023-01-06 07:35:52 +01:00
..
chewy Change algorithm of `tootctl search deploy` to improve performance (#18463) 2022-05-22 22:16:43 +02:00
controllers Add dropdown menu item to open admin interface for remote domains (#21895) 2023-01-05 14:03:46 +01:00
helpers Add Southern Sami, and Lule Sami to language list under the ISO-639-3 standard (#21262) 2022-12-15 18:42:48 +01:00
javascript New Crowdin updates (#22901) 2023-01-06 01:03:53 +09:00
lib Check OpenSearch compatibility version instead of regular version (#22422) 2023-01-05 13:44:31 +01:00
mailers Add single splat to callback method definitions to avoid ArgumentError (#22246) 2022-12-13 20:03:16 +01:00
models Fix account search not returning followed accounts first (#22956) 2023-01-06 07:35:52 +01:00
policies Fix getting a single EmailDomainBlock (#20846) 2022-11-17 10:55:50 +01:00
presenters Add follow request banner on account header (#20785) 2022-12-15 18:50:11 +01:00
serializers Add `reading:autoplay:gifs` to /api/v1/preferences (#22706) 2023-01-05 13:31:05 +01:00
services Fix possible race conditions when suspending/unsuspending accounts (#22363) 2023-01-05 13:47:21 +01:00
validators Strip spaces around URL when adding a relay (#22655) 2023-01-05 13:33:33 +01:00
views Add a11y tags to the modal (#22549) 2023-01-05 13:35:47 +01:00
workers Fix typos in source documentation (#21046) 2022-12-15 15:57:26 +01:00