-
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
add top padding to LHN wrapper #53296
Conversation
@hoangzinh 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] |
Tested the scrolling here as well and this looks good from a design perspective 👍 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-08.at.21.45.09.moviOS: NativeScreen.Recording.2024-12-08.at.21.40.55.mov |
src/styles/index.ts
Outdated
@@ -1668,6 1668,7 @@ const styles = (theme: ThemeColors) => | |||
}, | |||
|
|||
sidebarListContainer: { | |||
paddingTop: 12, |
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.
It works to me but @mkzie2 can you double check if we use that direct value in other pages like Search Page or workspace list? Curious if there is any existing shared variable on it
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.
We used mt3
:
App/src/pages/Search/SearchTypeMenu.tsx
Line 251 in 6dff844
<View style={[styles.pb4, styles.mh3, styles.mt3]}> |
<View style={[styles.pb4, styles.mh3, styles.mt3]}> |
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.
Cool, what do you think if we reuse that value? Something like this
sidebarListContainer: {
...spacing.pt3,
paddingBottom: 4,
},
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.
@hoangzinh Agree, I updated.
@dubielzyk-expensify @mkzie2 do you think we would have a lot of space in LHN top in small screen devices? Screen.Recording.2024-12-06.at.17.06.52.mov |
I think the space there is probably fine and is consistent with other pages. This is a one-line change though, how can we speed up the review? It feels like this one has been dragging on for a while. |
@shawnborton all goods. I can finish review checklist today |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 9.0.75-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.75-6 🚀
|
Explanation of Change
Fixed Issues
$ #52198
PROPOSAL: #52198 (comment)
Tests
Offline tests
NA
QA Steps
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop