You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] : Show explicit empty and no-results states in site search #617
Show explicit empty and no-results states in site search
Description
The search modal leaves its result area blank before a query and when a query has no matches, so visitors get no indication that search is ready or that there were zero results.
Steps to reproduce
Open the site search modal.
Observe the blank results area before typing.
Search for a string that does not occur in the site index and observe that the area remains blank.
Proposed fix
Render a short prompt before search and a clear “No results” state after an unmatched query. Include a keyboard-accessible way to clear the query and try again.
Activity