This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Move payment utils and delete orderPaymentMethods #7679
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rubikuserbot
requested review from
a team and
mikejolley
and removed request for
a team
November 14, 2022 16:16
alexflorisca
added
type: refactor
The issue/PR is related to refactoring.
skip-changelog
PRs that you don't want to appear in the changelog.
block: checkout
Issues related to the checkout block.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
labels
Nov 14, 2022
The release ZIP for this PR is accessible via:
|
TypeScript Errors ReportFiles with errors: 432
assets/js/data/payment/utils/check-payment-methods.ts
|
Size Change: -16 B (0%) Total Size: 991 kB
ℹ️ View Unchanged
|
mikejolley
approved these changes
Nov 15, 2022
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 good catch on the unused code. Do you think we need an index file that exports all utils for convenience?
Pre-approving. There are merge conflicts.
Thanks for the review.
I did think about this but decided against it as they're only used in a couple of places and it just feels a bit redundant. Fixed the merge conflicts |
…ocommerce-blocks into update/move-payment-utils
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
block: checkout
Issues related to the checkout block.
skip-changelog
PRs that you don't want to appear in the changelog.
type: refactor
The issue/PR is related to refactoring.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This tidies up the payment data store a bit by moving all util functions into a
/util
folder and removes an unusedorderPaymentMethods
function.Fixes #6654
User Facing Testing
WooCommerce Visibility