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

Revert "Onboarding: Remove the onboarding specific check for subheader" #33564

Conversation

spen
Copy link
Contributor

@spen spen commented Jun 4, 2019

Reverts #33470

Since #33470 one of our e2e tests has been failing and was .skipped in #33517.
For the time being, I'm rolling back #33470 until the onboarding-blog flow is made redundant and removed.

@spen spen requested a review from a team as a code owner June 4, 2019 10:32
@matticbot
Copy link
Contributor

@matticbot
Copy link
Contributor

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~1130 bytes removed 📉)

name             parsed_size           gzip_size
stats                 -226 B  (-0.0%)      -46 B  (-0.0%)
signup                -226 B  (-0.1%)      -52 B  (-0.1%)
jetpack-connect       -226 B  (-0.0%)      -46 B  (-0.0%)
checkout              -226 B  (-0.0%)      -52 B  (-0.0%)
checklist             -226 B  (-0.2%)      -48 B  (-0.2%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Async-loaded Components (~5 bytes removed 📉)

name                             parsed_size           gzip_size
async-load-blocks-inline-help         -226 B  (-0.3%)      -51 B  (-0.3%)
async-load-signup-steps-domains       +221 B  (+0.1%)     +101 B  (+0.2%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

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

LGTM

@spen spen merged commit cdace2e into master Jun 5, 2019
@spen spen deleted the revert-33470-update/onboarding-copy-changes-spen--use-onboarding-copy-in-domains branch June 5, 2019 08:47
@spen
Copy link
Contributor Author

spen commented Jun 19, 2019

Hi @Stojdza - Were you able to confirm that the issue mentioned here was fixed by this revert?

I made some attempts to investigate and fix the underlying issue and struggled to do so.
It looks like the issue comes about because we 'inject' an entry for a survey step in to the signup progress state when we give the vertical URL param, then when we switch to a forked flow (onboarding-blog, or ecommerce-onboarding for instance) we're comparing the step names and the indexes of the steps of the current progress state and the incoming flow... because that survey step is sort of show-horned in and doesn't naturally appear in either the old flow, or the new flow our filtering logic returns an empty array.

Sooo, to cut a long story short - I think that's our issue, rather than the copy changes made in #33470 - but I'm interested to hear from you before I reinstate those changes again :)

@Stojdza
Copy link
Contributor

Stojdza commented Jun 19, 2019

Hi @spen! The test is passing after revert.

I ran it locally and it's failing on this page:

Screen Shot 2019-06-19 at 12 24 47

but it's because the test was disabled a few weeks ago and it wasn't updated meanwhile to cover this page (other tests were updated).

Would you mind that I enable test again so you can run it with the rest of them against your fix?

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.

4 participants