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
[iOS] Stats: Insights tab show different numbers on iOS, Android and Web #19337
Comments
Thanks for creating this issue @staskus!
Tapping on each data point on the chart gives the daily total for views on that chosen day. Summing these manually gives the weekly total. This matches the total for "this week" that's shown on iOS, but it doesn't match on Android.
Same difference as with views.
Could be rounding. For the "Most Popular Time" card, the percentages shown on Android match those on the web while iOS is different. For the "Total Comments" card, when I looked at this for a particular site, there were six comments this week and none last week. On Android, it showed up as an infinity percent increase "+6 (∞%)". On iOS, it showed up as a zero percent increase "+6 (0%)". Instead we could show "+6" or "+6 (n/a %)", but the former feels more correct because a % change shouldn't be provided if the previous period was zero. The latter is also harder to localize.
Since this is a presentation issue (not a data issue like some of the above differences), it's not crucial that this match. It would be nice for iOS, Android, and the web to match. However, due to space constraints, it might make sense that mobile uses K to abbreviate thousands while the web doesn't as seems to be the case here. Other differences (e.g. whether to round 0.8 to 1) seem like they should be consistent across all platforms.
Looking at the numbers for the time someone's been a follower, it looks like Android is rounding up (e.g. the ceil() function is applied to the number). So a follower who's been around for 7 months and 5 days is shown as "8 months" on Android. iOS seems to handle this as I would expect and shows "7 months".
On Android, it looks like the week starts on Sunday. On iOS, it looks like the week starts on Monday (same as the web). When I look at which days have more posts (darker green), I see differences between all platforms (iOS is different from Android and Android is different from the web). |
Thank you for your insights, @guarani!
That's a good point.
Yes, agree. All in all, I'll review it a bit further and compare it to the web as well. I imagine it could result in a couple of changes on iOS and a couple of changes on Android. |
I created 2 issues to address on iOS:
I'm closing this issue as it served as an investigation. |
Are there any additional bug reports here that we should capture in separate issues? I see mentions of web and Android issues, but I'm not sure if they've been captured or may be lost when this issue is closed. |
I'll create additional issues and will reference them here. |
Thanks @staskus! |
Different number of views of the week
Created issues:
Inside views & visitors details view:
Inside views & visitors details view (If we pick the previous week):
In Insights tab:
Counting day by day
Different number of visitors of the week
Inside views & visitors details view:
Created issues:
Stats:
Inside views & visitors details view (If we pick the previous week):
All platforms differ in numbers:
In Insights tab:
This year stats (2021)
Created issues:
Stats:
💡 Do we pick up a little bit different start date based on the time zone? Or is there any other issue here?
Different percentages (by one, most probably different rounding) #19346
This year - inconsistent rounding. Some places we have decimals on iOS, on other places on Android #19346
Top follower numbers different
Note: not worth fixing since there'll be a change in the design #18602
Posting activity in different colors
The text was updated successfully, but these errors were encountered: