-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: add read-only version of orders 2.0 to break up PR's #5202
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
Conversation
Signed-off-by: Erik Kieckhafer <[email protected]> (cherry picked from commit f6f2f36)
|
@mikemurray and I were discussing that instead of just expanding this PR to add order update functionality, it might actually be a good idea to keep these If we decided to do that, would we want to keep these as separate components completely, and render a fully functional vs. |
Signed-off-by: Erik Kieckhafer <[email protected]>
Signed-off-by: Erik Kieckhafer <[email protected]>
Signed-off-by: Eric Dobbertin <[email protected]>
Signed-off-by: Eric Dobbertin <[email protected]>
Signed-off-by: Eric Dobbertin <[email protected]>
Signed-off-by: Eric Dobbertin <[email protected]>
|
I reviewed and fixed a few things to finish this up for @kieckhafer while he's out. @kieckhafer You may want to look at my commits and make sure those changes are in your subsequent PR for this. |
|
Regarding the question of how best to do read only, I think whatever makes the most sense when doing it would be fine. I would probably default to trying to do checks granularly but if it gets too complicated or messy, fall back to a higher-level entire view only page. Either way the main thing would be to share as much of the smaller specific card components as possible. |
Part of #5157
Impact: major
Type: feature
Issue
The PR #5157, which refactors the Catalyst Orders panel to use all GraphQL, as well as a new design, was getting very big. This PR breaks off a read-only version of the UI, which will help break the review into smaller pieces, as well as meet the need for a read-only version of this to be available for some end to end testing we are trying to do, without waiting on the full functionality, which isn't needed for this testing.
Breaking changes
None. The old Orders UI is still the primary UI, and you need a special URL to access the new Panel.
Testing
/orders/, to/orders-2.0/, to see the order in the new UI** please note translations for order statuses will not be added by default to a new shop. you can follow instructions here on how to add them, if you wish: #4981
