Skip to content
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

feat(ui): allow override of resendSignUpCode function call #6312

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kevin860
Copy link

@kevin860 kevin860 commented Jan 23, 2025

Description of changes

This adds the resendSignUpCode function to the list of function calls that can be overridden using a handleResendSignUpCode option on the services object. This is important for anyone who is modifying the username, which is actually what the current example in the documentation suggests.

This PR also updates the documentation to match.

Issue #, if available

#4800

Description of how you validated changes

I have reviewed the existing tests for this component and found that they are currently skipped, making it hard to truly verify that these changes are functional. However, this change is quite simple and exactly follows the pattern of other function call overrides.

Checklist

  • Have read the Pull Request Guidelines
  • PR description included
  • yarn test passes and tests are updated/added
  • PR title and commit messages follow conventional commit syntax
  • If this change should result in a version bump, changeset added (This can be done after creating the PR.) This does not apply to changes made to docs, e2e, examples, or other private packages.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kevin860 kevin860 requested a review from a team as a code owner January 23, 2025 03:00
Copy link

changeset-bot bot commented Jan 23, 2025

🦋 Changeset detected

Latest commit: ab9de0c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@aws-amplify/ui Minor
@aws-amplify/ui-react-auth Patch
@aws-amplify/ui-react-core-auth Patch
@aws-amplify/ui-react-core-notifications Patch
@aws-amplify/ui-react-core Patch
@aws-amplify/ui-react-liveness Patch
@aws-amplify/ui-react-native-auth Patch
@aws-amplify/ui-react-native Patch
@aws-amplify/ui-react-notifications Patch
@aws-amplify/ui-react-storage Patch
@aws-amplify/ui-react Patch
@aws-amplify/ui-vue Patch
@aws-amplify/ui-angular Patch
@aws-amplify/ui-react-geo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant