Conversation
|
@metonym is attempting to deploy a commit to the One Project team on Vercel, but is not a member of this team. To resolve this issue, you can:
To read more about collaboration on Vercel, click here. |
3c558a8 to
c8fe82e
Compare
|
@scazan Pushed a commit:
|
|
Claude finished @metonym's task —— View job Code Review Complete ✅Reviewed PR #63: [Design System] Todo List:
🎯 OverviewThis PR successfully adds action button support to the Toast component with clean implementation and comprehensive test coverage. The single-line design when no title is provided is a nice UX enhancement. ✅ StrengthsWell-Structured Component Architecture
Solid TypeScript Implementation
Comprehensive Test Coverage
|
- Add an optional prop to the existing `toast` object. - `actions` is typed as a one-tuple or two-tuple (accepting either one CTA or two). Each item must be a React node, allowing composition. - If `title` is not specified, the single-line design is used. The `message` is truncated, while actions and icon remain full-width.
c8fe82e to
a7b61c0
Compare
|
Rebased on
|





Stacked on #62, but can be merged directly to
dev.Addresses https://app.asana.com/1/1108348036672214/project/1210891919698604/task/1210891919700765
Figma reference: https://www.figma.com/design/lrko7TMR4xy6Xb0w5GwzCQ/Common-Sense?node-id=214-1962&m=dev
Introduces an optional actions prop to the Toast component, allowing one or two action buttons to be rendered within toasts. Updates the storybook to demonstrate toasts with action buttons.
Component API Design
toastobjectactionsis typed as a one-tuple or two-tuple (accepting either one CTA or two). Each item must be a React node, allowing compositiontitleis not specified, the single-line design is used. Themessageis truncated, while actions and icon remain full-width.