Page MenuHomePhabricator

Find in Page field not large enough when no results found
Closed, ResolvedPublic


On the screenshot below, I typed "San Francisco" in the search field and no results are found.
I can't see entirely what I typed because of the string "Aucune correspondance". If I made a mistake when typing I can't see it!

With the device in english the string is "0 matches" which is shorter.
But maybe we can put a string like "0/0" or "0 of 0". Some apps are doing like this, Google Chrome iOS as an example:

Event Timeline

JMinor moved this task from Needs Triage to Product Backlog on the Wikipedia-iOS-App-Backlog board.
JMinor added a subscriber: JMinor.

Yes, the placeholder text should dissappear or be shortened to use numerical count. Can't imagine what this looks like in German...

Testing criteria:

  • Switch device language to French
  • Do clean install of app
  • Load any French article
  • Tap the search icon at the bottom of the article
  • Enter a search term which won't produce any results
  • Ensure you see "0 / 0" on the right of the search box (see image below)

cmadeo added a subscriber: cmadeo.

@Mhurd I'm currently still seeing the full placeholder text on 5.4.2 (1132) with a fresh install in French

@cmadeo hmm it's merged... let's see if it goes out with next build

@Mhurd unfortunately whenever I try to do the repro steps the app is crashing :(

ABorbaWMF added a subscriber: ABorbaWMF.

Tested an iPhone 5s with iOS 10.2 on Beta App 5.5.0 (1140)

Tres bien.