feat: replace sonner with base-ui toast component - #138
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |

Replaces the
sonnertoast library with a customToastcomponent built on@base-ui/react/toast. The newtoast.add({ title, type })API replacestoast.success()andtoast.error()calls across all auth forms. TheToastercomponent is now self-contained with its own provider, portal, viewport, and toast list rendering, including icon support forsuccess,error,info,warning, andloadingstates.Also adds several new UI components to the package:
DataTable— a wrapper around@tanstack/react-tablewith empty state supportAttachment— a composable file/media attachment display component with size, orientation, and state variantsBubble/BubbleContent/BubbleReactions— chat bubble components with alignment and variant supportMessage/MessageGroup/MessageAvatar/MessageContent/MessageHeader/MessageFooter— message layout primitivesMessageScroller— a scroll container built on@shadcn/react/message-scrollerwith auto-scroll behavior and a scroll-to-end buttonMarker— a labeled divider/separator componentQuestionnaire— a multi-step form component built on@shadcn/react/questionnairewith choices, navigation, and validation supportDirectionProvider— re-exports@base-ui/react/direction-providerAdds
@shadcn/reactand@tanstack/react-tableas dependencies, removessonner, and upgradesshadcnto4.16.2.