-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-04-09] [HOLD for payment 2024-03-13] [$500] Video - Play&Pause buttons don't function in preview mode if expanded the video before #36873
Comments
Job added to Upwork: https://www.upwork.com/jobs/~013093a3e364e94fed |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Triggered auto assignment to @miljakljajic ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @lakchote ( |
We think that this bug might be related to #vip-vsb |
This looks related to #30829 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The play/pause button doesn't work after expanding and closing the video modal. What is the root cause of that problem?From the video, we can see there is a console error. The error indicates that the video player is not ready yet and it's because the video player element/ref doesn't exist anymore. We have a App/src/components/VideoPlayer/BaseVideoPlayer.js Lines 139 to 143 in 7430c5f
Let's say we play a video A from the video preview. The video player ref is first set to the video preview A. Then, we press the expand button to see the video in the attachment modal. Currently, the video player ref is updated to the video player in the attachment modal (this is wrong). After we close the attachment modal, the video player doesn't exist anymore, so it always throws an error. However, the expected result is, when we expand the video to view it in the attachment modal, the ref shouldn't be updated because we early return if App/src/components/VideoPlayer/BaseVideoPlayer.js Lines 139 to 143 in 7430c5f
And
However, What changes do you think we should make in order to solve the problem?Pass App/src/components/Attachments/AttachmentCarousel/CarouselItem.js Lines 102 to 111 in 7430c5f
|
@bernhardoj's proposal looks good and solution tests well! 🎀 👀 🎀 C+ reviewed Screen.Recording.2024-02-20.at.8.35.43.PM.mov |
Current assignee @lakchote is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
this is a deploy blocker, if @tienifr is available it would be best to handle this issue urgently as the fix is straightforward |
By the way, i have this fix included 3 days ago in my PR cb32fe7 as it was required there if we are holding then we can hold for that |
Payment Summary
BugZero Checklist (@miljakljajic)
|
@ishpaul777 Yes, I'm investigating the issue right now |
@ishpaul777 @aimane-chnaif I created a follow-up draft PR with the fix for Play&Pause button that enables video sharing feature once again. On Monday I will add last changes and test them on all platforms, so I can give it to review. The main problem that will be fixed in my PR is the fact that when entering full-screen mode, the whole app rerenders due to |
Not overdue, Waiting for the PR to be open for review |
@ishpaul777 I opened the PR for review |
Thanks for the ping @Skalakid I totally missed that |
We aren't actually waiting for payment on this one, correct? Ping me when payment is due. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.58-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-04-09. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
[@ishpaul777] The PR that introduced the bug has been identified. Link to the PR: #30829 Regression test ProposalPrerequisites: The user should be logged in and a video exist in the chat
Do we agree 👍 or 👎 ? |
Is payment for this issue docked by 50% for the regression? |
i dont think the regression was from the initial PR directly, the RC was much complex than initially expected, also the only a small part was reverted from the first PR so i feel there shouldn't a penalty in this case, @lakchote can you please help with evaluation here as assigned engineer |
Payment Summary
BugZero Checklist (@miljakljajic)
|
Even though the RC was complex to fix, this comes directly from the initial PR related to the video player and files concerned ( That's why, since it's a regression, I think 50% payment seems fair to me. |
OkY no problem 🙂 Thanks for the evaluation @lakchote |
Paid 250 via upwork to @ishpaul777 - thank you all |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.43-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
Prerequisites: The user should be logged in and a video exist in the chat
Expected Result:
Play&Pause buttons function correctly
Actual Result:
Play&Pause buttons don't function in preview mode and console error occurs
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6385395_1708412002465.2024-02-20_09-46-30.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: