-
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
fix: reverting the amount and currency after error clearance. #55102
Conversation
@hungvu193 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] |
Can you address the linting? @Tony-MK |
Do you think we also should to revert the amount when we clicked the above error? Screen.Recording.2025-01-13.at.14.14.30.mov |
@hungvu193, Seems like the linting issue is not due to my changes but because of You can read this slack thread for more info. |
I know that. But I think you mentioned wrong slack thread. Anyway, we still need to address the linting |
How about this one? |
I just wanted to point out the two first lines. Note Hey team, please read this section thoroughly and ensure you follow it in the PRs you write/review. Yeah, we can address the lining, but won't it cause merge conflicts with other PRs trying to fix the same lint issue?
Frankly, I also don't know about this one. I have considered it and would like your opinion because I originally thought it was only the last error. What do you think? |
No worries, I think that's simple change so it won't be a problem.
Yep. Agree. |
Regarding this comment from mkzie2 I don't think I can reproduce the bug that he mentioned. Can you confirm? @Tony-MK. ty |
I also could not reproduce it after attempting a couple of times. |
Cool. Ty |
Can you fix lint again 😄 ? |
lint is still failing.. |
Hey @hungvu193, I have edited |
with the function/variable that have the same name, you can change its alias like this: import {functionName as functionNameUtil} from '..' you can reference here: |
Please keep in mind that we can't merge the PR without all the check passing, we will always need to address the lint anyway. |
Okay, on it. It should be done by the end of the day. |
Thanks for the updates @Tony-MK and your effort on the lint fixes. I appreciate it 🙇 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemChrome.moviOS: NativeIOS.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDEsk.mov |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 9.0.89-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|
Explanation of Change
After the error message is cleared, change the transaction amount and currency to the values used to pay.
Fixed Issues
$ #54471
PROPOSAL: #54471 (comment)
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
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
Android.-.Native.webm
Android: mWeb Chrome
Android.-.mWeb.webm
iOS: Native
iOS.-.Native.mp4
iOS: mWeb Safari
iOS.-.Safari.mp4
MacOS: Chrome / Safari
macOS.-.Chrome.mov
MacOS: Desktop
macOS.-.Desktop.mov