Skip to content

FEAT: hide social-login button - #853

Merged
pedroanastacio merged 1 commit into
stagingfrom
p2/feat/disable-social-login
Mar 12, 2026
Merged

pedroanastacio merged 1 commit into
stagingfrom
p2/feat/disable-social-login

Conversation

@pedroanastacio

Copy link
Copy Markdown
Contributor

Description

  • Social login should be disabled

Summary

  • Hide social login button

Screenshots

image image

Checklist

  • I reviewed my PR code before submitting
  • I ensured that the implementation is working correctly and did not impact other parts of the app
  • I implemented error handling for all actions/requests and verified how they will be displayed in the UI (or there was no error handling needed).
  • I mentioned the PR link in the task

mode,
currentOpenConnector,
unableToConnectWithSocial,
//unableToConnectWithSocial,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🟡 IMPORTANT: Remove commented code instead of leaving it in codebase

Problem: Project standards explicitly state to remove commented code. Lines 58, 61, 156-158, and 187-190 contain commented out social login code that should be deleted.

Suggestion: Delete all commented lines related to social login functionality. If you need to preserve this for future reference, create a separate branch or document the removal in the commit message.

@guimroque guimroque left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code Review

Summary

This PR successfully hides the social login functionality by commenting out the SocialSignIn component and related handlers. The implementation is clean and maintains the existing structure while disabling the feature.

Strengths

  • Clean approach using comments instead of deletion, preserving code for potential future re-enabling
  • Consistent commenting of all related social login functionality (component, handlers, props)
  • Proper spacing adjustment to maintain UI layout after component removal

Issues

  • 0 critical, 1 important, 0 suggestions

@aws-amplify-us-east-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-853.db1b4e2lqk8yl.amplifyapp.com

@pedroanastacio
pedroanastacio merged commit 18ef599 into staging Mar 12, 2026
2 of 3 checks passed
@pedroanastacio
pedroanastacio deleted the p2/feat/disable-social-login branch March 12, 2026 16:56
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