-
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
Fix report total and alignment #42932
Conversation
@allroundexperts 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] |
@allroundexperts the negative report total is still pending an API deploy. But it tests well when the reportType is present in the data. |
Design-wise this looks good to me. |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeScreen.Recording.2024-06-04.at.9.58.00.PM.moviOS: NativeHaving iOS build issues iOS: mWeb SafariScreen.Recording.2024-06-04.at.10.09.26.PM.mov |
@shawnborton updated! So now the header report total is 15px and the child transaction total is 13px. |
Amazing, thanks! |
@allroundexperts please prioritize reviewing this PR as it's a high value one. |
@luacmartins Should I hold off the testing until the API changes are through? |
@allroundexperts you can test this by changing these consts to their plural, ie:
As for the negative total, no need to wait. |
On it now! |
@luacmartins Is there something wrong with the API? I'm unable to test even after changing the constants. |
I can test now. I changed the API to staging. |
Technically that's not a bug, because the space below is for the category or tag. Though I think it could look better if we do vertically center if if no category or tag is available? But I say we leave it alone for now. |
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.
Works well!
@jasperhuangg 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] |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Hey, I'm struggling to locate a regression where opening users comment on a new MoneyReport, then 'Reply in Thread' and try to tap the blue This is one of a few PRs that seem either a cause or just related. If you have any thoughts or suggestions, please let me know. |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
Details
Correctly calculates the report total based on the report type and aligns it with the table header
Fixed Issues
$ #42935
Tests
Profile > Troubleshoot > New search page
Shared
filter in the LHNOffline tests
N/A
QA Steps
No QA
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop