Skip to content

[NOX in LYS] Improve responsive design for mobile and tablet #58973

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

Merged
merged 37 commits into from
Jul 29, 2025

Conversation

mordeth
Copy link
Contributor

@mordeth mordeth commented Jun 19, 2025

Submission Review Guidelines:

Changes proposed in this Pull Request:

This PR focuses on improving the mobile and tablet experience for the NOX integration in the “Launch Your Store” (LYS) flow.

Figma design: xO8YdpKfaVoP2d8NvweZ5I-fi-8447_179415

Closes WOOPLUG-4692

Screenshots or screen recordings:

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4
Screenshot 2025-07-25 at 17 22 41 Screenshot 2025-07-25 at 17 22 51 Screenshot 2025-07-25 at 17 23 13 Screenshot 2025-07-25 at 17 23 26

How to test the changes in this Pull Request:

Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:

  1. Create a new JN store with WooCommerce on this PR's branch (here is a direct create link).
  2. Go to the new store's dashboard, click on WooCommerce > Home to trigger the core profiler, skip it, and set your store's location to Austria.
  3. Navigate to WooCommerce > Home and click on the Launch Your Store task.
  4. Open your browser’s Developer Tools and enable the Device Toolbar to simulate mobile view.
  5. Confirm that the Launch Your Store interface displays correctly on both mobile and tablet resolutions.
  6. Click “Set up payments”, install WooPayments, and proceed through the onboarding process.
  7. Ensure the UI renders properly and aligns with the Figma designs throughout the flow.

Testing that has already taken place:

Check above.

Changelog entry

  • Automatically create a changelog entry from the details below.
  • This Pull Request does not require a changelog entry. (Comment required below)
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Message

Changelog Entry Comment

Comment

Copy link
Contributor

coderabbitai bot commented Jun 19, 2025

📝 Walkthrough

Walkthrough

These changes implement comprehensive mobile support for the "Launch Your Store" hub in the WooCommerce admin client. Enhancements include explicit mobile sidebar state management, new mobile header and toggle components, prop and type extensions for sidebar components, integration of mobile headers into the sidebar state machine, and extensive responsive CSS adjustments. A new hook is added to extract mobile header components from XState services.

Changes

Files / Areas Change Summary
Hub main controller
plugins/woocommerce/client/admin/client/launch-your-store/hub/index.tsx
Added mobile sidebar state, toggle handlers, effect to close sidebar on state change, and mobile header rendering.
Sidebar state machine and types
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx
Integrated new mobile header components into sidebar machine states; extended SidebarComponentProps with mobile props.
Mobile header components
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx, plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx
Added new exported React components for mobile headers in hub and payments sidebars.
Mobile toggle component and styles
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/index.tsx, plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/styles.scss
Introduced new mobile sidebar toggle button component and associated SCSS styles.
Sidebar container and forwarding props
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/launch-store-hub.tsx, plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx
Updated to forward onMobileClose prop to sidebar container components.
Sidebar container enhancements
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/sidebar-container.tsx
Added optional onMobileClose prop and conditional close button in sidebar container.
Responsive styling updates
plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/launch-store-success/style.scss, plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/payments-content.scss, plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/site-preview.scss, plugins/woocommerce/client/admin/client/launch-your-store/hub/styles.scss
Enhanced responsive styling for mobile layouts, overflow, sidebar visibility, and layout adjustments.
Utility hook for mobile header extraction
plugins/woocommerce/client/admin/client/utils/xstate/useMobileHeaderFromService.tsx
Added hook to extract mobile header component from XState service metadata.
Changelog
plugins/woocommerce/changelog/add-mobile-screens-lys
Added changelog entry for mobile and tablet responsive improvements in "Launch Your Store" flow.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant MobileHeader
    participant SidebarToggle
    participant LaunchStoreController
    participant SidebarStateMachine
    participant SidebarContainer

    User->>MobileHeader: Clicks sidebar toggle
    MobileHeader->>LaunchStoreController: onToggle()
    LaunchStoreController->>SidebarStateMachine: Update sidebar state
    SidebarStateMachine-->>LaunchStoreController: State changed
    LaunchStoreController->>SidebarContainer: Pass isMobileSidebarOpen, onMobileClose
    SidebarContainer->>User: Renders sidebar (open/closed)
    User->>SidebarContainer: Clicks close button
    SidebarContainer->>LaunchStoreController: onMobileClose()
    LaunchStoreController->>SidebarStateMachine: Update sidebar state
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5ddb869 and 5af6f49.

