wordpress-mobile / wordpress-mobile/WordPress-iOS
Stats: Limit date to current site date when fetching Stats totals from stats/visits endpoint
Open
Nobody has claimed this yet.
[Type] Bug
Stats
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
- Improve https://github.com/wordpress-mobile/WordPress-iOS/pull/22750 to make sure the caching mechanism continues to work for the chart (https://github.com/wordpress-mobile/WordPress-iOS/pull/22750#issuecomment-1974702784)
- Check if there're other conditions where stats/visits show zeros (https://github.com/wordpress-mobile/WordPress-iOS/pull/22826#pullrequestreview-1944807282)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing pull requests #22750 and #22826, then trace the iOS code that fetches totals from the stats/visits endpoint. Done means the request date is limited to the current site date, chart caching still works, and other zero-total conditions are addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100