Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: migrate appearanceform to Tailwind and shadcn#20204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 3 commits intomainfromjaaydenh/migrate-appearance-form
Oct 8, 2025

Conversation

@jaaydenh
Copy link
Contributor

No description provided.

@jaaydenhjaaydenh self-assigned thisOct 7, 2025
@jaaydenhjaaydenh changed the titlechore: migrate appearanceform to Tailwind, shadcnchore: migrate appearanceform to Tailwind and shadcnOct 7, 2025
@jaaydenhjaaydenh requested review froma team andBrunoQuaresma and removed request fora teamOctober 7, 2025 22:04
@jaaydenhjaaydenh marked this pull request as ready for reviewOctober 7, 2025 22:06
Copy link
Member

@aslilacaslilac left a comment

Choose a reason for hiding this comment

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

I was kinda dreading this one. but it looks great! thanks!

Comment on lines -1 to -7
importtype{Interpolation}from"@emotion/react";
importCircularProgressfrom"@mui/material/CircularProgress";
importFormControlfrom"@mui/material/FormControl";
importFormControlLabelfrom"@mui/material/FormControlLabel";
importRadiofrom"@mui/material/Radio";
importRadioGroupfrom"@mui/material/RadioGroup";
import{visuallyHidden}from"@mui/utils";
Copy link
Member

Choose a reason for hiding this comment

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

that's a satisfying chunk of imports to watch vanish

jaaydenh reacted with hooray emoji
Copy link
Contributor

@buenos-nachosbuenos-nachos left a comment

Choose a reason for hiding this comment

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

Your changes look good to me. Just wanted to flag a couple of spots in the code that I think could be cleaned up while we're touching the file

</div>
</Section>
<divcss={{marginBottom:48}}></div>
<divclassName="mb-12"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need this empty div? Does theSection component not supportclassName?

jaaydenh reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Nice catch, moved the mb-12 to Section as a className

</RadioGroup>
</FormControl>
<RadioGroup
aria-labelledby="fonts-radio-buttons-group-label"
Copy link
Contributor

@buenos-nachosbuenos-nachosOct 8, 2025
edited
Loading

Choose a reason for hiding this comment

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

This looks like invalid HTML to me. If we havearia-labelledby, we need another element in the HTML that has (1) anid attribute with a matching value and (2) some kind of labeling text

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

added the id to the section title "Terminal Font" span

onChangeTerminalFont(toTerminalFontName(value))
}
>
{TerminalFontNames.filter((name)=>name!=="").map((name)=>(
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need thisfilter call, or can we trust the backend-generated types to not include a zero value?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

It looks like TerminalFontName in typesGenerated comes from codersdk/users.go with an empty string option. So it seems like we need to filter out the empty string if we don't want to display that.

@jaaydenhjaaydenh merged commit9935da8 intomainOct 8, 2025
26 checks passed
@jaaydenhjaaydenh deleted the jaaydenh/migrate-appearance-form branchOctober 8, 2025 20:13
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 8, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@aslilacaslilacaslilac approved these changes

@BrunoQuaresmaBrunoQuaresmaAwaiting requested review from BrunoQuaresmaBrunoQuaresma was automatically assigned from coder/ts

+1 more reviewer

@buenos-nachosbuenos-nachosbuenos-nachos approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@jaaydenhjaaydenh

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jaaydenh@aslilac@buenos-nachos

[8]ページ先頭

©2009-2025 Movatter.jp