-
Notifications
You must be signed in to change notification settings - Fork 3k
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-03-07] [$500] Video - Unable to adjust volume by clicking on any part of the volume slider #36952
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01ddb8fc91ce5926ec |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
👋 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 @roryabraham ( |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Video - Unable to adjust volume by clicking on any part of the volume slider What is the root cause of that problem?We don't handle tap gesture for increasing/decreasing volume. What changes do you think we should make in order to solve the problem?We need to add const pan = Gesture.Pan()
.onBegin(() => {
runOnJS(setIsSliderBeingUsed)(true);
})
.onChange((event) => {
const val = Math.floor((1 - event.y / sliderHeight) * 100) / 100;
volume.value = Math.min(Math.max(val, 0), 1);
})
.onEnd(() => {
runOnJS(setIsSliderBeingUsed)(false);
});
const tapGesture = Gesture.Tap().onEnd((event) => {
const val = Math.floor((1 - event.y / sliderHeight) * 100) / 100;
volume.value = Math.min(Math.max(val, 0), 1);
});
const composed = Gesture.Race(pan, tapGesture); PS: Minor changes can be made through PR phase. Resulttap_gesture.mp4 |
def-o related to #30829 |
I think that:
we should let @Skalakid and SWM take point on fixing this issue. Making it a daily but leaving it as a deploy blocker (weird combo I know but we've got a merge freeze in place) |
cc @kowczarz |
I will take a look on this |
The root cause in this proposal is fine #36952 (comment), but composing is IMO an overkill. const gestureEventHandler = (event) => {
const val = Math.floor((1 - event.y / sliderHeight) * 100) / 100;
volume.value = Math.min(Math.max(val, 0), 1);
}
const pan = Gesture.Pan()
.onBegin((event) => {
runOnJS(setIsSliderBeingUsed)(true);
gestureEventHandler(event)
})
.onChange((event) => {
gestureEventHandler(event);
})
.onEnd(() => {
runOnJS(setIsSliderBeingUsed)(false);
}); |
@kowczarz, yeah that's a great idea :) |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR awaiting review from @cubuspl42 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-6 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-03-07. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @garrettmknight you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
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:
|
@cubuspl42 all paid - can you complete the checklist? |
|
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-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
User should be able to adjust volume by clicking on any length of the volume slider
Actual Result:
Video player volume does not respond until user holds and drags across the slider
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6386034_1708454719781.20240220_231408.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: