Skip to content

Conversation

@blink-so
Copy link
Contributor

@blink-so blink-so bot commented Jun 17, 2025

--- Although originally created with Blink most of the PR has been re-written since then

Summary

This PR migrates the Alert component from MUI to shadcn implementation while maintaining full backward compatibility with the existing API. Updates Alerts to new design in Figma.

Figma design: https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=3522-3005&m=dev

Screenshot 2025-12-18 at 20 37 32

@jaaydenh jaaydenh self-assigned this Jun 18, 2025
@jaaydenh jaaydenh marked this pull request as draft June 18, 2025 13:27
@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 28, 2025
@github-actions github-actions bot closed this Jul 1, 2025
@jaaydenh jaaydenh reopened this Aug 12, 2025
@jaaydenh jaaydenh marked this pull request as ready for review August 12, 2025 16:45
@jaaydenh jaaydenh requested a review from aslilac as a code owner August 12, 2025 16:45
@aslilac
Copy link
Member

aslilac commented Aug 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
Copy link
Contributor

jaaydenh commented Aug 12, 2025

@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
Copy link
Member

aslilac commented Aug 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!

@github-actions github-actions bot removed the stale This issue is like stale bread. label Aug 13, 2025
@github-actions github-actions bot added the stale This issue is like stale bread. label Aug 21, 2025
@github-actions github-actions bot closed this Aug 24, 2025
@jaaydenh jaaydenh reopened this Dec 4, 2025
@jaaydenh jaaydenh force-pushed the feat/migrate-alert-to-shadcn branch from fdc83a5 to a8ecfd4 Compare December 4, 2025 22:40
@github-actions github-actions bot removed the stale This issue is like stale bread. label Dec 5, 2025
@jaaydenh jaaydenh marked this pull request as draft December 7, 2025 15:15
@jaaydenh jaaydenh removed the request for review from aslilac December 7, 2025 15:15
@github-actions github-actions bot added the stale This issue is like stale bread. label Dec 15, 2025
blink-so bot and others added 5 commits December 18, 2025 12:08
- 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, error

Co-authored-by: jaaydenh <1858163+jaaydenh@users.noreply.github.com>
@jaaydenh jaaydenh force-pushed the feat/migrate-alert-to-shadcn branch from ce82813 to 83eb68c Compare December 18, 2025 12:08
@jaaydenh jaaydenh changed the title feat: migrate Alert component from MUI to shadcn feat: migrate Alert component from MUI to shadcn and update to new Alert designs Dec 18, 2025
@jaaydenh jaaydenh removed the stale This issue is like stale bread. label Dec 18, 2025
@jaaydenh jaaydenh marked this pull request as ready for review December 18, 2025 20:40
@jaaydenh jaaydenh requested review from aslilac and jakehwll December 18, 2025 20:41
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

just one note:

it seems like there's a lot of usage of this new prominent prop. would it be better to flip the default and requiring opting in to a more subtle alert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants