-
Notifications
You must be signed in to change notification settings - Fork 296
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
✨ add defer loading for login check in root #1636
Merged
michenly
merged 1 commit into
mc-customer-account-templates-update
from
mc-add-deferred-login-loading
Jan 15, 2024
Merged
✨ add defer loading for login check in root #1636
michenly
merged 1 commit into
mc-customer-account-templates-update
from
mc-add-deferred-login-loading
Jan 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
418f9d9
to
c6687c4
Compare
59f2d25
to
0f6efab
Compare
0f6efab
to
befb5f8
Compare
befb5f8
to
40aa926
Compare
We detected some changes in |
michenly
added a commit
that referenced
this pull request
Jan 18, 2024
…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 <bret.little@shopify.com> * ✨ 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 <bret.little@shopify.com> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <bret.little@shopify.com> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <bret.little@shopify.com> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <bret.little@shopify.com> * 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 <bret.little@shopify.com> * Update packages/hydrogen/src/customer/customer.ts Co-authored-by: Bret Little <bret.little@shopify.com> * remove redirectPath from authorize --------- Co-authored-by: Bret Little <bret.little@shopify.com> * implement redirectPath for skeleton template * use /account/authorize as the default authUrl --------- Co-authored-by: Bret Little <bret.little@shopify.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHY are these changes introduced?
Add defer data loading using https://remix.run/docs/en/main/discussion/pending-ui#deferred-data-loading
for the login check
WHAT is this pull request doing?
HOW to test your changes?
Post-merge steps
Checklist