wordpress-mobile / wordpress-mobile/WordPress-iOS

Theme Search: Make theme search more flexible to provide more results

Open
#4,680 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Enhancement Good First Issue Themes
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.