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

Hide site credential login button from Get Started screen after entering a WPCom site address #855

Merged
merged 5 commits into from
Aug 16, 2024

Conversation

itsmeichigo
Copy link
Contributor

@itsmeichigo itsmeichigo commented Aug 15, 2024

Part of woocommerce/woocommerce-ios#13622

Description
On WCiOS we support site credential login for self-hosted sites with JP connection. In a previous attempt to add the site credential login option, we accidentally enabled that option for WPCom sites. This option is not functional as it's impossible to log in to WPCom sites with site credentials, so this PR fixes this by hiding that option for WPCom sites.

Testing steps
Test the demo app to ensure that the credential login button is not available in the default case.
Additionally, follow the steps in woocommerce/woocommerce-ios#13623 to check the cases for WCiOS.


  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

@itsmeichigo itsmeichigo marked this pull request as ready for review August 15, 2024 07:54
@hafizrahman hafizrahman self-assigned this Aug 15, 2024
Copy link

@hafizrahman hafizrahman left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍🏼

@itsmeichigo
Copy link
Contributor Author

Thanks Hafiz for the review! I've added 2 comments to bump the library version and will release the new version after this PR is merged.

@itsmeichigo itsmeichigo merged commit 08a25e9 into trunk Aug 16, 2024
10 checks passed
@itsmeichigo itsmeichigo deleted the wcios/fix-get-started-screen branch August 16, 2024 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants