Skip to content
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

chore: Blog last used #2131

Merged
merged 6 commits into from
Sep 30, 2024
Merged

chore: Blog last used #2131

merged 6 commits into from
Sep 30, 2024

Conversation

perkinsjr
Copy link
Collaborator

@perkinsjr perkinsjr commented Sep 24, 2024

Adds a new blog post about improving ux of auth through last used.

Summary by CodeRabbit

  • New Features
    • Introduced a tutorial on enhancing the authentication user experience, focusing on account linking and sign-in flow improvements.
    • Proposed a "Last used" feature to remember users' last sign-in method, reducing frustration during the sign-in process.
    • Provided code snippets and examples for integrating these features into applications.

Copy link

changeset-bot bot commented Sep 24, 2024

⚠️ No Changeset found

Latest commit: 4013ac7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Sep 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 5:31pm
play ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 5:31pm
www ✅ Ready (Inspect) Visit Preview 13 resolved Sep 26, 2024 5:31pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
planetfall ⬜️ Ignored (Inspect) Visit Preview Sep 26, 2024 5:31pm
workflows ⬜️ Ignored (Inspect) Visit Preview Sep 26, 2024 5:31pm

Copy link
Contributor

coderabbitai bot commented Sep 24, 2024

📝 Walkthrough
📝 Walkthrough
📝 Walkthrough

Walkthrough

The changes introduce a tutorial focused on enhancing the authentication user experience (UX) for applications, particularly for returning users during the sign-in process. It covers account linking, allowing users to sign in with multiple providers while matching email addresses to existing accounts. A new "Last used" feature is proposed to remember the last sign-in method, along with code snippets for integrating this feature into the sign-in and sign-up flows.

Changes

File Path Change Summary
apps/www/content/blog/improve-auth-experience.mdx Added a tutorial on improving authentication UX, including account linking and a "Last used" feature. Introduced useLastUsed function and LastUsed component.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant App
    participant AuthProvider

    User->>App: Initiates sign-in
    App->>AuthProvider: Requests available sign-in methods
    AuthProvider-->>App: Returns methods (e.g., GitHub, Google)
    App->>User: Displays sign-in options
    User->>App: Selects a sign-in method
    App->>User: Remembers last used method
    App->>AuthProvider: Authenticates user
    AuthProvider-->>App: Returns authentication status
    App->>User: Displays success or error message
Loading

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

github-actions bot commented Sep 24, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@perkinsjr perkinsjr marked this pull request as draft September 24, 2024 14:39
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Outside diff range and nitpick comments (2)
apps/www/content/blog/improve-auth-experience.mdx (2)

56-56: Consider rephrasing for clarity.

The phrase "As you can see from the example code above" can be wordy.

Consider rephrasing to something more concise, such as:

-As you can see from the example code above, we know what provider the end user is attempting to sign in with, so now we can store this and provide a UI update.
+From this example code, we can determine the provider the user is attempting to sign in with, allowing us to store this information and update the UI accordingly.
Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


81-81: Consider using a more expressive alternative.

The phrase "To do this" could be more specific.

Consider rephrasing to provide more context:

-Now, we have all the elements to show our end users what sign-in method they used previously. To do this, we can update our sign-in code to include the hook similar to setState
+Now, we have all the elements to show our end users what sign-in method they used previously. To implement this feature, we can update our sign-in code to include the hook, similar to how we use setState
Tools
LanguageTool

