wordpress-mobile / wordpress-mobile/WordPress-iOS
Theme Search: Make theme search more flexible to provide more results
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
The theme search is very restrictive, which may cause problems for mobile users. Comment from Adam during beta testing:
Searching for a theme name with a space after it returns no results. Compare a search for:
“wedding ”
… with a search for:
“wedding”Seems like we should work around this since some mobile keyboards automatically put spaces after words when autocompleted or whatever.
It's also worth noting that a search for "wedding" in Calypso on a desktop returns many other themes (such as wedding-topic themes like Forever) that aren't returned in the app's search results. It would be nice to include those kinds of results as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the iOS theme-search implementation and compare its handling of trailing spaces and its result matching with the described Calypso behavior. Done means searches with an added space still return results and related theme results are included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100