Sam
3bf5692c72
FEATURE: prioritize group search order based on prefix match ( #16093 )
...
Our @mention user search prioritized users based on prefix matches.
So if searching for `sa` we will display `sam`, `asam` in that order
Previously, we did not prioritize group matches based on prefix. This change ensures better parity.
Implementation notes:
1. User search only prioritizes based on username prefix, not name prefix. TBD if we want to change that.
2. @mention on client side will show 0 group matches if we fill up all the spots with user matches. TBD if we want to unconditionally show the first / second group match.
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com >
2022-03-03 16:57:52 +11:00
..
2022-02-17 12:12:59 +03:00
2021-12-09 12:30:27 +00:00
2020-05-23 00:56:13 -04:00
2022-02-17 12:12:59 +03:00
2021-12-09 12:30:27 +00:00
2021-03-17 08:55:23 +03:00
2021-09-21 08:45:47 +10:00
2022-01-13 16:02:07 -05:00
2022-02-17 00:42:02 +01:00
2019-05-13 09:31:32 +08:00
2019-10-02 14:01:53 +10:00
2020-04-02 11:16:38 -04:00
2021-06-22 13:00:04 -05:00
2022-02-16 07:57:35 +05:30
2021-01-27 10:29:24 -06:00
2021-12-08 21:46:54 +04:00
2021-06-23 14:55:17 -05:00
2020-08-03 16:59:54 +10:00
2021-08-30 10:37:53 +05:30
2019-10-08 14:15:08 +03:00
2020-08-28 11:46:53 -07:00
2020-10-09 12:51:24 +01:00
2021-11-25 09:34:39 +02:00
2022-01-08 23:39:46 +01:00
2022-02-09 11:43:58 +02:00
2020-07-13 19:13:17 +03:00
2021-01-29 07:44:49 +05:30
2020-02-12 12:11:28 +02:00
2022-02-16 18:35:02 +02:00
2021-09-28 11:58:04 +08:00
2022-02-01 15:26:58 -03:00
2021-11-30 13:36:14 -03:00
2019-05-13 09:31:32 +08:00
2020-10-22 12:50:22 +08:00
2020-03-23 16:31:07 -07:00
2020-11-05 12:18:26 -05:00
2021-03-11 08:21:24 -03:00
2019-12-03 11:32:45 -03:00
2022-02-28 20:50:55 +01:00
2021-10-26 21:15:20 +01:00
2020-11-06 10:33:19 +10:00
2019-05-13 09:31:32 +08:00
2022-02-08 10:03:53 +00:00
2020-07-14 12:36:19 -04:00
2021-05-26 09:47:35 +10:00
2021-11-30 12:55:25 +03:00
2020-02-28 10:53:11 +00:00
2020-11-09 16:46:52 +11:00
2022-02-28 20:50:55 +01:00
2020-07-24 10:43:09 +08:00
2021-08-17 14:05:51 -04:00
2022-02-14 12:47:56 +00:00
2019-10-02 14:01:53 +10:00
2021-07-26 14:22:54 +10:00
2021-06-30 11:25:05 +08:00
2021-04-21 19:15:53 +02:00
2021-12-01 09:18:56 +11:00
2021-04-28 23:12:08 +03:00
2022-03-03 09:27:45 +11:00
2021-11-18 09:17:23 +10:00
2022-02-23 15:46:40 +01:00
2021-02-08 10:04:33 +00:00
2022-01-05 18:45:08 +01:00
2021-07-16 11:13:00 +08:00
2022-03-03 16:57:52 +11:00
2021-11-25 09:34:39 +02:00
2022-02-15 14:17:26 +10:00
2019-10-02 14:01:53 +10:00