Page MenuHomePhabricator

When search returns no results no behaviour defined.
Closed, ResolvedPublic2 Estimated Story Points

Description

If I go to a collection, and click edit and search for new members
e.g.
http://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Gather/by/Jdlrobson/5#/collection/edit/5
when i type goobledegook the search returns no results but the UI does not reflect this.

This could be a solution right now.

SeachisSad.png (1×748 px, 38 KB)

Try another search is a button which when clicked clears input.

Our empty screens for all search pages (desktop and mobile) are pretty awful. Maybe the Search team will take a look at fixing that in the future :)

Event Timeline

Jdlrobson claimed this task.
Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added subscribers: Aklapper, Jdlrobson, MSyed.

@JKatzWMF @Jdlrobson

This could be a solution right now.

SeachisSad.png (1×748 px, 38 KB)

Our empty screens for all search pages (desktop and mobile) are pretty awful. Maybe the Search team will take a look at fixing that in the future :)

Jdlrobson edited a custom field.
Jdlrobson moved this task from In Analysis to Ready for dev on the Gather Sprint Greatest Hits board.

@jhobs this card would be a great way into understanding our codebase. Please assign it to yourself if you are interested in taking it on.

@jhobs did you get your Vagrant working? Note to use Gather you'll need to opt in to the mobile beta via Special:MobileOptions.

Change 209721 had a related patch set uploaded (by Jhobs):
T95966 - Display a message for no search results

https://gerrit.wikimedia.org/r/209721

@Jdlrobson

Took some fiddling around and eventually a destroy & fresh clone, but yeah I got it working. I uploaded the patch[1], but I think it's currently a candidate for -1 based on i18n. I'm unsure of how to update the failed search query in the template in a way that is i18n-friendly (see "gather-overlay-search-results-empty" in qqq.json).

[1] - https://gerrit.wikimedia.org/r/#/c/209721/

Change 209721 had a related patch set uploaded (by Jdlrobson):
Display a message for no search results

https://gerrit.wikimedia.org/r/209721

Change 209721 merged by jenkins-bot:
Display a message for no search results

https://gerrit.wikimedia.org/r/209721