GeezerVison is showing github.com — refactor: migrate TermsOfServiceLink from MUI to shadcn/ui by jaaydenh · Pull Request #20260 · coder/coder
Conversation
jaaydenh
commented
Oct 12, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Migrate the TermsOfServiceLink component from MUI to shadcn/ui
Changes
- Replaced
@mui/material/Link with the custom Link component from components/Link/Link (shadcn/ui)
- Migrated Emotion
css prop to Tailwind utility classes
- Preserved external link icon functionality (automatically provided by shadcn Link component)
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Replace MUI Link with custom Link component from shadcn/ui and migrate
Emotion CSS to Tailwind utility classes. This is part of the ongoing
effort to standardize on shadcn/ui components and Tailwind CSS.
Changes:
- Replace @mui/material/Link with components/Link/Link
- Remove Emotion css prop in favor of Tailwind classes
- Maintain visual consistency with pt-3, text-base, font-medium
- Keep external link icon from shadcn Link component
- No functional changes to component behavior
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
|
|
rel="noreferrer"
|
|
|
>
|
|
|
Terms of Service
|
|
|
<SquareArrowOutUpRightIcon className="size-icon-xs" />
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why get rid of the arrow? it's to indicate it'll open in a new tab
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The component already has SquareArrowOutUpRightIcon inside it
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I didn't realize the icon would come from the new component
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
aslilac
aslilac approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.