Open Arinzelight opened 1 week ago
@Arinzelight As this is a framework, it does account for a dynamic implementation to output such a message within the body area.
I don't see a way to show that level of dynamic behavior that would be present once implemented into something like WordPress.
I am going to move this to status: blocked
because as we expand the specimens
this might be a good use-case for a specimen
that displays a "zero-case".
Hi @possumbilities
From what you suggested, does that we can raise an issue, implementing a specimen that displays a "zero case" ? This would be a way of validating the need for such a generic specimen
Problem
When a user performs a search in search-index.html, there is no feedback or message displayed if no items match the search query. This can lead to confusion for users, as they might not realize that the search did not yield any results.
Description
A "No results found" message should be displayed when a search query returns no matches. This feature will provide clear feedback to users, improving the search experience by ensuring that users know when their search did not find any results.
Alternatives
An alternative could be to clear the search results area when no matches are found, but this approach might not provide as much clarity to the user. Showing a "No results found" message is a more user-friendly solution, as it explicitly informs the user of the search outcome.
Implementation