-
Notifications
You must be signed in to change notification settings - Fork 136
POS Product Migration Step 5 #14588
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
POS Product Migration Step 5 #14588
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
…omob-1280-woo-poslocal-catalog-use-new-pos-specific-product-model # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/common/data/searchbyidentifier/WooPosSearchByIdentifier.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/common/data/searchbyidentifier/WooPosSearchByIdentifierResult.kt
| @@ -0,0 +1,31 @@ | |||
| package com.woocommerce.android.ui.woopos.util | |||
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.
Should we name the file with “test” in it to avoid cluttering the main namespace when searching for products-related files in the production code? WooPosProductTestUtil maybe
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.
Good idea, I've done this in the last PR in the chain - 44471ed.
kidinov
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.
LGTM! A lot of nice ideas with this model 👏
I left one np - feel free to merge!
f4b5bc3
into
feature-branch-for-pos-product-migration
Failing CI is expected here since this is a partial migration.
Description
This is part of the migration to POS specific Product Model. There will be many changes and I want to avoid huge PRs. Therefore I created a feature branch - I'll create a PR for each set of changes. The CI won't be able to build this PR, but I personally wouldn't worry about it -> we can ensure everything is green and working as expected when we are merging the feature branch back to trunk.
The
Version2in the name WooPosProductModelVersion2 will eventually be removed.This PR migrates WooPosProductsViewModel and a couple search related classes.
Images/gif
N/A
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.