Page MenuHomePhabricator

[XS] Placeholder input text on Media Search
Closed, ResolvedPublic

Description

We currently don't have any placeholder text in the search input box on media search.

Something like "Search for images, audio, video and more" could be useful.

Screen Shot 2020-07-10 at 11.41.23 AM.png (88×1 px, 17 KB)

Acceptance Criteria:

  • If the user hasn't inputted a search term, the search input box should have placeholder text that reads "Search for images, audio, video and more"
  • If the user removes their search term, the search input box should also show the same placeholder text

During development, please test the following:

  • Test this feature while logged in AND logged out
  • Test this feature on at least one mobile browser

Details

Event Timeline

CBogen renamed this task from Placeholder input text on Media Search to [XS] Placeholder input text on Media Search.Jul 15 2020, 4:22 PM
CBogen updated the task description. (Show Details)

Change 617796 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/WikibaseMediaInfo@master] Recreate autocomplete search input

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

Change 617796 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Recreate autocomplete search input

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

Etonkovidova subscribed.

Moving to Verify in Production.

Checked in FF79, Chrome 84, Edge, IE 11, Safari 13 - no issues were found. The screenshots are from betalabs:

Desltop betalabs Mobile betalabsproduction wmf.3
Screen Shot 2020-08-11 at 5.37.19 PM.png (387×856 px, 37 KB)
Screen Shot 2020-08-11 at 6.04.49 PM.png (503×375 px, 38 KB)
Screen Shot 2020-08-11 at 5.36.36 PM.png (465×807 px, 37 KB)

There is a bug found when testing the above (currently present only in betalabs) filed as T260208: [betalabs] MediaSearch - white spaces trigger TypeError: Cannot read property 'length' of null.

Checked in commons wmf.5 - Resolved.