Moin
21.Март.2024 14:36:33
1
Иногда это меня сбивает с толку
Когда в прошлом поиске я сортировал по «Последним», это становилось настройкой по умолчанию для следующего поиска. Тогда поиск с ИИ не работает, так как нужно выбрать «По релевантности». Но простого выбора «По релевантности» из выпадающего списка недостаточно. Мне приходится перезагружать страницу, чтобы включить поиск с ИИ.
6 лайков
keegan
(Keegan George)
30.Май.2024 14:50:34
4
Спасибо за отчет, @Moin , теперь это должно быть исправлено
main ← ux-sort-order-fix
merged 01:18AM - 30 May 24 UTC
As mentioned on [Meta](https://meta.discourse.org/t/sorting-by-relevance-needs-a… dditional-reload/300366?u=keegan), previously the sort order required a refresh to see the change in state of the AI toggle disabled text.
After merging https://github.com/discourse/discourse/pull/27247, we get access to the `sortOrder`'s tracking context so the changes can be updated properly in the respective getters.
We also simplify things so that we conditionally show the entire AI results toggle only when it is in an allowed `searchOrder`. There are too many edge cases when we show text for each scenario and conditionally showing/hiding the element presents a cleaner UX.
3 лайка
keegan
(Keegan George)
Закрыл(а) тему
31.Май.2024 15:00:40
6
Эта тема была автоматически закрыта через 24 часа. Новые ответы больше не принимаются.