-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Fix save settings error within Analytics #38542
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
Conversation
|
Hi @nathanss, @woocommerce/mothra 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: |
Test Results SummaryCommit SHA: 093192e
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. |
nathanss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and tests good!
* Filter out undefined query params * Add changelog
* Fix save settings error within Analytics (#38542) * Filter out undefined query params * Add changelog * Prep for cherry pick 38542 --------- Co-authored-by: louwie17 <[email protected]> Co-authored-by: WooCommerce Bot <[email protected]>
…38593) * Revert part of "Remove `qs` dependency from `woocommerce-admin` (#35128)" This reverts Layout- and Filter-related changes from commit 00c151f, reversing changes made to eef417f. Removes the fix (keeping the test) from #38542 as it's not needed for `qs` Fixes #38582. * Simplify the use of query params in `ProductTour` * Add changelog entry
…38593) * Revert part of "Remove `qs` dependency from `woocommerce-admin` (#35128)" This reverts Layout- and Filter-related changes from commit 00c151f, reversing changes made to eef417f. Removes the fix (keeping the test) from #38542 as it's not needed for `qs` Fixes #38582. * Simplify the use of query params in `ProductTour` * Add changelog entry
* Revert part of "Remove `qs` dependency from `woocommerce-admin` (#35128)" This reverts Layout- and Filter-related changes from commit 00c151f, reversing changes made to eef417f. Removes the fix (keeping the test) from #38542 as it's not needed for `qs` Fixes #38582. * Simplify the use of query params in `ProductTour` * Update changelog entry in readme for 38593 --------- Co-authored-by: Tomek Wytrębowicz <[email protected]>
Changes proposed in this Pull Request:
This updates the
updateLinkHreffunction to make sureundefinedquery params are removed from the URL, this is something that theparsefunction fromqswas doing previously ( https://github.com/woocommerce/woocommerce/pull/35128/files#diff-e8cae4b4e030d5120191e67ffdbb1e3843ff79d92a445c8bcb0e4778cde4133e ), but this was removed to make use ofURLSearchParamsinstead.Closes #38538 .
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
undefinedparams within its query params.