UI: Community Search when results are empty
As a user on hive.blog searching for a community, I would like to be allowed to see empty results, so that I at least know that the search functionality is working properly.
Steps to recreate:
- Browse to: https://hive.blog/communities
- Type a keyword that does not have any matching community, e.g. "cromulent" (at the time of writing, no community matches this keyword).
- Press enter.
The results do not change when there is no matching community, implying either that the keyword matches the previous result or that search is not working.
Looking at the request/response, the result looks valid, so this is just a UI issue.
Request:
{
"id":55,
"jsonrpc":"2.0",
"method":"bridge.list_communities",
"params":{
"observer":"inertia",
"query":"cromulent",
"sort":"rank"
}
}
Response:
{
"jsonrpc":"2.0",
"result":[],
"id":55
}
AC
-
When search results in no matching communities, an empty result is displayed in the UI.