Skip to content

refactor(site): migrate organization settings form off MUI - #27718

Merged
jakehwll merged 3 commits into
mainfrom
jakehwll/demui-organization-settings
Aug 11, 2026
Merged

refactor(site): migrate organization settings form off MUI#27718
jakehwll merged 3 commits into
mainfrom
jakehwll/demui-organization-settings

Conversation

@jakehwll

@jakehwll jakehwll commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was modified by Coder Agents on behalf of Jake Howell.

Migrates the organization settings info form from MUI TextField to shared FormField/Input/Textarea patterns, and splits the page view into focused section components so info, workspace sharing, and delete are no longer one monolithic file.

Behavior is unchanged; this is structure and component migration only.

  • Replace MUI TextField with FormField for slug and display name, plus a Textarea for description
  • Extract OrganizationInfoForm, WorkspaceSharingSection, and DeleteOrganizationSection
  • Move sharing dialog Storybook coverage onto WorkspaceSharingSection

@jakehwll jakehwll changed the title refactor(site): migrate settings form off MUI TextField refactor(site): migrate organization settings form off MUI Jul 31, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5192c5961

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

component: OrganizationSettingsPageView,
args: {
organization: MockOrganization,
onSubmit: action("onSubmit"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add interaction coverage for the migrated form

When this commit replaces the organization info inputs, the stories register onSubmit but never use a play function to edit, validate, or submit the new controls, so regressions in trimming, validation, and submission will pass the Storybook suite. Add a story interaction that exercises these behaviors and asserts the submitted values.

AGENTS.md reference: site/AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

Comment thread site/src/pages/OrganizationSettingsPage/WorkspaceSharingSection.tsx
@linear-code

linear-code Bot commented Aug 10, 2026

Copy link
Copy Markdown

DEVEX-254

@aslilac aslilac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

seems legit

I agree that horizontal forms need to go, and I think the delete button looks pretty bad with the new design, but you're not really making it worse, these are just things that are already bad. I clicked around in the ui and it seems functional.

Resolve conflict in OrganizationSettingsPageView.tsx and update
DeleteDialog import path to Dialog/ after MUI dialog migration (#27506).
@jakehwll
jakehwll enabled auto-merge (squash) August 11, 2026 01:29
@jakehwll
jakehwll merged commit b3acf7f into main Aug 11, 2026
26 checks passed
@jakehwll
jakehwll deleted the jakehwll/demui-organization-settings branch August 11, 2026 01:35
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 11, 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.

4 participants