woocommerce-ios icon indicating copy to clipboard operation
woocommerce-ios copied to clipboard

[Tablet Orders] Add barcode scanner logic to product selector

Open iamgabrielma opened this issue 1 year ago • 1 comments

Discussion on p1707991413734569/1707986326.142279-slack-C025A8VV728

Opening this issue separately as https://github.com/woocommerce/woocommerce-ios/issues/11747 involves more than UI updates.

On https://github.com/woocommerce/woocommerce-ios/issues/11747 we intend to move the scanning button to the ProductSelectorView when the screen is presented side by side. This UI change also implies that tapping the button needs to trigger the barcode scanning flow.

At the moment such view does not have knowledge of the product scanning logic, neither holds any reference to the EditableOrderViewModel, which is the root for determining things as scanning permissions, track scanning events, etc, ...

An alternative for the time being, could be to just change the current button with a [ICON] Scan products button

iamgabrielma avatar Feb 15 '24 05:02 iamgabrielma

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

dangermattic avatar Feb 15 '24 05:02 dangermattic