mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
For example, if a user's name is "Simon Peyton Jones", we'll already match that name on the queries "Pey" or "Peyton", as well as on "Simon P". We should do so on "Peyton J" or "Peyton Jones", too. Similarly, if the user is looking for an emoji of a face in the moon and they start by typing ":moon", we'll show them both 🌝 "moon face" and 🌚 "new moon face", along with some other moon-related results. If they go on to make it ":moon " or ":moon f", though -- as one very naturally would in order to eliminate things like "waxing moon" and "moon ceremony" -- then we mysteriously eliminate 🌚 "new moon face". Instead, the query "moon f" should match both 🌚 and 🌝. Found this while comparing the web/shared implementation with the mobile implementation of emoji search. The new behavior here reflects what we already do for emoji search in mobile, both in the compose box's typeahead and in the add-a-reaction screen. The existing behavior here seems pretty annoying, so fixing it will be part of switching on mobile to the shared code (zulip/zulip-mobile#4636) without regressing the user experience. The current behavior was introduced, more or less, in 245d65eb9; then revised in |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||