-
Notifications
You must be signed in to change notification settings - Fork 136
[WOOMOB-1854] WooPos Card Reader Connection UI #15063
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
base: hackweek-margins-adaptation
Are you sure you want to change the base?
[WOOMOB-1854] WooPos Card Reader Connection UI #15063
Conversation
Introduces the core business logic for WooPos card reader connection: - WooPosCardReaderConnectionState sealed interface with all connection states - WooPosCardReaderConnectionController handling discovery and connection flow - WooPosCardReaderConnectionControllerFactory for dependency injection
Introduces the UI layer for WooPos card reader connection: - WooPosCardReaderConnectionViewModel for state management - WooPosCardReaderConnectionDialog Compose UI with all connection states - Updated WooPosUpdateProgressIndicator to match iOS design (solid fill) - String resources for connection UI
Replaces Activity-based card reader connection with Compose dialog: - Remove WooPosCardReaderActivity and its layout - Update WooPosCardReaderFacade to use ChildToParentEvent - Add ShowCardReaderConnectionDialog event to home and settings - Update ViewModels to trigger connection dialog - Update tests for new flow
Cleans up WooPos references from the payments cardreader module: - Remove CardReaderFlowParam.WooPosConnection - Remove ReturnToWooPos event - Remove pointOfSalePaymentsFlowTracker injection - Simplify CardReaderConnectViewModel and related classes
Generated by 🚫 Danger |
Project manifest changes for WooCommerceThe following changes in the --- ./build/reports/diff_manifest/WooCommerce/vanillaRelease/base_manifest.txt 2025-12-05 09:26:16.502516639 +0000
+++ ./build/reports/diff_manifest/WooCommerce/vanillaRelease/head_manifest.txt 2025-12-05 09:26:19.692501375 +0000
@@ -218,10 +218,6 @@
android:theme="@style/Theme.WooPos"
android:windowSoftInputMode="adjustResize" />
<activity
- android:name="com.woocommerce.android.ui.woopos.cardreader.WooPosCardReaderActivity"
- android:theme="@style/Theme.WooPos.Transparent"
- android:windowSoftInputMode="adjustResize" />
- <activity
android:name="com.woocommerce.android.ui.woopos.home.items.coupons.creation.WooPosCouponCreationActivity"
android:theme="@style/Theme.WooPos.DayNight.Transparent"
android:windowSoftInputMode="adjustResize" /> <!-- Stats today app widget -->Go to https://buildkite.com/automattic/woocommerce-android/builds/34247/canvas?sid=019aedd1-5801-4ab8-b7a2-52363a043b4f, click on the |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
🤖 Test Failure AnalysisYour tests failed. Claude has analyzed the failures - check the annotation for details. |
No description provided.