Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetpack Stats: incorrect date navigation and view more loading issues #21484

Open
alinclamba opened this issue Nov 22, 2024 · 1 comment
Open

Comments

@alinclamba
Copy link

Expected behavior

When navigating between stats for different pages or posts with the "Days" filter selected, the app should accurately display the selected date without reverting to earlier dates. The "View more" option should also load the complete list of stats reliably.

Actual behavior

  1. When tapping stats for different pages or posts:
  • The current date starts to jump backwards after each selection (e.g., from Oct 30 to Oct 29, then Oct 20, etc.).
  • Eventually, the current date gets "stuck" on an earlier date and cannot return to the correct day.
  1. The "View more" option:
  • Often results in a blank screen.
  • Occasionally displays a loading animation but never resolves.
  • Requires restarting the app or waiting a few minutes before retrying.
  1. Home page stats:
  • Show only older years (e.g., 2021, 2020) rather than recent stats (e.g., 2023, 2024).

Steps to reproduce the behavior

  1. Open the Jetpack app and tap on Stats.
  2. Tap on any page or post to view stats for the last 14 days.
  3. Repeat the process with a different page or post.
  4. Observe how the selected date shifts backwards with each new page/post.
  5. Tap on "View more" at the bottom of the stats list.
  6. Check if the stats list loads or shows a blank/loading screen.
  7. Navigate to the Home page stats and observe if the displayed years include recent data.
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]

User setup:

  • Oppo Reno5 (CPH2159), Android 13
  • Jetpack app 25.4

My setup:

  • Google Pixel 3a, Android 12
  • Jetpack app 25.4
Notes:
  • User reported this in 8960687-zd-a8c
  • The issue has been reported on Slack: p1732282144254829-slack-C01264051NE
  • I, Animesh and Nick tried to replicate this with no success; here's a video from my testing:
    https://github.com/user-attachments/assets/43387a1c-49dc-4ce5-9e61-75363fd71b86
  • The issue with the "Years" filter is being fixed in PR #21450.
  • The problem described here pertains specifically to the "Days" filter and navigation between individual pages/posts.
    The "View more" loading issue and outdated home page stats also require separate investigation.
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants