Skip to content

Commit

Permalink
Newsletter: remove paid newsletter flag after release (#77086)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored May 19, 2023
1 parent 7d77d7d commit ab82e52
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { isEnabled } from '@automattic/calypso-config';
import { Onboard } from '@automattic/data-stores';
import { hexToRgb, StepContainer, base64ImageToBlob } from '@automattic/onboarding';
import { useDispatch, useSelect } from '@wordpress/data';
Expand Down Expand Up @@ -155,23 +154,21 @@ const NewsletterSetup: Step = ( { navigation } ) => {
setAccentColor={ setAccentColor }
labelText={ newsletterFormText?.colorLabel }
/>
{ isEnabled( 'newsletter/paid-subscribers' ) && (
<FormFieldset className="newsletter-setup__paid-subscribers">
<FormLabel>
<FormInputCheckbox
name="paid_newsletters"
checked={ paidSubscribers }
onChange={ onPaidSubscribersChanged }
/>
<span>{ translate( 'I want to start a paid newsletter' ) }</span>
</FormLabel>
<InfoPopover position="bottom right">
{ translate(
'Let your audience support your work. Add paid subscriptions and gated content to your newsletter.'
) }
</InfoPopover>
</FormFieldset>
) }
<FormFieldset className="newsletter-setup__paid-subscribers">
<FormLabel>
<FormInputCheckbox
name="paid_newsletters"
checked={ paidSubscribers }
onChange={ onPaidSubscribersChanged }
/>
<span>{ translate( 'I want to start a paid newsletter' ) }</span>
</FormLabel>
<InfoPopover position="bottom right">
{ translate(
'Let your audience support your work. Add paid subscriptions and gated content to your newsletter.'
) }
</InfoPopover>
</FormFieldset>
</>
</SetupForm>
}
Expand Down
1 change: 0 additions & 1 deletion config/development.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
"me/vat-details": true,
"my-sites/add-ons": true,
"network-connection": true,
"newsletter/paid-subscribers": true,
"newsletter/stats": true,
"oauth": false,
"onboarding/import": true,
Expand Down
1 change: 0 additions & 1 deletion config/horizon.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"me/vat-details": true,
"my-sites/add-ons": true,
"network-connection": true,
"newsletter/paid-subscribers": true,
"newsletter/stats": true,
"onboarding/import-light-url-screen": true,
"onboarding/2023-pricing-grid": true,
Expand Down
3 changes: 1 addition & 2 deletions config/production.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@
"user-management-revamp": true,
"woop": false,
"wordpress-action-search": false,
"wpcom-user-bootstrap": true,
"newsletter/paid-subscribers": true
"wpcom-user-bootstrap": true
},
"siftscience_key": "a4f69f6759",
"oauth_client_id": "39911",
Expand Down
1 change: 0 additions & 1 deletion config/stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"me/account/color-scheme-picker": true,
"me/vat-details": true,
"my-sites/add-ons": true,
"newsletter/paid-subscribers": true,
"onboarding/import": true,
"onboarding/import-from-blogger": true,
"onboarding/import-from-medium": true,
Expand Down
3 changes: 1 addition & 2 deletions config/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"upgrades/upcoming-renewals-notices": true,
"upgrades/wpcom-monthly-plans": true,
"wordpress-action-search": false,
"wpcom-user-bootstrap": false,
"newsletter/paid-subscribers": true
"wpcom-user-bootstrap": false
}
}
1 change: 0 additions & 1 deletion config/wpcalypso.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"me/vat-details": true,
"my-sites/add-ons": true,
"network-connection": true,
"newsletter/paid-subscribers": true,
"newsletter/stats": false,
"onboarding/import": true,
"onboarding/import-from-blogger": true,
Expand Down

0 comments on commit ab82e52

Please sign in to comment.