wordpress-mobile / wordpress-mobile/WordPress-iOS

Rename Stats Insight cards for clarity

Open Beginner friendly
#23,015 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

The Stats Insight cards for likes and comments show 7-days worth of data, so they should be re-named to "Likes" and "Comments". Their current name suggests they're showing all-time totals.

Actual behavior

The cards are called "Total Likes" and "Total Comments", which is confusing.

Steps to reproduce the behavior
  1. Log in to the Jetpack app
  2. Go to Stats
  3. Switch to the Insights tab
  4. Add the Total Likes and Total Comments cards
  5. Notice that they show 7-day data (their counts match the 7-day counts on WP.com's Traffic tab)
Tested on iPhone 11, iOS 17.4.1, Jetpack iOS 24.7

h/t to @staskus for flagging this in https://github.com/wordpress-mobile/WordPress-iOS/issues/22824#issuecomment-2022601320

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 by locating the Stats Insights cards in the WordPress iOS app and find the labels for the likes and comments cards. Verify the cards' displayed data in the Insights tab, then confirm that the labels read "Likes" and "Comments" rather than the current "Total Likes" and "Total Comments".

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.