Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

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

Merged
itsmeichigo merged 5 commits intotrunkfrom
wcios/fix-get-started-screen
Aug 16, 2024
Merged

Hide site credential login button from Get Started screen after entering a WPCom site address#855
itsmeichigo merged 5 commits intotrunkfrom
wcios/fix-get-started-screen

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 enabled auto-merge August 16, 2024 02:12
@itsmeichigo itsmeichigo merged commit 08a25e9 into trunk Aug 16, 2024
@itsmeichigo itsmeichigo deleted the wcios/fix-get-started-screen branch August 16, 2024 02:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants