Moin
21 مارس 2024، 2:36م
1
This sometimes confuses me
When I sorted by “Latest” in my last search, that becomes the default for my next one. Then, searching with AI doesn’t work because I have to choose “Relevance.” But changing it with the dropdown to “Relevance” is not enough. I have to use reload to be able to enable AI search.
6 إعجابات
keegan
(Keegan George)
30 مايو 2024، 2:50م
4
Thanks for the report @Moin , this should now be resolved
discourse:main
← discourse:ux-sort-order-fix
opened 06:11PM - 29 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، 3:00م
6
This topic was automatically closed after 24 hours. New replies are no longer allowed.