Skip to content

Conversation

ashiagr
Copy link
Contributor

@ashiagr ashiagr commented May 17, 2022

Parent #16347

This PR hides the Quick Start for self-hosted sites not using wpcom rest API. While the Quick Start card was not shown for self-hosted sites after login, it appeared on refreshing the screen.

Related iOS issue: wordpress-mobile/WordPress-iOS#18547

self-hosted-site-qs.mp4

To test

  1. Launch the app.
  2. Login using self-hosted site address.
  3. Select the site from the Login Epilogue.
  4. Notice that Quick Start card is not displayed on the My Site screen.
  5. Pull-to-refresh.
  6. Notice that Quick Start card is not displayed on the My Site screen.

Merge Instructions

Targets code-frozen release/19.9 branch.
/cc @AliSoftware

Regression Notes

  1. Potential unintended areas of impact
    N/A

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    See To Test section.

  3. What automated tests I added (or what prevented me from doing so)
    Added unit tests for QuickStartCardSource to return non-empty quick start categories (needed for building the card ) only if quick start is available for the selected site.

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@ashiagr ashiagr added this to the 19.9 ❄️ milestone May 17, 2022
@ashiagr ashiagr requested a review from AjeshRPai May 17, 2022 11:50
@ashiagr ashiagr self-assigned this May 17, 2022
@peril-wordpress-mobile
Copy link

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link

You can test the changes on this Pull Request by downloading the APKs:

Copy link
Contributor

@AjeshRPai AjeshRPai left a comment

Choose a reason for hiding this comment

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

I have looked at the code changes and tested it as per the instructions. Everything looks good to me. @ashiagr. 👍 🙌

@ashiagr ashiagr merged commit 2cc6155 into release/19.9 May 18, 2022
@ashiagr ashiagr deleted the issue/qs-self-hosted-site branch May 18, 2022 06:54
@AliSoftware
Copy link
Contributor

This fix has now been shipped as part of the 19.9-rc-2 beta 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants