Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: demui <OAuth2AppForm /> - #27561

Merged
jakehwll merged 2 commits into
mainfrom
jakehwll/demui-oauth2appform
Jul 29, 2026
Merged

fix: demui <OAuth2AppForm />#27561
jakehwll merged 2 commits into
mainfrom
jakehwll/demui-oauth2appform

Conversation

@jakehwll

Copy link
Copy Markdown
Contributor

This pull-request removes the MUI styles from the <OAuth2AppForm /> and adjacent components.

@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: a9d2fc4fd9

ℹ️ 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".

Comment on lines +10 to +14
type OAuth2AppFormValues = {
name: string;
callback_url: string;
icon: string;
};

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reuse the generated OAuth2 request type

OAuth2AppFormValues re-declares the exact API payload already represented by TypesGen.PostOAuth2ProviderAppRequest and TypesGen.PutOAuth2ProviderAppRequest, even though the form passes this object directly to the create and update handlers. Using a generated request type here keeps the form contract tied to the backend schema instead of maintaining a parallel declaration.

AGENTS.md reference: site/AGENTS.md:L11-L12

Useful? React with 👍 / 👎.

</dl>

<Divider css={{ borderColor: theme.palette.divider }} />
<hr className="my-2 border-solid border-0 border-t w-full" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use the shared separator primitive

Both new raw <hr> elements duplicate the existing #/components/Separator/Separator primitive, bypassing its centralized theme styling and Radix semantics. This de-MUI migration should use that shared component so future separator changes remain consistent across the site.

AGENTS.md reference: site/AGENTS.md:L83-L87

Useful? React with 👍 / 👎.

autoFocus?: boolean;
};

const AppFormField: FC<AppFormFieldProps> = ({

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.

quit remaking this component every five minutes :despair: just use FormField

@aslilac

aslilac commented Jul 28, 2026

Copy link
Copy Markdown
Member

and both of the codex comments make sense to me and should be addressed

@jeremyruppel jeremyruppel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for addressing the prior feedback. LGTM!

@jakehwll
jakehwll merged commit 659fb48 into main Jul 29, 2026
25 of 26 checks passed
@jakehwll
jakehwll deleted the jakehwll/demui-oauth2appform branch July 29, 2026 14:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 29, 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