wordpress-mobile / wordpress-mobile/WordPress-iOS

Email Stats: Consistent ordering in different screens

Open
#23,231 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

On the web, Stats Subscribers emails were sorted by post_id on the card, and by popularity on the details page. We replicated this functionality. However, this wasn't done intentionally and the change was made on the web to make the sorting consistent:

https://github.com/Automattic/wp-calypso/pull/90324

Expected behavior

Sort Stats Subscribers emails by post_id both on the card and on the details page.

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

Review the Stats Subscribers card and details-page implementations, using the linked Calypso pull request as a reference for the intended ordering. Trace how each screen sorts its emails, then verify that both use post_id ordering and add or update the relevant tests if the repository provides them.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.