-
Notifications
You must be signed in to change notification settings - Fork 288
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
demo-store customer account api update #1647
demo-store customer account api update #1647
Conversation
We detected some changes in |
8fe2e21
to
19c50c7
Compare
.eslintrc.js
Outdated
@@ -10,38 +10,4 @@ module.exports = { | |||
'no-useless-escape': 'off', | |||
'no-case-declarations': 'off', | |||
}, | |||
overrides: [ |
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 override and templates/demo-store/.eslintrc.js
are causing some issue where the VS Code eslint suggestion and the one in CI are giving different suggestions.
There is probably something to fix, but do we really need this override?
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.
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.
Co-authored-by: Bret Little <[email protected]>
Co-authored-by: Bret Little <[email protected]>
de2c52c
to
5cba418
Compare
51adf14
into
mc-customer-account-templates-update
…re` (#1576) * ✨ add type generation for customer account api in app/graphql/customer folder * ✨ add customer client creation into remix server context * 🔥 remove account activate, recover, register and reset. Since these are not supported in the new CA API with new customer flow. * 💥 get customer login flow and account/orders landing page working 💥 get login check working in header/layout 💥 edit account profile to use new api 💥 edit account address to customer account api 💥 edit order details page to use customer account api 💥 get customer login flow and account/orders landing page working 💥 get login check working in header/layout 💥 edit account profile to use new api 💥 edit account address to customer account api 💥 edit order details page to use customer account api * 🗒️ Doc Changes: - add note about /account not working with mock.shop - add warming for using createCustomerClient without proper credential - add changlog * ✅ Test update - update test snapshot - Show error in tests - Fix create and build test error - Fix generating auth routes - Fix standard routes with auth - Fix setup i18n test * Update templates/skeleton/app/routes/account.$.tsx Co-authored-by: Bret Little <[email protected]> * ✨ add an option to change auth url from the default /authorize * ✨ add defer loading for login check in root (#1636) * cart edit * 🔥 remove customer-api example * Update .changeset/tasty-plums-pump.md Co-authored-by: Bret Little <[email protected]> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <[email protected]> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <[email protected]> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <[email protected]> * demo-store customer account api update (#1647) * ✨ move demo-store to caapi * update login button * login flow + account page * customer profile edit * address edit * cart edit * order id page * fix eslint error, strange my VS code is giving different suggestions * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <[email protected]> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <[email protected]> * remove redirectPath from authorize --------- Co-authored-by: Bret Little <[email protected]> * implement redirectPath for skeleton template * use /account/authorize as the default authUrl --------- Co-authored-by: Bret Little <[email protected]>
WHY are these changes introduced?
The Customer Account API will be officially release in Jan of 2024. This PR aim to replaced all current storefront API customer usage with the new API in demo-store.
WHAT is this pull request doing?
HOW to test your changes?
Post-merge steps
Checklist