-
Notifications
You must be signed in to change notification settings - Fork 1
Remove unused login prop #476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 removes the unused registerCTA prop from the sqm-portal-login component and adds story files for the Google login form component to improve documentation and testing capabilities.
Changes:
- Removed unused
registerCTAprop fromsqm-portal-logincomponent - Added Google login form stories to the stencilbook
- Enhanced error handling in the Google login demo hook
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/mint-components/src/components/sqm-stencilbook/sqm-stencilbook.tsx | Imports and registers the new Google login form stories |
| packages/mint-components/src/components/sqm-portal-login/sqm-portal-login.tsx | Removes the unused registerCTA prop |
| packages/mint-components/src/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.tsx | Updates Default story to use the actual component instead of the view |
| packages/mint-components/src/components/sqm-portal-google-login/sqm-portal-google-login.tsx | Allows error state to be overridden via demoData |
| packages/mint-components/src/components/sqm-portal-google-login/GoogleLoginForm.stories.tsx | Creates new story file with Default, WithError, and Loading stories |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AndiLuo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
Description of the change
Type of change
Links
Checklists
Development
Paperwork
Code review