wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.7k stars 1.12k forks source link

Improve text matching in Stats widgets site selection #15834

Open guarani opened 3 years ago

guarani commented 3 years ago

Expected behavior

When choosing a site for the widget, typing My site matches mysite.wordpress.com fine but typing mysite (without the space) doesn't match it. It would be nice to match without the spaces.

Actual behavior

I had to consciously type My site (with spaces, after not getting matches for mysite). I think this would be a nice enhancement to the Stats widget.

Steps to reproduce the behavior

  1. Add a new Stats widget
  2. Add a site with spaces in its name (e.g. My Site)
  3. Notice that you need to type the spaces to get a match on the widget site selection screen
Tested on iPhone 11, iOS 14.4, WPiOS 16.6.0.8 (TestFlight)
dangermattic commented 5 months ago

Thanks for reporting! 👍