zulip/web
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
..
e2e-tests eslint: Fix @typescript-eslint/no-unnecessary-type-assertion. 2024-01-29 16:14:26 -08:00
generated
html
images compose: Update icons for formatting buttons. 2023-12-01 13:51:39 -08:00
shared typeahead: Prefer word boundary matches to arbitrary substring matches. 2024-01-29 17:24:11 -08:00
src typeahead: Prefer word boundary matches to arbitrary substring matches. 2024-01-29 17:24:11 -08:00
styles bootstrap: Remove bootstrap.btn classes from support view buttons. 2024-01-29 10:59:33 -08:00
templates left_sidebar: Add mark all messages unread to three dot topic menu. 2024-01-29 16:07:19 -08:00
tests typeahead: Prefer word boundary matches to arbitrary substring matches. 2024-01-29 17:24:11 -08:00
third css: Remove bootstrap css for "fade" class. 2024-01-29 09:55:32 -08:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-12-07 14:29:32 -08:00
debug-require-webpack-plugin.ts eslint: Fix @typescript-eslint/no-confusing-void-expression. 2023-12-21 16:14:40 -08:00
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json bootstrap: Fork CSS into app, portico copies. 2024-01-28 15:07:36 -08:00
webpack.config.ts webpack_public_path: Replace with webpack 5 publicPath: "auto" setting. 2023-10-16 10:36:27 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00