Skip to content

Conversation

LauraBeatris
Copy link
Member

@LauraBeatris LauraBeatris commented Oct 3, 2025

🔎 Previews:

What does this solve?

We've introduced a new setting for enabling the organization slug. This PR introduces a section on organizations overview, clarifying about this setting and the behavior on AIOs.

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

Copy link

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
clerk-docs Ready Ready Preview Oct 8, 2025 6:08pm

@LauraBeatris
Copy link
Member Author

Note for reviewer: We still need to enable this feature on staging, which will be done on Monday, but I've opened for a first review on the copy itself.

@LauraBeatris LauraBeatris marked this pull request as ready for review October 3, 2025 21:12
@LauraBeatris LauraBeatris requested a review from a team as a code owner October 3, 2025 21:12
@LauraBeatris LauraBeatris force-pushed the laura/orgs-931-update-documentation-guide-for-use-organization-slugs-in branch from 96b27b0 to bc32380 Compare October 3, 2025 21:27
If disabled, organization slugs won't be displayed in the [`<CreateOrganization />`](/docs/reference/components/organization/create-organization), [`<OrganizationList />`](/docs/reference/components/organization/organization-list), and [`<OrganizationSwitcher />`](/docs/reference/components/organization/organization-switcher) components.

> [!IMPORTANT]
> Organization slugs are disabled by default for applications created after 10-06-2025. For applications created before this date, you can opt to disable it.
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the rules with date formats? I can see some places in the docs where the numeric format is used and others where the written format ("October 6, 2025") is used. Personally, I prefer the written format as diff countries have diff numeric formats for dates. But yeah curious on this one @alexisintech ?

Copy link
Member

Choose a reason for hiding this comment

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

I agree with written format!

Copy link
Contributor

Choose a reason for hiding this comment

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

Speaking from my past role, I'd +1 the written out format too. It's the safest default.

If we change this one to October 6, 2025, can we update the 08-22-2025 right above this too on line 68 for consistency?

Note

If we wanted to get crazy fancy, we could create a <Date> component that uses Date.prototype.toLocaleDateString() to format the date in the reader's preference.

Copy link
Contributor

@SarahSoutoul SarahSoutoul Oct 8, 2025

Choose a reason for hiding this comment

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

Done: Change date to written format.

I like the idea of the <Date> component in the long run @manovotny!

Copy link
Contributor

@manovotny manovotny Oct 8, 2025

Choose a reason for hiding this comment

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

LOL! You did something different than what you suggested. October 6, 2025October 6th, 2025.

It's @alexisintech's call, but IMO, I wouldn't use nd, th, etc in the dates.

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the nd and th. @alexisintech let me know what you think!

Copy link
Member

Choose a reason for hiding this comment

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

agree, just use numbers.

the date component could be cool - wanna create a ticket @manovotny

Copy link
Contributor

Choose a reason for hiding this comment

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

@SarahSoutoul
Copy link
Contributor

LGTM @LauraBeatris - I have submitted a docs review that does the following:

  • Fixed the path in the <TutorialHero/> to lead to the correct section
  • Put the IMPORTANT callout last to be consistent with the Allow personal accounts section

Left a comment for the date format as I'm not sure what the rules are. Keen for @alexisintech to have a look at this one too!

@LauraBeatris
Copy link
Member Author

@SarahSoutoul @alexisintech I've followed the date patterns from existing callouts that use that "created after" terms, but let me know if there's a different/better way to include it.


To enable it, navigate to the [**Organizations Settings**](https://dashboard.clerk.com/last-active?path=organizations-settings) page in the Clerk Dashboard.

If disabled, organization slugs won't be displayed in the [`<CreateOrganization />`](/docs/reference/components/organization/create-organization), [`<OrganizationList />`](/docs/reference/components/organization/organization-list), and [`<OrganizationSwitcher />`](/docs/reference/components/organization/organization-switcher) components.
Copy link
Member

@alexisintech alexisintech Oct 8, 2025

Choose a reason for hiding this comment

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

I think it's a given that if org slugs are disabled, they won't appear for an application. because they are disabled.
It'd make more sense to tell users what the behavior will be if they enable the feature.

Suggested change
If disabled, organization slugs won't be displayed in the [`<CreateOrganization />`](/docs/reference/components/organization/create-organization), [`<OrganizationList />`](/docs/reference/components/organization/organization-list), and [`<OrganizationSwitcher />`](/docs/reference/components/organization/organization-switcher) components.
When enabled, organization slugs will be displayed in the [`<CreateOrganization />`](/docs/reference/components/organization/create-organization), [`<OrganizationList />`](/docs/reference/components/organization/organization-list), and [`<OrganizationSwitcher />`](/docs/reference/components/organization/organization-switcher) components.

Copy link
Contributor

Choose a reason for hiding this comment

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

Love the change in phrasing from negative to positive.

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.

4 participants