Skip to content

feat(storybook): delete domain dialog template and panel border fix#628

Open
gab-az wants to merge 1 commit into
mainfrom
feat/panel-borders-delete-domain-template
Open

feat(storybook): delete domain dialog template and panel border fix#628
gab-az wants to merge 1 commit into
mainfrom
feat/panel-borders-delete-domain-template

Conversation

@gab-az
Copy link
Copy Markdown
Collaborator

@gab-az gab-az commented Jun 2, 2026

Summary

  • Add DeleteDomainDialog Storybook template under Webkit/Templates, composing Dialog, Panel regions, warning Message, confirmation input, and Cancel/Delete actions (Delete enabled only when the confirmation phrase matches).
  • Fix PanelHeader and PanelFooter borders so only border-b / border-t apply (side-specific width/color utilities), avoiding a full box border that stacked with the panel shell.
  • Align PanelContent padding to var(--spacing-lg) for dialog body spacing.

Test plan

  • Open Storybook → Webkit/Templates/DeleteDomainDialog → verify Open story matches the destructive confirmation layout
  • Type teste in the confirmation field and confirm Delete enables
  • Check Webkit/Overlay/Dialog and Drawer stories for correct header/footer dividers (no double borders on sides)
  • pnpm storybook:build

Made with Cursor

Add a Storybook template composing Dialog with destructive confirmation flow, and limit panel header/footer borders to border-b and border-t only so they do not stack with the panel shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gab-az gab-az requested a review from a team as a code owner June 2, 2026 14:14
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.

2 participants