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

Media picker library integration #15608

Closed

Conversation

irfano
Copy link
Member

@irfano irfano commented Nov 22, 2021

This PR removes current media picker screens and uses Media Picker Library for the same feature. The library provides exact same functions and design.

WP app is using MediaPickerLauncher to view media picking screens. MediaPickerLauncher has different public functions which are starting MediaPickerActivity and showing different versions of the picker (Like different buttons and titles). Other classes which use MediaPickerLauncher shouldn’t need any changes basically for this task.

To test: Need to check every place which media picker can be opened. Because media pickers screen has different views for different functions. All functions, buttons, texts must be the same as before integration. (There might be some updates for titles maybe. If there are, they will be discussed here.)

Test cases will be added.

Regression Notes

  1. Potential unintended areas of impact

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

  3. What automated tests I added (or what prevented me from doing so)

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.

Irfan Ömür and others added 2 commits November 28, 2021 20:11
- Removed mediapicker dependency. Mediapicker need extra steps to work with Hilt.
- Added Hilt infrastructure to use with Dagger together.
@peril-wordpress-mobile
Copy link

Warnings
⚠️ PR has more than 300 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Nov 30, 2021

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:

@renanferrari
Copy link
Member

Closing this in favor of #15653 (internal ref: pbMoDN-35Z-p2)

@irfano irfano mentioned this pull request Apr 5, 2023
3 tasks
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.

2 participants