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

[CYS on Core] Ensure the user is directed to the in app marketplace whenever clicking on 'Browse all themes' #45288

Conversation

nefeline
Copy link
Member

@nefeline nefeline commented Mar 4, 2024

Submission Review Guidelines:

Changes proposed in this Pull Request:

Whenever the store owner clicks on "Browse all themes", they should be directed to: /wp-admin/admin.php?page=wc-admin&tab=themes&path=%2Fextensions on core while at the same time keeping the functionality on WooExpress unchanged.

⚠️ While here we are still relying on the pre-existing isWooExpress() for this purpose, the plan is to switch this logic later on to an approach that is environment agnostic, relying on hooks instead for achieving all environment-specific changes.

Closes #45284

How to test the changes in this Pull Request:

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

Initial Setup

  1. Enable the WooCommerce Beta Tester plugin if you don't have it enabled yet
  2. On your Dashboard, head over to Tools > WCA Test Helper > Features and enable the customize-store

Test on Core

  1. Access your Dashboard and head over to WooCommerce > Home
  2. Click on the "Start customizing" or the "Customize Your Store" button
  3. Click on the "Browse all themes" button:
Screenshot 2024-03-04 at 15 54 48
  1. Make sure you are redirected to /wp-admin/admin.php?page=wc-admin&tab=themes&path=%2Fextensions as demonstrated in the video below:
Screen.Recording.2024-03-04.at.16.34.26.mov

Test on WooExpress

  1. If you don't have a WooExpress install yet, create one by following these steps: pdibGW-2pG-p2
  2. Access your Dashboard and head over to WooCommerce > Home
    3 Click on the "Start customizing" or the "Customize Your Store" button
  3. Click on the "Browse all themes" button:
Screenshot 2024-03-04 at 17 07 34
  1. Make sure you are redirected to https://wordpress.com/themes/{your_site_name} as demonstrated in the video below:
Screen.Recording.2024-03-04.at.16.55.02.mov

Changelog entry

  • Automatically create a changelog entry from the details below.

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

Ensure the user is directed to the in-app marketplace whenever clicking on 'Browse all themes' within the Customize Your Store flow.

Comment

@nefeline nefeline self-assigned this Mar 4, 2024
@nefeline nefeline added the focus: customize-your-store Issues related to the Customize Your Store onboarding flow. label Mar 4, 2024
@woocommercebot woocommercebot requested review from a team and albarin and removed request for a team March 4, 2024 16:14
@nefeline nefeline added type: enhancement The issue is a request for an enhancement. plugin: woocommerce Issues related to the WooCommerce Core plugin. labels Mar 4, 2024
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Hi @albarin, @gigitux,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@nefeline nefeline requested a review from gigitux March 4, 2024 16:15
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Test Results Summary

Commit SHA: b6df101

Test 🧪Passed ✅Failed 🚨Broken 🚧Skipped ⏭️Unknown ❔Total 📊Duration ⏱️
API Tests25900202610m 38s
E2E Tests34600503517m 30s

To view the full API test report, click here.
To view the full E2E test report, click here.
To view all test reports, visit the WooCommerce Test Reports Dashboard.

Copy link
Contributor

@gigitux gigitux left a comment

Choose a reason for hiding this comment

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

LGTM! 🚢

…ed-to-the-in-app-marketplace-whenever-clicking-on-browse-all-themes
@nefeline nefeline enabled auto-merge (squash) March 5, 2024 10:01
@nefeline nefeline merged commit ed62484 into trunk Mar 5, 2024
28 checks passed
@nefeline nefeline deleted the 45284-cys-on-core-ensure-the-user-is-directed-to-the-in-app-marketplace-whenever-clicking-on-browse-all-themes branch March 5, 2024 10:15
@github-actions github-actions bot added this to the 8.8.0 milestone Mar 5, 2024
@github-actions github-actions bot added the needs: analysis Indicates if the PR requires a PR testing scrub session. label Mar 5, 2024
@alvarothomas alvarothomas added needs: external testing Indicates if the PR requires further testing conducted by testers external to the development team. needs: internal testing Indicates if the PR requires further testing conducted by Solaris and removed needs: analysis Indicates if the PR requires a PR testing scrub session. labels Mar 5, 2024
@nigeljamesstevenson nigeljamesstevenson added the status: analysis complete Indicates if a PR has been analysed by Solaris label Mar 6, 2024
Konamiman pushed a commit that referenced this pull request Mar 13, 2024
…henever clicking on 'Browse all themes' (#45288)

* Ensure the user is directed to the in app marketplace whenever clicking on 'Browse all themes' on core.

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: customize-your-store Issues related to the Customize Your Store onboarding flow. needs: external testing Indicates if the PR requires further testing conducted by testers external to the development team. needs: internal testing Indicates if the PR requires further testing conducted by Solaris plugin: woocommerce Issues related to the WooCommerce Core plugin. status: analysis complete Indicates if a PR has been analysed by Solaris type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CYS on Core] Ensure the user is directed to the in app marketplace whenever clicking on "Browse all themes"
4 participants