Skip to content

feat(organizations): add a first-class create-organization flow#23

Merged
coopbri merged 1 commit into
masterfrom
feat/org-create-flow
Jul 15, 2026
Merged

feat(organizations): add a first-class create-organization flow#23
coopbri merged 1 commit into
masterfrom
feat/org-create-flow

Conversation

@coopbri

@coopbri coopbri commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the shared create-organization flow (useCreateWorkspace from @omnidotdev/providers) to the template so every app scaffolded from it ships a clear create path:

  • Dependency-light, toast-free create modal with live handle availability and an Omni-account scope note
  • CreateOrganizationButton wired into the organizations list header and empty state
  • getOrganizationBySlug fallback in the $orgSlug layout so a freshly created org resolves before it lands in JWT claims
  • New public checkOrganizationHandleAvailability server fn

Bumps @omnidotdev/providers to 67cb527 (for useCreateWorkspace/checkNamespaceAvailability). That bump tightens the authz permission API (WardenResourceType/WardenRelation), so authorization.ts is migrated to the typed signature (validated as strings at runtime; typed to satisfy the API).

Test Steps

  • bun run build (green), bunx tsc --noEmit (clean), biome clean.

Note: authorization.ts overlaps the in-flight fix/signout-idtoken-guard branch; reconcile at merge.

Adds the shared create-organization flow (useCreateWorkspace from providers)
to the template so every app scaffolded from it ships a create path: a
dependency-light, toast-free modal with live handle availability, an
organizations-list header/empty-state button, and a getOrganizationBySlug
fallback so a new org resolves before it lands in JWT claims.

Bumps @omnidotdev/providers to 67cb527 for useCreateWorkspace/checkNamespaceAvailability.
That bump tightens the authz permission API (WardenResourceType/WardenRelation),
so authorization.ts is migrated to the typed signature.
@coopbri
coopbri merged commit 0639f90 into master Jul 15, 2026
1 of 2 checks passed
@coopbri
coopbri deleted the feat/org-create-flow branch July 15, 2026 02:06
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant