discourse/app/assets/javascripts
Krzysztof Kotlarek 8eb317b0f9
FIX: improvements for admin search (#33006)
Some adjustments to improve admin search results:
- trim filter phrase and remove multiple spaces
- score for partial label match: "the" should find "Theme and
Components"
- partial keyword score: "custom field" should find "custom fields"
- for keyword and fallback searches, ensure the keyword has at least 3
character to not be flooded by "the", "a", "and" etc.
<img width="728" alt="Screenshot 2025-05-30 at 1 52 38 pm"
src="https://github.com/user-attachments/assets/4d97800d-6ec1-4a54-8ea5-78ceb75b93b8"
/>
<img width="730" alt="Screenshot 2025-05-30 at 1 52 46 pm"
src="https://github.com/user-attachments/assets/ca7baa4e-f19e-4512-ab35-63e594a571cc"
/>
<img width="733" alt="Screenshot 2025-05-30 at 1 52 54 pm"
src="https://github.com/user-attachments/assets/7f5ea85b-11ca-4f59-a564-72364d2a65be"
/>
<img width="721" alt="Screenshot 2025-05-30 at 1 56 18 pm"
src="https://github.com/user-attachments/assets/eb42a293-f14b-4bfa-ad6b-9f63b5fe3303"
/>
2025-05-30 14:52:52 +08:00
..
admin FIX: improvements for admin search (#33006) 2025-05-30 14:52:52 +08:00
custom-proxy
deprecation-silencer
dialog-holder Build(deps-dev): Bump webpack from 5.99.8 to 5.99.9 (#32827) 2025-05-21 09:19:16 +02:00
discourse FIX: improvements for admin search (#33006) 2025-05-30 14:52:52 +08:00
discourse-i18n
discourse-markdown-it
discourse-plugins Build(deps): Bump the babel group with 2 updates (#32947) 2025-05-28 11:57:41 +02:00
discourse-widget-hbs Build(deps): Bump the babel group with 2 updates (#32947) 2025-05-28 11:57:41 +02:00
docs
ember-addons
ember-cli-progress-ci
float-kit Build(deps): Bump the babel group with 2 updates (#32947) 2025-05-28 11:57:41 +02:00
pretty-text Build(deps): Bump the babel group with 2 updates (#32947) 2025-05-28 11:57:41 +02:00
select-kit Build(deps): Bump the babel group with 2 updates (#32947) 2025-05-28 11:57:41 +02:00
theme-transpiler Build(deps): Bump postcss from 8.5.3 to 8.5.4 (#32997) 2025-05-30 11:35:59 +08:00
truth-helpers
.npmrc
polyfills.js