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 - Fetch images in WKData #4799

Merged
merged 12 commits into from
Apr 2, 2024
Merged

Image Recommendations - Fetch images in WKData #4799

merged 12 commits into from
Apr 2, 2024

Conversation

tonisevener
Copy link
Collaborator

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

Notes

This PR adds the ability to fetch images from WKData, and integrates it into Image Recommendations.

Test Steps

  1. Go to image recommendations on Staging
  2. Confirm image is populated in half sheet modal
  3. Tap Yes. Confirm image is populated in add image details view.
  4. Dismiss. Tap Not Sure. Confirm image refreshes with next recommendation.

- Add a perform method that supports returning Data
- Move bodyContentType to basic service (was unused by MediaWikiService)
- Add AcceptType enum to specify header value from data controller
@tonisevener tonisevener requested review from a team and mazevedofs and removed request for a team March 28, 2024 19:55
@staykids staykids self-assigned this Mar 29, 2024
@staykids staykids requested review from staykids and removed request for mazevedofs March 29, 2024 20:37
Copy link
Contributor

@staykids staykids left a comment

Choose a reason for hiding this comment

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

Looking good – some minor notes below.

@staykids staykids removed their assignment Apr 1, 2024
@tonisevener
Copy link
Collaborator Author

@staykids Agreed on all of those, thanks. This is ready for another review!

@staykids staykids self-assigned this Apr 2, 2024
@staykids staykids removed their assignment Apr 2, 2024
@staykids staykids merged commit dcf3c4d into main Apr 2, 2024
4 checks passed
@staykids staykids deleted the wkdata-images branch April 2, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants