-
Notifications
You must be signed in to change notification settings - Fork 377
All changes to skeleton template and packages/* #3218
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: kd-2
Are you sure you want to change the base?
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
| const cartId = result?.cart?.id; | ||
| const headers = cartId ? cart.setCartId(result.cart.id) : new Headers(); | ||
| const {cart: cartResult, errors, warnings, userErrors} = result; | ||
| const {cart: cartResult, errors, warnings} = result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userErrors stuff got deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this was the one I discovered that prompted this whole thing!
| warnings={actionData?.warnings} | ||
| userErrors={actionData?.userErrors} | ||
| /> | ||
| <CartMain layout="page" cart={cart} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was definitely unintentional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, however these warnings and userErrors would only be rendered on the /cart route which is almost impossible to access as most cart is managed on the side cart (warnings and userErrors) would still not show in it.
| LENGTH: ['MM', 'CM', 'M', 'IN', 'FT', 'YD'], | ||
| AREA: ['M2', 'FT2'], | ||
| COUNT: ['ITEM'], | ||
| WEIGHT: ['MG', 'G', 'KG'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These modifications ended up on main. Ie: the new units we had added got deleted and are still deleted. We need to add them back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing with the tests too
| "@react-router/dev": "7.8.2", | ||
| "@react-router/fs-routes": "7.8.2", | ||
| "@shopify/cli": "~3.83.3", | ||
| "@shopify/cli": "~3.80.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! This one was later updated though so not an issue now

WHY are these changes introduced?
Fixes #0000
WHAT is this pull request doing?
HOW to test your changes?
Post-merge steps
Checklist