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

fix links referencing multi-session feature; update userbutton component reference #2010

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

alexisintech
Copy link
Member

@alexisintech alexisintech commented Feb 10, 2025

🔎 Previews:

What does this solve?

  • Links referencing our multi-session feature were leading users to the /custom-flow guide. Custom flows are advanced and not recommended as a first solution.

What changed?

  • Updates links to point to the dedicated section for our multi-session feature.
  • Adds copy (for supported SDKs) about recommending users to wrap their app with our <MultisessionAppSupport /> component
  • Adds copy (for supported SDKs) to bring awareness to the afterMultiSessionSingleSignOutUrl prop
  • Updates the <MultisessionAppSupport /> document to include Next.js App Router example, and updates the other examples to be consistent with their appropriate quickstarts
  • Updates the <UserButton /> component reference
    • Updates introductory paragraph that explains what the feature does to be more comprehensive
    • Updates the image as it had a typo, and also was clipped at the top.
    • Increases its rank so in search, it appears above the "Add custom items and links to the component" doc
    • Updates code examples to be consistent across frameworks
    • Adds the <If> component to wrap around the "Usage with JavaScript" section in order to hide it unless the active SDK is JavaScript

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • I have added the "deploy-preview" label and added the preview link(s) to this PR description
  • All existing checks pass

@alexisintech alexisintech changed the title fix links referencing multi-session feature fix links referencing multi-session feature; update userbutton component description Feb 11, 2025
Copy link

Hey, here’s your docs preview: https://clerk.com/docs/pr/2010

@alexisintech alexisintech changed the title fix links referencing multi-session feature; update userbutton component description fix links referencing multi-session feature; update userbutton component reference Feb 11, 2025
@alexisintech alexisintech marked this pull request as ready for review February 12, 2025 16:18
@alexisintech alexisintech requested a review from a team as a code owner February 12, 2025 16:18
@alexisintech alexisintech merged commit 8cc4aa7 into main Feb 12, 2025
6 checks passed
@alexisintech alexisintech deleted the aa/fix-multisession-links branch February 12, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant