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

Image Recommendations - Fix explore card toggle bug #4825

Merged
merged 2 commits into from Apr 29, 2024

Conversation

tonisevener
Copy link
Collaborator

Phabricator: https://phabricator.wikimedia.org/T363601

Notes

The Explore settings persist the global card preference ON toggles upon fresh install. This means those preferences were originally saved without the suggested edits card type. When updating the app with the latest version, the Explore feed only considers those older types as on, so suggested edits defaults to off.

To fix this I am adding a one-time migration step in MWKDataStore to turn the suggested edits card preference on.

Test Steps

  1. Through TestFlight, install version 7.4.9 (3332).
  2. Launch app and ensure you are logged in.
  3. Run the app in Xcode from this branch.
  4. Confirm the suggested edits card eventually appears in the Explore feed, and tapping into Explore settings shows the suggested edits card as ON.

@tonisevener tonisevener requested review from a team and mazevedofs and removed request for a team April 26, 2024 18:23
Copy link
Collaborator

@mazevedofs mazevedofs left a comment

Choose a reason for hiding this comment

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

:)

@mazevedofs mazevedofs merged commit 7628078 into main Apr 29, 2024
4 of 6 checks passed
@mazevedofs mazevedofs deleted the image-rec/fix-explore-toggle branch April 29, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants