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

[Woo POS] Ensure draft orders are removed from Order storage on leaving POS

Open joshheald opened this issue 1 year ago • 3 comments
trafficstars

Description

In POS, we show a message saying in-progress orders will be lost when exiting.

This should actually happen, however we do it using the auto-draft feature.

In some cases, draft orders remain in the local device storage after leaving POS, and aren't cleared from the Order List until we pull to refresh.

We could fix this by refreshing order storage on leaving POS, or by just deleting any draft orders from storage, or by ensuring they never get stored in the first place, if possible.

p91TBi-c11-p2#comment-13041

joshheald avatar Sep 06 '24 15:09 joshheald

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

dangermattic avatar Sep 06 '24 15:09 dangermattic

@joshheald Is this still valid? If it is and you believe it's worth spending time on, please assign a priority and move it to our backlog, thanks!

malinajirka avatar Jan 25 '25 17:01 malinajirka

Yes, it is still valid.

Let's do a timeboxed effort on whether we can just avoid adding the draft orders to storage. If it can be done within half a day, it'll be worthwhile.

joshheald avatar Jan 27 '25 12:01 joshheald