Skip to content

Commit

Permalink
WPCC: Migrate wordpress connect flow to modern signup (#98513)
Browse files Browse the repository at this point in the history
* WPCC: Migrate wordpress connect flow to modern signup

* Cleanup flows (#98515)

* Cleanup flows

* Sort list alphabetiocally

* Fix
  • Loading branch information
ddc22 authored Jan 17, 2025
1 parent 4633da2 commit 96f678a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 43 deletions.
3 changes: 2 additions & 1 deletion client/blocks/signup-form/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,8 @@ class SignupForm extends Component {
const isGravatar = this.props.isGravatar;
const emailErrorMessage = this.getErrorMessagesWithLogin( 'email' );
const showSeparator =
( ! config.isEnabled( 'desktop' ) && this.isHorizontal() ) || this.props.isWoo;
'wpcc' !== this.props.flowName &&
( ( ! config.isEnabled( 'desktop' ) && this.isHorizontal() ) || this.props.isWoo );

if (
( this.props.isPasswordless &&
Expand Down
6 changes: 6 additions & 0 deletions client/signup/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -914,3 +914,9 @@ body.is-section-signup .is-gravatar {
--signup-form-column-max-width: 408px;
}
}

body.is-section-signup
.signup:not(.is-wpcc2)
.layout:not(.dops):not(.is-wccom-oauth-flow) .formatted-header {
margin: 0 0 16px;
}
69 changes: 27 additions & 42 deletions config/_shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,61 +202,46 @@
"restricted_me_access": true,
"theme_color": "",
"reskinned_flows": [
"launch-site",
"onboarding",
"onboarding-with-email",
"onboarding-pm",
"with-add-ons",
"newsletter",
"setup-site",
"account",
"business",
"business-2y",
"business-3y",
"business-monthly",
"do-it-for-me",
"do-it-for-me-store",
"website-design-services",
"desktop",
"developer",
"site-content-collection",
"importer",
"domain",
"domain-for-gravatar",
"domain-transfer",
"ecommerce",
"ecommerce-monthly",
"entrepreneur",
"free",
"hosting",
"hosting-start",
"import",
"import-light",
"from",
"main",
"reader",
"simple",
"woocommerce-install",
"with-theme",
"with-plugin",
"with-theme-assembler",
"free",
"launch-site",
"onboarding",
"onboarding-affiliate",
"onboarding-pm",
"onboarding-with-email",
"personal",
"personal-monthly",
"personal-2y",
"personal-3y",
"personal-monthly",
"plans-first",
"premium",
"premium-monthly",
"premium-2y",
"premium-3y",
"business",
"business-monthly",
"business-2y",
"business-3y",
"ecommerce",
"ecommerce-monthly",
"ecommerce-2y",
"ecommerce-3y",
"entrepreneur",
"pro",
"starter",
"domain",
"onboarding-2023-pricing-grid",
"domain-transfer",
"premium-monthly",
"reader",
"setup-site",
"site-content-collection",
"site-selected",
"guided",
"domain-for-gravatar",
"plans-first",
"onboarding-affiliate"
"website-design-services",
"with-plugin",
"with-theme",
"woocommerce-install",
"wpcc"
],
"100_year_plan_calendly_id": "wpcom-100-years/30min",
"bilmur_url": "https://s0.wp.com/wp-content/js/bilmur.min.js"
Expand Down

0 comments on commit 96f678a

Please sign in to comment.