woocommerce-ios
woocommerce-ios copied to clipboard
[Order creation/editing] Show Restore notice for deleting product row
trafficstars
🛑 Do not merge!
Description
This PR adds a notice with a Restore button after a merchant deletes a product row by tapping on the - button too many times. It's a PoC only, and it's a pretty janky experience.
There are some potential workarounds, but the most realistic one is just to prevent deleting the product using that button.
Testing instructions
Screenshots
https://github.com/woocommerce/woocommerce-ios/assets/2472348/0147deac-7fa5-4ab0-9e27-2666cfee98ac
- [ ] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txtif necessary.
| Fails | |
|---|---|
| :no_entry_sign: | This PR is tagged with 'status: do not merge' label. |
| Warnings | |
|---|---|
| :warning: | PR is not assigned to a milestone. |
Generated by :no_entry_sign: dangerJS
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
| App Name | ||
| Build Number | pr11377-cd1218b | |
| Version | 16.5 | |
| Bundle ID | com.automattic.alpha.woocommerce | |
| Commit | cd1218b9aefbfa2f8dfeb7eb56f1e39702835315 | |
| App Center Build | WooCommerce - Prototype Builds #7112 |