mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
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. |
||
|---|---|---|
| .. | ||
| e2e-tests | ||
| generated | ||
| html | ||
| images | ||
| shared | ||
| src | ||
| styles | ||
| templates | ||
| tests | ||
| third | ||
| .browserslistrc | ||
| .gitignore | ||
| babel.config.js | ||
| debug-require-webpack-plugin.ts | ||
| debug-require.js | ||
| postcss.config.js | ||
| webpack.assets.json | ||
| webpack.config.ts | ||
| webpack.dev-assets.json | ||