-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix: no sound when paying via QAB #61887
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
base: main
Are you sure you want to change the base?
fix: no sound when paying via QAB #61887
Conversation
@ahmedGaber93 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@linhvovan29546 Let's move the |
I've moved the playSound logic to the actions for paying users
I've checked the source — moving the playSound to actions would be a big change. It might be better to handle that in a separate PR with proper testing. Based on my search, here are the actions we could consider updating:
Let me know your thoughts. |
@linhvovan29546 Hmm! But they look a straight forward, just moving some codes (please correct me if missed something). Let's handle them, and If you faced any difficulties we can discuss it here. Also, no need to record videos for all of them, the current videos are enough. |
Yes, that is straightforward. I’m only concerned about the testing. |
I'll move all to actions |
Updated! Do you have any suggestions for QA test steps? |
You can use format like "repeat steps from n1 to n2 for actionX and actionY". Also remove those steps
|
Explanation of Change
This PR fixes the issue where no sound plays when paying a user via QAB. It also refactors the code by moving the playSound logic from the component to the corresponding action
Fixed Issues
$ #61296
PROPOSAL: #61296 (comment)
Tests
Test 1
Open a DM with any user
Click + in the composer and pay using the Pay {userName} option
Verify success sound is played
Click FAB > Click on QAB
Pay the user again
Test 2
Offline tests
Same as test above
QA Steps
Same as test above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
REC-20250513105559.mp4
Android: mWeb Chrome
REC-20250513105902.mp4
iOS: Native
REC-20250513104813.mp4
iOS: mWeb Safari
REC-20250513104302.mp4
MacOS: Chrome / Safari
REC-20250513102912.mp4
MacOS: Desktop
REC-20250513110231.mp4