mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 07:43:46 +08:00
Received a few pieces of feedback that the auto-inclusion of semantic search results by the AI plugin can be a little confusing, so this adds a message that explains that it's happening. Full page search... "No exact matches, but here are some related results." This required adding a new plugin outlet `full-page-search-before-results`. : <img width="434" alt="image" src="https://github.com/user-attachments/assets/77793843-762b-424b-beef-e7d1ff7c0481" /> Header search... "N match found - showing related results": <img width="340" alt="image" src="https://github.com/user-attachments/assets/5df5988b-b586-4fce-9b85-30a25098105d" /> I've also added a loading state and hide the 0 results state from the full page search when searching while AI is enabled. These changes help keep the UI less "janky" by avoiding some content shifts and a brief flash of the 0 results state. |
||
|---|---|---|
| .. | ||
| ai-embedding-editor.scss | ||
| semantic-related-topics.scss | ||
| semantic-search.scss | ||