Skip to content

Pricing grid redesign: implement variant5 - #112492

Merged
dlind1 merged 5 commits into
trunkfrom
add/plan-grids-redesign-variant5
Jul 9, 2026
Merged

Pricing grid redesign: implement variant5#112492
dlind1 merged 5 commits into
trunkfrom
add/plan-grids-redesign-variant5

Conversation

@dlind1

@dlind1 dlind1 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Fixes DOTCOM-17773

Proposed Changes

  • Show the new design for the Commerce card in onboarding for four_plan_new_description variant.
Screenshot 2026-07-10 at 00 58 03

Why are these changes being made?

  • Part of the pricing grid redesign.

Testing Instructions

  • Assign yourself to the four_plan_new_description variant and navigate to /setup/onboarding.
  • Confirm that new Commerce card appears on the bottom and matches the Figma design.

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • For UI changes, have you tested the affected components in dark mode?
  • Have you tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
    • For UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

@dlind1
dlind1 requested a review from a team as a code owner July 9, 2026 22:56
@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 Jul 9, 2026
@dlind1 dlind1 changed the title Pricing grid redesign: implement variant4 Pricing grid redesign: implement variant5 Jul 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Implements the “variant5” pricing grid redesign for the WooCommerce/Commerce bottom plan card shown during onboarding (four_plan_new_description variant), including updated visuals and layout sizing logic in the plans-grid-next package.

Changes:

  • Adds a redesigned WooCommerce bottom plan card with new imagery, copy, and CTA override.
  • Updates features grid layout/classes and SCSS to support the new bottom card sizing and visuals across breakpoints.
  • Introduces .webp TypeScript module typing for the plans-grid-next package and removes the old WooCommerce title override from PlansFeaturesMain.

Reviewed changes

Copilot reviewed 5 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/plans-grid-next/src/components/shared/action-button/index.tsx Adds support for overriding button label/aria label (used by the new Commerce CTA).
packages/plans-grid-next/src/components/features-grid/style.scss Styles the redesigned WooCommerce bottom card and adjusts layout sizing when a bottom card is present.
packages/plans-grid-next/src/components/features-grid/index.tsx Adds a column-count class to support bottom-card max-width logic.
packages/plans-grid-next/src/components/features-grid/bottom-plan-card.tsx Implements the new WooCommerce bottom card markup, copy, CTA text override, and visuals.
packages/plans-grid-next/src/assets.d.ts Adds TS module declaration for importing .webp assets.
client/my-sites/plans-features-main/index.tsx Removes the old WooCommerce bottom-card title override (now handled in the card component).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +105 to +107
const shouldUseButtonText = !! buttonText && ! current && availableForPurchase;
const primaryText = shouldUseButtonText ? buttonText : text;
const primaryAriaLabel = shouldUseButtonText ? buttonText : ariaLabel;
@dlind1
dlind1 added this pull request to the merge queue Jul 9, 2026
Merged via the queue into trunk with commit 658a786 Jul 9, 2026
14 checks passed
@dlind1
dlind1 deleted the add/plan-grids-redesign-variant5 branch July 9, 2026 23:54
@github-actions github-actions Bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 9, 2026
@a8ci18n

a8ci18n commented Jul 10, 2026

Copy link
Copy Markdown

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

Some locales (Hebrew) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

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

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