[Stats Refresh] StatsPeriodStore: make use of the new API#11342
[Stats Refresh] StatsPeriodStore: make use of the new API#11342jklausa merged 10 commits intofeature/stats-core-data-finishedfrom
Conversation
Generated by 🚫 dangerJS |
|
Hey @jklausa . It was really difficult to verify the data due to these 2 issues, primarily the first:
I was able to identify these as well:
I think I saw some data discrepancies, but again it was hard to tell with the tab switching issue. Once that's resolved, I'll take another look. |
ScoutHarris
left a comment
There was a problem hiding this comment.
See comment about issues.
|
Hey @jklausa . Please ignore the comment about the Referrers > Search Engines icons. I've marked it out. Sorry! |
|
Updated! I temporarily removed fetching the Switching tabs should be fixed now — because we don't currently have any loading indicators, it may appear as nothing is happening, so you need to observe the console log. I fixed clicks to not show icons. The issue with "details" list is due to #11359 — if you "manually" pull-to-refresh it, it'll work. Note that there are also some (new) performance issues with that view (#11360). As for the webviews — I don't think this is due to anything could have done here, but I'll continue to investigate. |
| } | ||
|
|
||
| if !isFetchingOverview { | ||
| DDLogInfo("Stats: All fetching operations finished.") |
|
Hey @jklausa . I found a few more issues: Period > Posts & Pages:
Period > Published:
|
|
Hey @jklausa . I nuked my Pods directory, and that resolved the Posts and Pages issues. However, the Published issue remains. |
|
@ScoutHarris confirmed, I'd right to tackle that in a follow-up if you don't mind :) |
|
Works for me! |
|
heyo! |
This switches StatsPeriodStore to the new
StatsServiceRemoteV2based API, also updating the appropriate ViewModels.I found two more changes (grr.....) I'll need to make to the data model when working on this —
Videosendpoint doesn't return a mediaID, just a URLTo test: