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

My Plan: Add Checklist CTA #12429

Merged
merged 12 commits into from
May 23, 2019
Merged

My Plan: Add Checklist CTA #12429

merged 12 commits into from
May 23, 2019

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented May 21, 2019

Add a checklist CTA to the My Plan header based on #11997 (comment)

This introduces yet another primary button to this view. #12430 removes the primary buttons from all of the feature cards in the view.

Screens

Expand for screens

placeholder
free-mob
free-desk
personal-mob
personal-desk
premium-mob
premium-desk
pro-mob
pro-desk

Testing instructions:

  • From /wp-admin/admin.php?page=jetpack#/my-plan on a Jetpack site
  • You should see the checklist CTA button like in the above screens.
  • For sites with different plans, does the button appear correctly? Does the link work as expected?

Proposed changelog entry for your changes:

none

@sirreal sirreal added [Status] Needs Review To request a review from Crew. Label will be renamed soon. [Status] Needs Design Review Design has been added. Needs a review! Plans labels May 21, 2019
@sirreal sirreal requested a review from a team as a code owner May 21, 2019 12:28
@sirreal sirreal self-assigned this May 21, 2019
@sirreal sirreal requested review from jeffgolenski and a team May 21, 2019 12:31
@jetpackbot
Copy link

jetpackbot commented May 21, 2019

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Scheduled Jetpack release: June 4, 2019.
Scheduled code freeze: May 28, 2019

Generated by 🚫 dangerJS against 4c9859b

@sirreal sirreal added this to the 7.4 milestone May 21, 2019
@jeherve
Copy link
Member

jeherve commented May 21, 2019

Should we show the button on free plans as well? It seems odd, since there isn't much to set up at that point, you are just invited to purchase a plan?

@simison
Copy link
Member

simison commented May 21, 2019

Should we show the button on free plans as well? It seems odd, since there isn't much to set up at that point, you are just invited to purchase a plan?

There will be some new stuff coming to the checklist sometime after 7.4 release for free sites as well; lazy loading images & CDN for example.

@jeffgolenski
Copy link
Member

We definitely want to display this for free. As @simison mentioned, more things are coming to the checklist soon!

@sirreal I just testing this - I'm noticing a difference in styles. For paid plans the button is in the correct place, but but free it is not.

Looks great on mobile. Can you just bump the p text size to 14px?

Screen Shot 2019-05-21 at 10 47 03 AM
Screen Shot 2019-05-21 at 10 44 57 AM

@simison
Copy link
Member

simison commented May 21, 2019

Should we address multiple primary color buttons on the same page as a follow up to this?

simison
simison previously approved these changes May 21, 2019
Copy link
Member

@simison simison left a comment

Choose a reason for hiding this comment

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

Code is looking good 👍

Just small placeholder change I'd like to see before merging.

simison
simison previously approved these changes May 22, 2019
@@ -86,7 +90,7 @@ class MyPlanHeader extends React.Component {
alt={ __( 'Jetpack Premium Plan' ) }
/>
</div>
<div className="jp-landing__plan-iconcard-current">
<div className="jp-landing__plan-card-current">
Copy link
Member Author

Choose a reason for hiding this comment

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

This one class was inconsistent with the rest.

@sirreal sirreal force-pushed the add/my-plan-checklist-cta branch from 3e89000 to 4c9859b Compare May 22, 2019 08:49
@sirreal
Copy link
Member Author

sirreal commented May 22, 2019

Rebased so the primary CTAs are no longer repeated (#12430).

I just testing this - I'm noticing a difference in styles. For paid plans the button is in the correct place, but but free it is not.

There was a misnamed class in exactly 1 place, which was the class I'd based the changes on. I fixed this class name so the different plans should be consistent.

This also highlighted a lot of what appear to be leftover classes from previous plans pages. I've removed many rules that appear to be unused after searching for references.

Looks great on mobile. Can you just bump the p text size to 14px?

I've taken care of that 👍

Here are updated mobile/desktop screenshots for all plans

placeholder
free-mob
free-desk
personal-mob
personal-desk
premium-mob
premium-desk
pro-mob
pro-desk

@sirreal sirreal requested a review from a team May 22, 2019 08:50
Copy link
Contributor

@ockham ockham left a comment

Choose a reason for hiding this comment

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

One concern here. Appears to be working well otherwise! I also couldn't find any other uses of those stale class names.

Feel free to ship after addressing the i18n question!

Copy link
Member

@jeherve jeherve left a comment

Choose a reason for hiding this comment

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

This looks good, and tests well for me. I think this should be good to merge after a design review.

I mentioned the lack of tracking on that button below, but I don't think that's blocking here, given that we are missing tracking on other buttons in there. It could be added in a future PR I think.

export default function ChecklistCta( { siteSlug } ) {
return (
<div className="jp-landing__plan-features-header-checklist-cta-container">
<Button primary href={ `https://wordpress.com/plans/my-plan/${ siteSlug }` }>
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to add tracking to clicks on that button?

@jeherve jeherve removed the [Status] Needs Review To request a review from Crew. Label will be renamed soon. label May 22, 2019
@jeffgolenski
Copy link
Member

mentioned the lack of tracking on that button below, but I don't think that's blocking here, given that we are missing tracking on other buttons in there. It could be added in a future PR I think.

Thanks for bringing this up. Yes, we need be adding tracking to all new buttons that are added, every single time. If we don't know if / how our customers are using what we design and build then we're just wasting our time. Can we get a tracks event in there @sirreal? Thank ya!

cc @jeherve @simison @ockham

@sirreal
Copy link
Member Author

sirreal commented May 22, 2019

Can we get a tracks event in there @sirreal?

@jeffgolenski yes, but I'd prefer to add it in a follow up since this has the approvals already. Can we consider this design approved?

Copy link
Member

@jeffgolenski jeffgolenski left a comment

Choose a reason for hiding this comment

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

Did another run through. Looks great!

@sirreal sirreal added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Design Review Design has been added. Needs a review! labels May 23, 2019
@sirreal sirreal merged commit 8457915 into master May 23, 2019
@sirreal sirreal deleted the add/my-plan-checklist-cta branch May 23, 2019 08:47
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels May 23, 2019
@sirreal
Copy link
Member Author

sirreal commented May 23, 2019

Tracks here: #12449

jeherve added a commit that referenced this pull request Feb 16, 2021
In #12277 and #12429, we added a "checklist" component to the Jetpack dashboard, as well as a CTA that would lead you to the checklist in Calypso.
We never really expanded on that checklist and its display in the React dashboard, but we now have a Recommendations component we use in Jetpack, since #18437.

This commit removes the elements from the checklist that we never used, and updates the CTA link in "My Plan" to point to the new Recommendations, when those recommendations must be shown to site owners.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants