WordPress / WordPress/pattern-directory

Improve document title on Favorites page.

Open
#465 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Theme
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

Describe the bug
On the main gallery page (/patterns/categories/gallery/), when you select a subcategory the title is:

Block Patterns: Gallery | WordPress.org

On the favorites page (/patterns/favorites/categories/gallery/), when you select a subcategory the title is:

Favorites | WordPress.org

Expected behavior
I would expect that format to be the same (or similar). On the favorites page, it should be:

Favorites: Gallery | WordPress.org

The same thing should go for my patterns as well (patterns/my-patterns/pending/), should read:

My Patterns: Pending | WordPress.org

Notes
This problem exists on page load and on JavaScript-driven interactions.

Contributor guide

No contributing guide indexed for this repository

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

Inspect the title handling for /patterns/favorites/categories/gallery/ and patterns/my-patterns/pending/, including the JavaScript-driven navigation mentioned in the issue. Compare the resulting titles with the gallery format; done means the relevant favorites and My Patterns pages show their section and selected category or status in the document title on both initial load and interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.