Automattic / Automattic/jetpack

Instant Search: clarify display of spelling correction

Open
#20,801 1 comment 1 reaction 0 assignees View on GitHub
[Feature] Search [Plugin] Jetpack Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

The spelling enhancement could be clearer, perhaps more akin to Google's "did you mean..." instead

### How

Currently if you search for a term which doesn't exist, but is similar to a word which does exist it shows "no results" for the non-existent term, then the results for the similar term below. Example:

![image](https://user-images.githubusercontent.com/30754158/130533559-3941116f-00bc-4ffa-b534-649b576d0d31.png)

It is not immediately clear that it is suggesting a similar term, and instead looks like it may be returning two queries at once. This could be improved with some styling and/or wording changes to the spelling enhancement. An example of this would be Google's 'did you mean':

![image](https://user-images.githubusercontent.com/30754158/130533829-96feb16a-255a-4035-abb3-30b06dcd4407.png)

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point; begin by tracing Jetpack's spelling-enhancement search result UI. Review the current “no results” and similar-term presentation described in the issue and compare it with the screenshots. Done means the correction is immediately recognizable as a suggestion rather than a second query, with wording or styling that makes this clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.