📒 Files selected for processing (1)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Metrics - @woocommerce/plugin-woocommerce [performance]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Lint - @woocommerce/admin-library
  • GitHub Check: Check Asset Sizes
  • GitHub Check: build
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch add/mobile-screens-lys

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Jun 19, 2025
@mordeth mordeth marked this pull request as ready for review July 25, 2025 14:31
@mordeth mordeth self-assigned this Jul 25, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🧹 Nitpick comments (2)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/styles.scss (1)

1-13: Add visible focus styles for keyboard users

.mobile-sidebar-toggle only changes display properties; it lacks any :focus-visible outline/box-shadow. Without it, keyboard navigation on mobile/desktop won’t show where focus sits.

Consider:

.mobile-sidebar-toggle:focus-visible {
	outline: 2px solid $blue-50; // or token in design system
	outline-offset: 2px;
}
plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/payments-content.scss (1)

18-18: Consider overscroll-behavior: contain to prevent scroll chaining

If the inner canvas scrolls, momentum scrolling can bubble to the page causing jank. Adding:

overflow-y: auto;
overscroll-behavior: contain;

to &__canvas isolates the scroll context.

📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9700d44 and 5222c04.

📒 Files selected for processing (14)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/index.tsx (5 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/launch-store-success/style.scss (4 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/payments-content.scss (2 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/site-preview.scss (3 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/launch-store-hub.tsx (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/index.tsx (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/styles.scss (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx (1 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/sidebar-container.tsx (3 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (8 hunks)
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/styles.scss (7 hunks)
  • plugins/woocommerce/client/admin/client/utils/xstate/useMobileHeaderFromService.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.{php,js,jsx,ts,tsx}

📄 CodeRabbit Inference Engine (.cursor/rules/code-quality.mdc)

**/*.{php,js,jsx,ts,tsx}: Guard against unexpected inputs
Sanitize and validate any potentially dangerous inputs
Ensure code is backwards compatible
Write code that is readable and intuitive
Ensure code has unit or E2E tests where applicable

Files:

  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/launch-store-hub.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/sidebar-container.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/index.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/index.tsx
  • plugins/woocommerce/client/admin/client/utils/xstate/useMobileHeaderFromService.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx
**/*.{php,js,ts,jsx,tsx}

⚙️ CodeRabbit Configuration File

**/*.{php,js,ts,jsx,tsx}: Don't trust that extension developers will follow the best practices, make sure the code:

  • Guards against unexpected inputs.
  • Sanitizes and validates any potentially dangerous inputs.
  • Is backwards compatible.
  • Is readable and intuitive.
  • Has unit or E2E tests where applicable.

Files:

  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/launch-store-hub.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/sidebar-container.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-toggle/index.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/index.tsx
  • plugins/woocommerce/client/admin/client/utils/xstate/useMobileHeaderFromService.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx
  • plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx
🧬 Code Graph Analysis (4)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx (1)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (1)
  • SidebarContainer (746-760)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx (4)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (1)
  • SidebarComponentProps (67-72)
plugins/woocommerce/client/admin/client/settings-payments/onboarding/providers/woopayments/data/onboarding-context.tsx (1)
  • useOnboardingContext (98-98)
plugins/woocommerce/client/admin/client/settings-payments/utils.ts (1)
  • recordPaymentsOnboardingEvent (424-450)
plugins/woocommerce/client/admin/client/settings-payments/constants.ts (1)
  • wooPaymentsOnboardingSessionEntryLYS (8-8)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx (1)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (1)
  • SidebarComponentProps (67-72)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (2)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/mobile-header.tsx (1)
  • LaunchStoreHubMobileHeader (14-36)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx (1)
  • PaymentsMobileHeader (17-65)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: build
🔇 Additional comments (13)
plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/launch-store-hub.tsx (1)

107-110: Verify SidebarContainer interface now includes onMobileClose

This file forwards a new onMobileClose prop. Double-check that SidebarContainer’s prop types and implementation were updated; otherwise TypeScript will flag an error and the callback will be silently dropped.

plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-sidebar.tsx (1)

149-152: Ensure consistency of the new mobile close prop

Same concern as above: confirm SidebarContainer handles onMobileClose and that callbacks passed from higher layers are correctly wired through here.

plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/payments-content.scss (1)

7-9: Watch for double-scrollbars on small screens

Hiding horizontal overflow while leaving vertical scroll on the parent and inside &__canvas (overflow-y: auto at L18) can result in nested scroll areas, a common UX pain point on mobile. Verify on actual devices that only one vertical scrollbar is active.

plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/site-preview.scss (3)

74-77: Looks good – responsive radius tweak only.


91-94: LGTM – aligns loading overlay radius with iframe.


107-111: Padding/offset fix is sensible for ≤ 782 px.

plugins/woocommerce/client/admin/client/launch-your-store/hub/main-content/pages/launch-store-success/style.scss (4)

15-18: Viewport-width override is fine.


28-34: Good call preventing horizontal scroll on mobile.


75-83: Padding adjustment keeps header aligned – looks good.


92-95: Reduced inner padding for small screens – OK.

plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/xstate.tsx (1)

69-72: Make onToggle optional or provide a default

onToggle switched from absent to mandatory. Unless every existing component already passes it, this is a breaking type/API change. Either:

  1. keep it optional and fall back to a no-op, or
  2. provide a default implementation when creating the props object.

Failing to do so will cause TS errors or runtime undefined checks everywhere.

plugins/woocommerce/client/admin/client/launch-your-store/hub/sidebar/components/payments-mobile-header.tsx (1)

55-61: Update template variables after index fix

After correcting currentStepIndex, sprintf will now receive the proper human-friendly value. No other changes needed here.

plugins/woocommerce/client/admin/client/launch-your-store/hub/styles.scss (1)

412-451: Mobile header styles look solid

New rules provide sensible typography, spacing, and flex layout. No issues spotted.

Copy link
Contributor

github-actions bot commented Jul 25, 2025

Size Change: -5.74 kB (-0.1%)

Total Size: 5.92 MB

Filename Size Change
./packages/js/email-editor/build/blocks/core/button.js 0 B -371 B (removed) 🏆
./packages/js/email-editor/build/blocks/core/column.js 0 B -357 B (removed) 🏆
./packages/js/email-editor/build/blocks/core/general-block-support.js 948 B +558 B (+143.08%) 🆘
./plugins/woocommerce/client/admin/build/chunks/3678.style.css 5.16 kB +567 B (+12.36%) ⚠️
./plugins/woocommerce/client/admin/build/chunks/7331.js 0 B -2.59 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/launch-store.js 15 kB +472 B (+3.25%)
./plugins/woocommerce/client/admin/build/email-editor/index.js 27.3 kB +125 B (+0.46%)
./plugins/woocommerce/client/admin/build/wp-admin-scripts/email-editor-integration.js 31 kB +118 B (+0.38%)
./plugins/woocommerce/client/blocks/build/@woocommerce/stores/woocommerce/cart.js 2.14 kB +120 B (+5.93%) 🔍
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-accepted-payment-methods-frontend.js 0 B -263 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-accepted-payment-methods-style.js 0 B -165 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-cross-sells-frontend.js 0 B -282 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-cross-sells-products-frontend.js 0 B -4.45 kB (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-cross-sells-products-style.js 0 B -164 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-cross-sells-style.js 0 B -276 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-express-payment-frontend.js 0 B -419 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-express-payment-style.js 0 B -316 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-items-frontend.js 0 B -251 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-items-style.js 0 B -246 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-line-items-frontend.js 0 B -256 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-line-items-style.js 0 B -163 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-order-summary-frontend.js 0 B -444 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-order-summary-style.js 0 B -370 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-totals-frontend.js 0 B -269 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/cart-totals-style.js 0 B -258 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/empty-cart-frontend.js 0 B -395 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/empty-cart-style.js 0 B -392 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/filled-cart-frontend.js 0 B -344 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/filled-cart-style.js 0 B -338 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-coupon-form-frontend.js 0 B -353 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-coupon-form-style.js 0 B -163 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-discount-frontend.js 0 B -510 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-discount-style.js 0 B -163 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-fee-frontend.js 0 B -324 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-fee-style.js 0 B -165 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-heading-frontend.js 0 B -355 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-heading-style.js 0 B -352 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-shipping-frontend.js 0 B -400 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-shipping-style.js 0 B -164 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-subtotal-frontend.js 0 B -389 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-subtotal-style.js 0 B -164 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-taxes-frontend.js 0 B -503 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-taxes-style.js 0 B -212 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-totals-frontend.js 0 B -218 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/order-summary-totals-style.js 0 B -212 B (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/proceed-to-checkout-frontend.js 0 B -1 kB (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-blocks/proceed-to-checkout-style.js 0 B -1.17 kB (removed) 🏆
./plugins/woocommerce/client/blocks/build/cart-frontend.js 9.94 kB +4.24 kB (+74.48%) 🆘
./plugins/woocommerce/client/blocks/build/cart.js 39.7 kB +302 B (+0.77%)
./plugins/woocommerce/client/blocks/build/checkout-rtl.css 15.2 kB +133 B (+0.88%)
./plugins/woocommerce/client/blocks/build/checkout.css 15.2 kB +135 B (+0.9%)
./plugins/woocommerce/client/blocks/build/mini-cart-contents-rtl.css 4.54 kB +1.37 kB (+43.38%) 🚨
./plugins/woocommerce/client/blocks/build/mini-cart-contents.css 4.54 kB +1.38 kB (+43.52%) 🚨
./plugins/woocommerce/client/blocks/build/mini-cart-contents.js 17.5 kB +290 B (+1.68%)
./plugins/woocommerce/client/blocks/build/wc-blocks-editor-style-rtl.css 7.45 kB +116 B (+1.58%)
./plugins/woocommerce/client/blocks/build/wc-blocks-editor-style.css 7.44 kB +113 B (+1.54%)
./plugins/woocommerce/client/blocks/build/wc-cart-checkout-base-frontend.js 58.3 kB +322 B (+0.56%)
./plugins/woocommerce/client/blocks/build/woocommerce/add-to-cart-with-options.js 1.95 kB +314 B (+19.23%) ⚠️
./plugins/woocommerce/client/blocks/build/woocommerce/product-collection.js 1.1 kB +138 B (+14.32%) ⚠️
./plugins/woocommerce/client/blocks/build/woocommerce/product-gallery-style-rtl.css 1.42 kB -3.74 kB (-72.49%) 🏆
./plugins/woocommerce/client/blocks/build/woocommerce/product-gallery-style.css 1.42 kB -3.75 kB (-72.48%) 🏆
./packages/js/email-editor/build/blocks/core/site-logo.js 442 B +442 B (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/4713.js 2.63 kB +2.63 kB (new file) 🆕

compressed-size-action

Copy link
Contributor

github-actions bot commented Jul 25, 2025

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Test this pull request with WordPress Playground.

Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a new commit.

@mordeth mordeth requested review from a team and orcungogus July 25, 2025 16:55
Copy link
Contributor

Testing Guidelines

Hi @orcungogus @woocommerce/moltres,

Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed.

Reminder: PR reviewers are required to document testing performed. This includes:

  • 🖼️ Screenshots or screen recordings.
  • 📝 List of functionality tested / steps followed.
  • 🌐 Site details (environment attributes such as hosting type, plugins, theme, store size, store age, and relevant settings).
  • 🔍 Any analysis performed, such as assessing potential impacts on environment attributes and other plugins, conducting performance profiling, or using LLM/AI-based analysis.

⚠️ Within the testing details you provide, please ensure that no sensitive information (such as API keys, passwords, user data, etc.) is included in this public issue.

Copy link
Contributor

@vladolaru vladolaru left a comment

Choose a reason for hiding this comment

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

All good, @mordeth! But for an instance where sentence-case should be used, the code changes look good and the responsive behavior is according to the designs.

@mordeth mordeth merged commit 00bf6cd into trunk Jul 29, 2025
22 checks passed
@mordeth mordeth deleted the add/mobile-screens-lys branch July 29, 2025 09:52
@github-actions github-actions bot added this to the 10.2.0 milestone Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: woocommerce Issues related to the WooCommerce Core plugin.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants