Skip to content

feat(ui): add OrganizationProfileProfileSection#9068

Open
alexcarpenter wants to merge 2 commits into
feat/mosaic-experimental-exportfrom
feat/mosaic-org-profile-profile-section
Open

feat(ui): add OrganizationProfileProfileSection#9068
alexcarpenter wants to merge 2 commits into
feat/mosaic-experimental-exportfrom
feat/mosaic-org-profile-profile-section

Conversation

@alexcarpenter

@alexcarpenter alexcarpenter commented Jul 1, 2026

Copy link
Copy Markdown
Member

Description

Mosaic OrganizationProfile: name/slug edit section (machine + controller + view + wrapper), wired into General Panel.

  • Two machines, one controller: details (name/slug, commits on submit) + logo (avatar, commits on file pick).
  • No useEffect sync. Committed-vs-draft: org values injected read-only each render (committed*); edits held machine-owned (draft*, null=untouched); effective = draft ?? committed. Seeds late-loading org + refreshes post-save, never clobbers typing.
  • Details machine models modal lifecycle (closed/editing/saving + OPEN/CANCEL), mirroring delete section. Modal open driven by state; closes on save success, no effect.
  • View: "Edit profile" button → Dialog w/ Name + Slug (slug hidden when organizationSettings.slug.disabled) + Save/Cancel.
  • Gated on org:sys_profile:manage.
  • Panel view gains profile slot at top (profile → leave → delete, matching legacy order).
  • Swingset: story + MDX + registry + docModules wiring; added to General Panel story/composition.

Internal-only under /experimental Mosaic; no public API change.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 76c5710

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

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Jul 2, 2026 2:35pm
swingset Ready Ready Preview, Comment Jul 2, 2026 2:35pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Repository UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: eec6ddce-50cf-4860-9838-b41b0b6825cb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant