Page MenuHomePhabricator

"No Results" copy needed
Closed, ResolvedPublic2 Estimated Story Points

Description

Currently, we do not have a message for No Results found, in each of the lookup fields in our new lexeme form. This message should be included and shown to users.

Acceptance Criteria

  • When no results are found for text entered into the field, the message "No match was found" is shown to users

Original Task

We still need some copy for the text which we show if the user types something cryptic in the Language input or Lexical Category input and the API returns no Items for that.

For example, in the Wikit storybook page for the Lookup component we use "No match was found".

We can have one piece of copy for all lookups or a separate one for each.

Event Timeline

In all other places we use "No match was found". Unless we have a good reason to go with something else we will use that.

ItamarWMDE renamed this task from DESIGN - "No Results" copy needed to "No Results" copy needed.Jun 1 2022, 9:11 AM

Task Breakdown Notes:

  • We should be able to reuse the same message from wikibase: wikibase-entityselector-notfound

Potential plan of action:

  1. Include the message in RL
  2. Pass the message down to the Vue application
  3. Add the message to the dev message repository
  4. Use the message key in the lookup field wrappers

Change 802141 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseLexeme@master] Use wikibase-entityselector-notfound for “no results”

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

Change 802141 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Use wikibase-entityselector-notfound for “no results”

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