pwa-studio icon indicating copy to clipboard operation
pwa-studio copied to clipboard

PWA-3178::Order statuses are decoupled from the back-end

Open glo82145 opened this issue 1 year ago • 3 comments

Description

A refunded order will show a wrong status. Custom order statuses are not shown.

To reproduce

Steps to reproduce the behavior: Refund an order in the admin. Create a custom order status and assign it to an order.

navigate to /order-history notice PWA-Studio's own take on order statuses Expected behavior

The frontend should accurately show the status of the order.

Related Issue

Closes #PWA-3178

Acceptance

Verification Stakeholders

Specification

Verification Steps

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

glo82145 avatar Feb 02 '24 07:02 glo82145

Messages
:book:

Associated JIRA tickets: PWA-3178.

:book: DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
:book:

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by :no_entry_sign: dangerJS against ab4558b210e1c91b634c15b13efc1819e80b7856

pwa-studio-bot avatar Feb 02 '24 07:02 pwa-studio-bot

In my opinion the solution should use the order state https://github.com/magento/magento2-pwa/blob/main/SalesGraphQlAux/etc/schema.graphqls#L5 instead of doing any derived calculations.

Also note that "Delivered" will be inacurrate until such time that the delivery has arrived at the customer's address. The complete status will automatically get applied once all items in an order have been marked invoice and shipped. Delivered to most people would indicate they have the item in their physical posession.

fooman avatar Feb 13 '24 03:02 fooman

Just linking the original issue report here as well https://github.com/magento/pwa-studio/issues/3716

fooman avatar Feb 13 '24 03:02 fooman