Skip to content

Conversation

@zachharrison
Copy link
Contributor

@zachharrison zachharrison commented Jan 19, 2026

Description of the change

Remove unused registerCTA prop in sqm-portal-login to avoid confusion for customers

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation or Development tools (readme, specs, tests, code formatting)

Links

  • Jira issue number: (PUT IT HERE)
  • Process.st launch checklist: (PUT IT HERE)

Checklists

Development

  • Prettier was run (if applicable)
  • The behaviour changes in the pull request are covered by specs
  • All tests related to the changed code pass in development

Paperwork

  • This pull request has a descriptive title and information useful to a reviewer
  • This pull request has a Jira number
  • This pull request has a Process.st launch checklist

Code review

  • Changes have been reviewed by at least one other engineer
  • Security impacts of this change have been considered

Copilot AI review requested due to automatic review settings January 19, 2026 17:44
Copy link
Contributor

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 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 registerCTA prop from sqm-portal-login component
  • 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.

Copilot AI review requested due to automatic review settings January 19, 2026 18:03
Copy link
Contributor

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

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.

Copy link
Contributor

@AndiLuo AndiLuo left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@zachharrison zachharrison merged commit 9e22932 into master Jan 19, 2026
11 of 14 checks passed
@zachharrison zachharrison deleted the remove-unused-login-prop branch January 19, 2026 23:18
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.

3 participants