refactor(drive): move video player to a separate module (WPB-27279) - #5066
Conversation
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
New ADR(s) in this PR 📚:12. Shared in-app video player as a core moduleDate: 2026-07-16 StatusProposed ContextThe in-app video player ( We now want to play videos in-app when a user taps a video message in a chat. Today the chat The player therefore needs to be consumed by two places:
Because the player is shared UI infrastructure used by multiple layers above DecisionExtract the video player into a new A new dedicated core module is preferred over folding it into the existing The two pieces that are currently cells-specific will be generalized during the move:
The work is sequenced extract-then-reuse, so the risky refactor is validated against the existing
Consequences
|
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #5066 +/- ##
===========================================
- Coverage 49.78% 49.75% -0.04%
===========================================
Files 662 665 +3
Lines 24107 24122 +15
Branches 3748 3751 +3
===========================================
Hits 12001 12001
- Misses 10974 10987 +13
- Partials 1132 1134 +2
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
| @@ -0,0 +1,80 @@ | |||
| # 12. Shared in-app video player as a core module | |||
There was a problem hiding this comment.
| # 12. Shared in-app video player as a core module | |
| # 13. Shared in-app video player as a core module |
There was a problem hiding this comment.
The same with the name of the file, :D as we already have a 12 adr
New ADR(s) in this PR 📚:13. Shared in-app video player as a core moduleDate: 2026-07-16 StatusProposed ContextThe in-app video player ( We now want to play videos in-app when a user taps a video message in a chat. Today the chat The player therefore needs to be consumed by two places:
Because the player is shared UI infrastructure used by multiple layers above DecisionExtract the video player into a new A new dedicated core module is preferred over folding it into the existing The two pieces that are currently cells-specific will be generalized during the move:
The work is sequenced extract-then-reuse, so the risky refactor is validated against the existing
Consequences
|
Test Results33 tests - 2 069 33 ✅ - 2 069 3s ⏱️ - 1m 45s Results for commit c76752c. ± Comparison against base commit 0d7708e. This pull request removes 2069 tests.♻️ This comment has been updated with latest results. |
…core-module # Conflicts: # features/cells/src/main/java/com/wire/android/feature/cells/ui/CellsMetroViewModelBindings.kt # features/cells/src/main/java/com/wire/android/feature/cells/ui/CellsViewModelFactory.kt # features/cells/src/main/java/com/wire/android/feature/cells/ui/CellsViewModelGraph.kt
|
APKs built during tests are available here. Scroll down to Artifacts! |
https://wearezeta.atlassian.net/browse/WPB-27279
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764The PR Description
What's new in this PR?
Issues
Dependencies (Optional)
If there are some other pull requests related to this one (e.g. new releases of frameworks), specify them here.
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.