Skip to content

Conversation

@garrity-miepub
Copy link
Contributor

…fore meta definition

  • Move AuthDialogDemo component definition before meta to fix reference error
  • Remove duplicate AuthDialogDemo function
  • Remove disabled argTypes for component props (not needed with DemoControls type)
  • Remove unused AuthDialogProps import

…fore meta definition

- Move AuthDialogDemo component definition before meta to fix reference error
- Remove duplicate AuthDialogDemo function
- Remove disabled argTypes for component props (not needed with DemoControls type)
- Remove unused AuthDialogProps import
Copilot AI review requested due to automatic review settings January 31, 2026 02:25
@garrity-miepub garrity-miepub marked this pull request as ready for review January 31, 2026 02:25
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 31, 2026

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7523873
Status: ✅  Deploy successful!
Preview URL: https://5c60c36d.ui-6d0.pages.dev
Branch Preview URL: https://fix-authdialog-story-types.ui-6d0.pages.dev

View logs

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a TypeScript reference error in the AuthDialog Storybook configuration by reordering component definitions and simplifying the type structure.

Changes:

  • Moved AuthDialogDemo component definition before the meta object to allow proper referencing
  • Changed the meta component reference from AuthDialog to AuthDialogDemo to align with the demo-focused story controls
  • Simplified the story props type from Partial<AuthDialogProps> & DemoControls to just DemoControls
  • Removed unused AuthDialogProps import and disabled argTypes that were hiding props no longer exposed

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@garrity-miepub garrity-miepub merged commit 0de3fde into main Jan 31, 2026
10 checks passed
@garrity-miepub garrity-miepub deleted the fix/authdialog-story-types branch January 31, 2026 02:33
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.

2 participants