-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix report title not updating when reimbursable expense is changed offline #79294
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 report title not updating when reimbursable expense is changed offline #79294
Conversation
|
@mananjadhav 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
I am still reviewing and testing the PR. Will post an update tomorrow. |
|
@mananjadhav Any update? @marufsharifi Conflicts |
@JS00001, thanks, conflicts resolved. @mananjadhav, the PR is ready for your review. |
|
@mananjadhav, kindly bump. thanks. |
|
I am reviewing another PR. I'll get to this by end of day. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppUploading android-reimbursable-offline.mov… Android: mWeb Chromemweb-chrome-reimbursable-offline.moviOS: HybridAppios-reimbursable-offline.moviOS: mWeb Safarimweb-safari-reimbursable-offline.movMacOS: Chrome / Safariweb-reimbursable-offline.mov |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No product spec changed. Looks good to me.
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.3.5-0 🚀
|
Revert #79294 - Fix report title not updating when reimbursable expense is changed offline
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.5-7 🚀
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.3.6-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.6-4 🚀
|
Explanation of Change
Recalculate report total when reimbursable expense value changes in offline mode.
Fixed Issues
$ #74274
PROPOSAL: #74274 Comment
Tests
Precondition:
Edit the default report title formula to: Total {report:total} - Reimbursable {report:reimbursable} for the workspace.
amount $150 (reimbursable toggle is on)
amount $50 (reimbursable toggle is off)
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
and-n.mp4
Android: mWeb Chrome
and-w.mp4
iOS: Native
ios-n.mp4
iOS: mWeb Safari
ios-w.mp4
MacOS: Chrome / Safari
d-w.mp4