- Notifications
You must be signed in to change notification settings - Fork1.1k
feat: migrate Alert component from MUI to shadcn#18412
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
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
aslilac commentedAug 12, 2025
I definitely want to see this happen, but even just looking at the first few stories I see a number of things that aren't quite right. not sure how to get blink to fix any of this without eyes. |
jaaydenh commentedAug 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@aslilac sorry about the noise, my intention was only to reopen this and test out coder tasks on cleaning it up. I didn't explicitly set it ready for review or request your review. I wonder if that could have happened automatically somehow or if Claude (through coder tasks) was able to do that itself. Maybe it has something to do with you being a codeowner? |
aslilac commentedAug 12, 2025
yeah, I think CODEOWNERs only kicks in when you mark it as ready. no worries tho, just lmk when you'd like a review! |
- Replace MUI Alert with shadcn-based implementation using class-variance-authority- Maintain backward compatibility with existing Alert API (severity, dismissible, actions, onDismiss)- Update AlertTitle imports across codebase to use new implementation- Add proper Tailwind CSS styling with dark mode support- Preserve accessibility features and smooth animations- Support all existing severity levels: info, success, warning, errorCo-authored-by: jaaydenh <1858163+jaaydenh@users.noreply.github.com>
fdc83a5 toa8ecfd4Compare
Uh oh!
There was an error while loading.Please reload this page.
Summary
This PR migrates the Alert component from MUI to shadcn implementation while maintaining full backward compatibility with the existing API.
Changes
Core Alert Component
class-variance-authorityseverity(info, success, warning, error)dismissiblefor showing dismiss buttonactionsfor custom action buttonsonDismisscallbackrole=\"alert\"Updated Imports
Updated 6 files that were importing
AlertTitlefrom MUI to use our new implementation:ChangeWorkspaceVersionDialog.tsxProvisionerAlert.tsxGitDeviceAuth.tsxOverviewPageView.tsxWorkspace.tsxSetupPageView.tsx