Skip to content

feat(feedback): refine Message component#619

Open
gab-az wants to merge 3 commits into
mainfrom
feat/feedback-message-refine
Open

feat(feedback): refine Message component#619
gab-az wants to merge 3 commits into
mainfrom
feat/feedback-message-refine

Conversation

@gab-az
Copy link
Copy Markdown
Collaborator

@gab-az gab-az commented May 29, 2026

Summary

  • Expand .specs/message.md with Figma-aligned tokens, closable/life props, dismiss motion from animate.js, and updated Storybook story list
  • Refine Message to TypeScript with data-severity styling, optional close control, auto-dismiss via life, and opacity fade-out on dismiss
  • Update Storybook with Types/Closable/AutoDismiss stories and reactive Documentation controls (dynamic source + remount key)

Test plan

  • Open Storybook → Webkit/Feedback/Message → Documentation; verify Controls update preview and code snippet
  • Confirm Types story shows all four severities (success uses pi pi-check)
  • Test Closable story: close button and Escape dismiss with fade-out; tweak a control to remount
  • Test AutoDismiss story: message fades out after 5s
  • Run pnpm webkit:lint and pnpm storybook:build

Made with Cursor

gab-az and others added 3 commits May 29, 2026 15:50
Add closable/life props, close event, motion tokens from animate.js, and
updated Storybook story list so the component pipeline stays in sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
Migrate to TypeScript and data-severity styling, add optional close control
and auto-dismiss via life, and exit with opacity transition from animate.js.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add Types/Closable/AutoDismiss stories, dynamic docs source, and remount key
so Controls updates reflect in the Documentation panel.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gab-az gab-az requested a review from a team as a code owner May 29, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant