-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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: Individually selected expense rows in grouped reports don't have a background color applied to them. #45384
fix: Individually selected expense rows in grouped reports don't have a background color applied to them. #45384
Conversation
… a background color applied to them. Signed-off-by: krishna2323 <[email protected]>
@ishpaul777 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-07-23-17-30-49.mp4Android: mWeb ChromeRecord_2024-07-23-17-26-32.mp4iOS: Nativetrim.72C22594-3BC6-4B08-B2F7-234FD405648E.MOViOS: mWeb Safaritrim.B0AC47CC-8D6B-4C91-AA22-A510986D3130.MOVMacOS: Chrome / SafariScreen.Recording.2024-07-23.at.3.55.30.PM-1.movMacOS: DesktopScreen.Recording.2024-07-23.at.5.19.27.PM.mov |
@shawnborton that makes sense to me! The |
Haha I had a feeling it might, I don't know a better way around that other than changing our spacing for these to 16px 🙂 |
Totally. I don't either so I'm down to go with what you've suggested! |
@Krishna2323 can you please make changes as asked #45384 (comment) |
will be updated today. |
Signed-off-by: krishna2323 <[email protected]>
Signed-off-by: krishna2323 <[email protected]>
Going to create a test build for easier testing. |
This comment has been minimized.
This comment has been minimized.
Looks like the padding for the rows is using 8px 12px but we need it to be 6px 12px. See my comment here. |
@shawnborton, sorry for incorrect update, I should have confirmed before updating. I have understood the new changes and will update in few hours. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Sounds good, thanks for your understanding and let us know when we can test again! |
Sorry for the delay, I messed up something and I'm very stressed about that from morning. I will update you very soon. |
Signed-off-by: krishna2323 <[email protected]>
@shawnborton, please review video below, do we also need to make 6px vertical padding for each item as mentioned here? report_list_spacing_fix.mp4 |
src/styles/index.ts
Outdated
paddingVertical: 6, | ||
paddingHorizontal: 0, |
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.
Please reuse ...spacing.ph0
and ...spacing.pv1half
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.
i am not sure why are we creating a new style we can just reuse utility styles 🤔
Signed-off-by: krishna2323 <[email protected]>
@shawnborton @dannymcclain, on mobile if the title is not present the margin for header will be 12px else it would be 6px. report_list_spacing_fix_mobile.1.mp4 |
Nice! Looks like we have a conflict here, but I think we're ready to get this into final review. Thanks for your patience as we've been working through feedback. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Nice, this is looking good on the test builds above. |
will finish this today, @Krishna2323 Please resolve conflicts |
@ishpaul777, conflicts resolved. |
@ishpaul777, by mistake I started a review instead of adding a comment that's why I think my comments are not visible. |
Let's try to get this one over the finish line soon, thanks! |
Signed-off-by: krishna2323 <[email protected]>
@ishpaul777, code is updated. |
@shawnborton want to take a last look here before I merge? |
I think we're all good to merge! |
✋ 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/marcaaron in version: 9.0.12-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.12-0 🚀
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.0.13-0 🚀
|
const listItemPressableStyle = [ | ||
styles.selectionListPressableItemWrapper, | ||
styles.pv1half, | ||
styles.ph0, |
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.
FYI, setting zero horizontal padding here caused the following issue: #50316
Details
Fixed Issues
$ #45190
PROPOSAL: #45190 (comment)
Tests
Offline tests
QA Steps
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_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4