Automattic / Automattic/jetpack

Search Enhancement: Change page title with query

Open
#21,276 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Search [Plugin] Jetpack [Plugin] Search [Pri] Low Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Change the of the page with search query to provide better browser history.

### How

### Current behaviour

For now, search URLs in browser history doesn't have meaningful title, like in the following screenshot.

![Markup on 2021-10-04 at 12:57:10](https://user-images.githubusercontent.com/1425433/135777786-609f498e-c4fc-4ee6-9a07-6fed6ac3c3f3.png)

### Changes suggested

Change the <title> of the page with search query to provide better browser history. e.g. "Search result for 'query' - Website name..."

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating Jetpack's search-page title handling, then check how the query is available when the page is rendered. Done means browser history shows a meaningful title containing the search query and the website name, with coverage for search results.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.