Skip to content

Suggest AI search when no hits from normal search - #4943

Draft
joelochlann with Copilot wants to merge 3 commits into
mainfrom
copilot/suggest-ai-search-on-zero-hits
Draft

joelochlann with Copilot wants to merge 3 commits into
mainfrom
copilot/suggest-ai-search-on-zero-hits

Conversation

Copilot AI commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Pull request created by AI Agent

Copilot AI and others added 2 commits September 16, 2026 11:26
Co-authored-by: joelochlann <5122968+joelochlann@users.noreply.github.com>
Co-authored-by: joelochlann <5122968+joelochlann@users.noreply.github.com>
@joelochlann joelochlann changed the title Implementing suggestion for AI search when no hits are found Suggest AI search when no hits from normal search Sep 16, 2026
Comment thread kahuna/public/js/search/results.html Outdated
<span>
No matches, sorry! Try altering your search.
<span ng-if="!ctrl.isAiSearch && ctrl.shouldDisplayAISearchOption">
Or <a href="" ng-click="$event.preventDefault(); ctrl.tryAiSearchFromNoResults()">try AI search instead</a>.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we squeeze in the 'why' here, to give a clear reason why the user might want to do this (or reason about why they might not?)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Comment on a draft PR! My apols 🙇)

Co-authored-by: joelochlann <5122968+joelochlann@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants