Skip to content

Switch over showing/fetching Streak data to new architecture - #11129

Merged
jklausa merged 6 commits into
developfrom
feature/stats-streak-insight-new-architecture
Feb 26, 2019
Merged

Switch over showing/fetching Streak data to new architecture#11129
jklausa merged 6 commits into
developfrom
feature/stats-streak-insight-new-architecture

Conversation

@jklausa

@jklausa jklausa commented Feb 23, 2019

Copy link
Copy Markdown
Contributor

This was the last Insight that was using the old architecture/backend. Now all of them are powered by the new data layer :)

Note: I noticed (present also in current implementation) problem with displaying the graph for sites with extremely heavy posting traffic (like our team P2, for example). I filed a bug in WPKit and will fix it next week. fixed it upstream in WPKit already: wordpress-mobile/WordPressKit-iOS#107

To test:

Verify the app builds
Verify the data shown for Streaks in stats insights is the same as above

Update release notes:

  • If there are user facing changes, I have added an item to RELEASE-NOTES.txt.

@jklausa jklausa added this to the 12.0 milestone Feb 23, 2019
@jklausa jklausa self-assigned this Feb 23, 2019
@jklausa
jklausa requested a review from ScoutHarris February 23, 2019 01:15
@ScoutHarris

Copy link
Copy Markdown
Contributor

Hey @jklausa - looks like there's some data missing. This is from develop (looking at Hogwarts):

develop

This is your branch:
branch

Mar - June have no data, and July has partial.

Not sure where the problem lies, so I'll refrain from taking any action on the accompanying WPKit PR until you take a look.

@ScoutHarris ScoutHarris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once I got pods to cooperate, the data looks accurate. Bonus points for the models looking much cleaner with your changes! 🎉

@jklausa
jklausa merged commit b111dc4 into develop Feb 26, 2019
@jklausa
jklausa deleted the feature/stats-streak-insight-new-architecture branch February 26, 2019 00:44
@jklausa

jklausa commented Feb 26, 2019

Copy link
Copy Markdown
Contributor Author

argh i didn't want to merge this yet

@jklausa

jklausa commented Feb 26, 2019

Copy link
Copy Markdown
Contributor Author

my cat literally walked on my keyboard to do it, I wish i were making it up...

@jklausa

jklausa commented Feb 26, 2019

Copy link
Copy Markdown
Contributor Author

it's fine though, tests passed so it should be g2g :D

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

Successfully merging this pull request may close these issues.

2 participants