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

Add/anchor gutenboarding signup page #50052

Merged
merged 13 commits into from Feb 15, 2021
Merged

Conversation

mreishus
Copy link
Contributor

Changes proposed in this Pull Request

  • In Anchor-flavored gutenboarding, add a new anchor-specific signup page with anchor marketing text.
  • Regular gutenboarding retains its previous signup page.

Testing instructions

(Non-Anchor)

  • In a logged out window, visit http://calypso.localhost:3000/new
    • Make it to the end of the process
    • You should see the same "Save your progress" form as before this PR, and it should still be functional
      2021-02-12_12-16

(Anchor)

Needs Design Help / Design Review

Compare the screenshot above to the original mockup:
original-mockup

There are still some differences, so any design help would be appreciated. For example:

  • I don't know where to get the icons on the right side.
  • The signup form is missing a username box. However, I'm not sure if we want to change the mechanics of the form given our tight deadline here.
  • Whitespace / formatting / etc.

Related to 358-gh-Automattic/dotcom-manage

@mreishus mreishus self-assigned this Feb 12, 2021
@matticbot
Copy link
Contributor

@mreishus mreishus requested a review from a team February 12, 2021 18:23
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 12, 2021
@matticbot
Copy link
Contributor

matticbot commented Feb 12, 2021

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

App Entrypoints (~534 bytes added 📈 [gzipped])

name                 parsed_size           gzip_size
entry-gutenboarding      +3594 B  (+0.2%)     +534 B  (+0.1%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

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
Contributor

@blackjackkent blackjackkent left a comment

Choose a reason for hiding this comment

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

This LGTM! I left one comment but not a bloocker to merging I think.

onChange={ setEmailVal }
placeholder={ __( 'Email address' ) }
required
autoFocus={ ! isMobile } // eslint-disable-line jsx-a11y/no-autofocus
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason we need to autofocus here and ignore the lint rule? It seems like an unnecessary skip of something we're presumably checking for for a reason. (https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good question. Mostly, I am taking the current Gutenboarding sign up page and extending it, so that's coming from the current sign-up page here:

autoFocus={ ! isMobile } // eslint-disable-line jsx-a11y/no-autofocus

I think I traced it back to first being added here: #39586 0cc43dad2c8

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough. I actually didn't notice it autofocusing when I loaded it anyway, so I'm not super sure this is doing anything and it could probably be taken out. But again, not a blocker.

@kwight
Copy link
Contributor

kwight commented Feb 15, 2021

I don't know where to get the icons on the right side.

We can go with just bullet points for launch (which would make it a little more readable I think).

The signup form is missing a username box. However, I'm not sure if we want to change the mechanics of the form given our tight deadline here.

Agreed – in general, we don't want to be changing the "canonical" form like that, and even if considering it, we're out of time before launch, yes.

I'm wondering if the two sides of content can be vertically centered to their divider.

@sixhours
Copy link
Contributor

Non-Anchor

In the normal signup flow, I'm unable to log in; I get a redirect to this login screen after creating my account. The account creation screen:

Screen Shot 2021-02-15 at 11 49 44 AM

It starts to create my site, at which point I'd expect to be redirected to the editor, but then I get stuck on this page and can't sign in:

Screen Shot 2021-02-15 at 11 50 26 AM

I'm guessing this is a side effect of being on localhost instead of wordpress.com proper, or maybe incognito mode? 🤷‍♀️

Anchor

I'm unable to see the two-column signup design in the Anchor flow, and I'm getting an error when I get to the site creation -> editor step. Here's the first screen in the flow:

Screen Shot 2021-02-15 at 11 52 24 AM

I signed up with a new emaill/password from there, then I run into an error when I get to the site creation step:

Screen Shot 2021-02-15 at 11 54 29 AM

Copy link
Contributor

@sixhours sixhours left a comment

Choose a reason for hiding this comment

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

I wasn't able to see the design live, but assuming it's like the screenshots, it looks good. I agree with Kirk, we should use bullet points rather than custom icons. Vertically centering the content would also work, I think.

How does the two-column layout adapt on mobile devices or small screens?

@mreishus mreishus force-pushed the add/anchor-gutenboarding-signup-page branch from d17ed13 to 8a2b0fd Compare February 15, 2021 17:51
@mreishus
Copy link
Contributor Author

  • I'm not able to replicate any of the issues Caroline had.
  • I've added bullet points and vertical centering of columns.
    2021-02-15_12-55
  • In mobile view, it squishes down to one column. In tablet view, it's two narrow columns.
    2021-02-15_12-56
    2021-02-15_12-56_1

@kwight
Copy link
Contributor

kwight commented Feb 15, 2021

That looks way better @mreishus ! In the single column, can we better balance the whitespace between the two sides, so that the first paragraph of bullet points isn't so squished up against the bottom of the signup form?

@sixhours or @sfougnier Should the bullet points section come before the form?

@sixhours
Copy link
Contributor

@sixhours or @sfougnier Should the bullet points section come before the form?

I'd say no, after is better in this case, since we don't want to lose folks' interest or make them guess where the form is with scrolling.

I would also make sure the left margin is consistent for list items that wrap to two lines:

107984401-7e010500-6f8d-11eb-9bba-0698f85c168b

I think you can also reduce the whitespace between the divider and the form a little for tablet-sized screens to un-squish the columns a bit (that's the technical designer term 😜 )

@mreishus
Copy link
Contributor Author

I've removed some horizontal padding on smaller display sizes, and adding vertical spacing when it goes one column mode.

2021-02-15_13-58
2021-02-15_13-59
2021-02-15_14-00

Copy link
Contributor

@kwight kwight left a comment

Choose a reason for hiding this comment

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

Fantastic! 🎉 Ship it :shipit:

@kwight kwight merged commit 6ef5b51 into trunk Feb 15, 2021
@kwight kwight deleted the add/anchor-gutenboarding-signup-page branch February 15, 2021 21:17
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 15, 2021
@a8ci18n
Copy link

a8ci18n commented Feb 15, 2021

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/5525606

Thank you @mreishus for including a screenshot in the description! This is really helpful for our translators.

@a8ci18n
Copy link

a8ci18n commented Feb 25, 2021

Translation for this Pull Request has now been finished.

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.

None yet

6 participants