zulip/web/shared/src
N-Shar-ma afba77300a typeahead: Prefer word boundary matches to arbitrary substring matches.
So far, when ordering typeahead suggestions, any query matches that did
not occur at the start of the target string were considered equally. So
for example, for the query "ok", "squared_ok" and "smoking" were
allotted equal priority, which does not make sense.

Now, matches from a word boundary (space, hyphen, underscore or slash)
are given priority (after exact matches and beginning matches), so that
in the above example, "squared_ok" is regarded as a better match than
"smoking".

Since recipients' sorting is complex, and needs word boundary matches
separately for decoupled sorting post triage, `triage_raw` is extracted
from `triage` to return the raw matches.

Fixes: #24127.
2024-01-29 17:24:11 -08:00
..
fenced_code.ts shared: Avoid replaceAll again. 2023-05-25 22:39:12 -07:00
internal_url.js.flow
internal_url.ts ts: Convert `internal_url.js` to TypeScript. 2023-05-30 10:45:01 -07:00
poll_data.js.flow
poll_data.ts poll_data: Define outbound data types for each message type. 2023-10-23 09:33:47 -07:00
resolved_topic.js.flow
resolved_topic.ts ts: Convert resolved_topic.js to TypeScript. 2023-05-01 10:55:36 -07:00
typeahead.js.flow
typeahead.ts typeahead: Prefer word boundary matches to arbitrary substring matches. 2024-01-29 17:24:11 -08:00
typing_status.js.flow typing_notifications: Send ajax requests for stream typing too. 2023-10-10 17:36:55 -07:00
typing_status.ts typing_status: Remove unchecked casts in same_recipient. 2023-10-25 13:08:36 -07:00