-
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
Create status bar #47181
Create status bar #47181
Conversation
@Expensify/design I kicked off an adhoc build, could you take this one for a spin? There are a few things to note:
Screen.Recording.2024-08-12.at.1.35.03.PM.movI'll address that tomorrow. In the meantime, could you please take a look at any other style changes we should make? |
Definitely Option 2 👍 |
Yup, agree with that! |
Cool, updated! |
Nice, I can kick off a new build for testing |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Looks pretty good! Here is what I found in testing... When you select the "Paid" tab, the page reloads and the tabs are scrolled all the way to the left, and thus you can't see the active "Paid" tab: RPReplay_Final1723822957.MP4Also, kinda of unrelated to this PR but I realize the font size between the main "Expenses" button and the tabs are different. I think the tabs are using the right size because we use 13px size for 40px buttons. But the Expenses button is using 15px font yet the button size is only 40px tall. So I think we might consider making the Expenses button a large button which is 52px tall, and thus uses 15px font. Or we need to reduce the font size (and maybe icon size) there. Thoughts @Expensify/design |
@shawnborton in Figma we have the appropriate size icon & text for the Expenses button. I think we should just update the text and icon size here to match what we designed in Figma: 40px tall button, 16x16px icon, 13px text size. |
Big fan of that. @luacmartins let us know if you wanna handle that here or if we should make a follow up. |
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.
LGTM 👍
@luacmartins leaving it to you to address the design comments |
This PR is getting big, so I'll address the scroll and fontSize issues in a follow up. |
Created an issue here |
✋ 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/luacmartins in version: 9.0.22-3 🚀
|
I'll revert this PR since it caused a few blockers. I'll then work on it again and on fixes for the issues. |
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀
|
Details
Adds new data types to the LHN and creates the new status bar.
Fixed Issues
$ #46585
$ #46582
$ #47101
Tests
Offline tests
N/A
QA Steps
Same as tests
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./** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web-sm.mov
MacOS: Desktop