wordpress-mobile / wordpress-mobile/WordPress-iOS

Reader: Sites with empty blogname appear with hyphenated urls

Open
#24,144 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Reader
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Sites with empty blognames use the url as a blogname. That's fine but then if the url doesn't fit on the screen, we wrap it with hyphens.

wordpress.com becomes word-press.com

On this particular screen, it might be best to not have a blogname at all, given that the address is visible under it.

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

Start in the Reader screen and reproduce the display with a site that has an empty blogname and a long URL such as wordpress.com. Inspect how the URL is wrapped and determine how the visible blogname and address should appear; done means the URL is not shown with incorrect hyphenation and the screen remains readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.