wordpress-mobile / wordpress-mobile/WordPress-iOS

Followed Tags: tags that contain multiple words are hyphenated

Open
#15,985 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Tags that contain multiple words are shown as is. (i.e. The tag "social media" should be displayed as "social media")

Actual behavior

Tags that contain multiple words are hyphenated. (i.e. The tag "social media" is displayed as "social-media")

Steps to reproduce the behavior
  1. Go to the Reader tab
  2. Tap on the settings icon
  3. On the Followed Topics tab, add a topic that contains multiple words
  4. 👀 Notice that the topic is hyphenated
Tested on iPhone SE, iOS 14.4, WPiOS 16.7

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

Reproduce the issue from the Reader tab by opening settings and adding a multi-word topic in Followed Topics. Trace how the topic label is formatted in that flow, and consider the work done when a tag such as "social media" is displayed with its spaces intact rather than hyphenated.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.