[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 88bd752 and 22fc131.

Files ignored due to path filters (4)
  • apps/www/public/images/blog-images/auth-experience/discord.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/last-used.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/og-image.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/sign-in.png is excluded by !**/*.png
Files selected for processing (1)
  • apps/www/content/blog/improve-auth-experience.mdx (1 hunks)
Additional context used
LanguageTool
apps/www/content/blog/improve-auth-experience.mdx

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Additional comments not posted (1)
apps/www/content/blog/improve-auth-experience.mdx (1)

1-122: Great job on the blog post!

This blog post effectively explains the concept of improving authentication UX by implementing a "Last used" feature. The content is well-structured, and the code snippets clearly demonstrate the implementation. The explanations are clear and easy to follow, making it valuable for developers looking to enhance their authentication flow.

A few minor suggestions have been made to improve clarity and fix typos, but overall, this is an excellent addition to the blog.

Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

apps/www/content/blog/improve-auth-experience.mdx Outdated Show resolved Hide resolved
apps/www/content/blog/improve-auth-experience.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Outside diff range and nitpick comments (2)
apps/www/content/blog/improve-auth-experience.mdx (2)

56-60: Consider adding more details about usehook-ts.

While you mention using usehook-ts, it might be helpful to provide a brief explanation of why you chose this library over implementing custom hooks. This could give readers more context for their own decision-making.

Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


56-56: Consider rephrasing for clarity.

The phrase "As you can see from the example code above" can be wordy. Consider rephrasing for clarity and conciseness.

Suggestion:

- As you can see from the example code above, we know what provider the end user is attempting to sign in with, so now we can store this and provide a UI update.
+ From this example code, we can determine the provider the user is attempting to sign in with, allowing us to store this information and update the UI accordingly.
Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 22fc131 and 1e865a7.

Files ignored due to path filters (1)
  • apps/www/public/images/blog-images/auth-experience/discord.png is excluded by !**/*.png
Files selected for processing (1)
  • apps/www/content/blog/improve-auth-experience.mdx (1 hunks)
Additional context used
LanguageTool
apps/www/content/blog/improve-auth-experience.mdx

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Additional comments not posted (10)
apps/www/content/blog/improve-auth-experience.mdx (10)

10-15: LGTM: Clear introduction to the problem.

The introduction effectively sets the context for the authentication UX issue this blog post addresses. It clearly explains the problem returning users face when trying to remember which account they used to sign up.


16-25: LGTM: Clear explanation of account linking.

This section effectively explains the concept of account linking, its benefits, and its limitations. The example provided helps readers understand how it works in practice. The previously reported issue of a repeated paragraph has been resolved.


26-35: LGTM: Clear introduction to the "Last used" feature.

This section effectively introduces the concept of adding a "Last used" indicator to improve the user experience. The explanation is clear, and the image helps visualize the feature.


36-54: LGTM: Well-structured OAuth sign-in function.

The oauthSignIn function is well-structured and handles errors appropriately. It uses async/await for better readability and includes proper error logging and user feedback.


64-71: LGTM: Clear implementation of useLastUsed hook.

The useLastUsed hook is well-implemented using the useLocalStorage hook from usehook-ts. The type safety for the possible values is a good practice.


75-79: LGTM: Simple and clear LastUsed component.

The LastUsed component is straightforward and serves its purpose well. The use of a span with appropriate styling is a good choice for this use case.


83-105: LGTM: Updated oauthSignIn function with LastUsed feature.

The updated oauthSignIn function correctly implements the "Last used" feature by setting the last used provider in local storage. The error handling remains intact, which is good.


109-117: LGTM: Clear implementation of LastUsed in UI.

The code snippet effectively demonstrates how to incorporate the "Last used" indicator in the UI. The conditional rendering based on the lastUsed state is a good practice.


118-122: LGTM: Strong conclusion.

The conclusion effectively summarizes the key points of the blog post and reinforces the importance of improving authentication UX. It ties together the concepts of account linking and the "Last used" feature, emphasizing their benefits for both users and the application's success.


1-122: LGTM: Well-structured and informative blog post.

The overall structure and flow of the blog post are excellent. It follows a logical progression from introducing the problem to explaining solutions and their implementation. The balance between explanatory text, code snippets, and images is well-maintained, making it easy for readers to understand and follow the concepts presented.

Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range and nitpick comments (3)
apps/www/content/blog/improve-auth-experience.mdx (3)

24-29: Improve grammar and readability.

There are a few minor grammatical issues in this section that can be improved:

  1. Line 26: Consider adding a comma after "experience" in "To improve the experience further".
  2. Line 28: The word "futher" is misspelled. It should be "further".

Please apply the following corrections:

-To improve the experience futher we can add an indicator to the sign-in page to show the user the last method they used to access our application.
+To improve the experience further, we can add an indicator to the sign-in page to show the user the last method they used to access our application.
Tools
LanguageTool

[uncategorized] ~26-~26: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ch is frustrating as a user. ## Adding indicator to improve the User Experience To impr...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[uncategorized] ~28-~28: A comma might be missing here.
Context: ...ience To improve the experience futher we can add an indicator to the sign-in pag...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


56-56: Consider rephrasing for clarity.

The phrase "As you can see from the example code above" can be considered wordy. Consider rephrasing for better clarity and conciseness.

Suggestion:

-As you can see from the example code above, we know what provider the end user is attempting to sign in with, so now we can store this and provide a UI update.
+From the example code, we can determine the provider the end user is attempting to sign in with, allowing us to store this information and update the UI accordingly.
Tools
LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


81-81: Consider rephrasing for clarity.

The phrase "To do this" can be made more expressive. Consider rephrasing for better clarity.

Suggestion:

-Now, we have all the elements to show our end users what sign-in method they used previously. To do this, we can update our sign-in code to include the hook similar to setState
+Now, we have all the elements to show our end users what sign-in method they used previously. To implement this feature, we can update our sign-in code to include the hook similar to setState
Tools
LanguageTool

[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 1e865a7 and c7f90e9.

Files selected for processing (1)
  • apps/www/content/blog/improve-auth-experience.mdx (1 hunks)
Additional context used
LanguageTool
apps/www/content/blog/improve-auth-experience.mdx

[uncategorized] ~26-~26: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ch is frustrating as a user. ## Adding indicator to improve the User Experience To impr...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[uncategorized] ~28-~28: A comma might be missing here.
Context: ...ience To improve the experience futher we can add an indicator to the sign-in pag...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Additional comments not posted (2)
apps/www/content/blog/improve-auth-experience.mdx (2)

1-8: Fix typo in the blog post description.

The description still contains a typo that needs to be corrected.

Please apply the following correction:

-description: Improving your authentication UX can allow for a smoother and more satisfying experience for returning users
+description: Improving your authentication UX can allow for a smoother and more satisfying experience for returning users

1-122: LGTM! Approve with minor suggestions.

The blog post effectively explains the concept of improving authentication UX with clear explanations and relevant code examples. The content is informative and well-structured. I've suggested a few minor grammatical and stylistic improvements, but these don't significantly impact the overall quality of the post.

Great job on creating this informative tutorial on enhancing the authentication experience!

Tools
LanguageTool

[uncategorized] ~26-~26: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ch is frustrating as a user. ## Adding indicator to improve the User Experience To impr...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[uncategorized] ~28-~28: A comma might be missing here.
Context: ...ience To improve the experience futher we can add an indicator to the sign-in pag...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between c7f90e9 and dd26cf1.

📒 Files selected for processing (1)
  • apps/www/content/blog/improve-auth-experience.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
apps/www/content/blog/improve-auth-experience.mdx

[uncategorized] ~28-~28: Possible missing comma found.
Context: ...r Experience To improve the experience futher we can add an indicator to the sign-in ...

(AI_HYDRA_LEO_MISSING_COMMA)


[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

🔇 Additional comments (9)
apps/www/content/blog/improve-auth-experience.mdx (9)

1-8: LGTM! The metadata looks good.

The metadata for the blog post is well-structured and informative. The typo in the description that was mentioned in a past review comment has been fixed.


10-15: The introduction effectively sets the context.

The introduction clearly presents the problem of user confusion during the sign-in process and introduces the concept of account linking as a potential solution. It's concise and engaging.


26-35: The introduction to the "Last used" feature is clear and well-illustrated.

The explanation of the "Last used" feature and its benefits is concise and easy to understand. The image effectively illustrates the concept.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~28-~28: Possible missing comma found.
Context: ...r Experience To improve the experience futher we can add an indicator to the sign-in ...

(AI_HYDRA_LEO_MISSING_COMMA)


56-60: Good explanation of the hook implementation.

The explanation of using usehook-ts for local storage management is clear and concise. The npm installation command is helpful for readers who want to implement this feature.

🧰 Tools
🪛 LanguageTool

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


62-71: The useLastUsed hook implementation looks good.

The useLastUsed hook is well-implemented and typed correctly. It provides a clean interface for managing the last used sign-in method in local storage.


73-79: The LastUsed component is simple and effective.

The LastUsed component is a straightforward implementation of the "Last used" indicator. It's flexible enough to be easily customized if needed.


118-122: The conclusion effectively summarizes the key points.

The conclusion nicely wraps up the blog post by reiterating the importance of improving authentication UX. It effectively ties together the concepts of account linking and the "Last used" feature, emphasizing their benefits for both users and the application.


1-122: Overall, this is an excellent and informative blog post.

The blog post effectively addresses the important topic of improving authentication UX. It provides a clear explanation of the problem, introduces solutions like account linking and the "Last used" feature, and includes relevant code snippets to guide implementation.

The structure is logical, moving from problem statement to solution, and then to implementation details. The code snippets are well-explained and integrated into the narrative.

A few minor suggestions have been made in previous comments, but these are relatively small improvements to an already strong piece of content.

Great job on creating a valuable resource for developers looking to enhance their application's authentication experience!

🧰 Tools
🪛 LanguageTool

[uncategorized] ~28-~28: Possible missing comma found.
Context: ...r Experience To improve the experience futher we can add an indicator to the sign-in ...

(AI_HYDRA_LEO_MISSING_COMMA)


[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)


16-25: ⚠️ Potential issue

The account linking explanation is clear, but there's a minor issue.

The explanation of account linking is concise and easy to understand. However, there's a small typo in line 28.

Please apply the following correction:

-To improve the experience futher we can add an indicator to the sign-in page to show the user the last method they used to access our application.
+To improve the experience further, we can add an indicator to the sign-in page to show the user the last method they used to access our application.

Also, the repeated paragraph mentioned in a past review comment has been removed, addressing that issue.

Likely invalid or redundant comment.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between dd26cf1 and b944261.

⛔ Files ignored due to path filters (4)
  • apps/www/public/images/blog-images/auth-experience/discord.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/last-used.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/og-image.png is excluded by !**/*.png
  • apps/www/public/images/blog-images/auth-experience/sign-in.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • apps/www/content/blog/improve-auth-experience.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
apps/www/content/blog/improve-auth-experience.mdx

[style] ~56-~56: This phrasing can be wordy, so consider using a more descriptive and concise alternative.
Context: ... as Error).message); } }; ``` As you can see from the example code above, we know what pr...

(AS_YOU_CAN_SEE)


[style] ~81-~81: Consider a more expressive alternative.
Context: ...sign-in method they used previously. To do this, we can update our sign-in code to...

(DO_ACHIEVE)

🔇 Additional comments (3)
apps/www/content/blog/improve-auth-experience.mdx (3)

10-29: LGTM: Clear introduction and explanation of account linking.

The introduction effectively explains the problem of returning users not remembering their sign-in method, and the explanation of account linking is clear and concise. The previously reported issue of a repeated paragraph has been resolved.


118-122: LGTM: Effective conclusion summarizing the benefits.

The conclusion effectively summarizes the key points and benefits of improving authentication UX. It reinforces the importance of the proposed improvements for both end-users and the application's success.


5-5: ⚠️ Potential issue

Fix typo in the blog post description.

There's still a typo in the description that needs to be corrected.

Please apply the following correction:

-description: Improving your authentication UX can allow for a smoother and more satisfying for returning user
+description: Improving your authentication UX can allow for a smoother and more satisfying experience for returning users

Likely invalid or redundant comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant