Add coloured labels to report statuses in New Expensify#71751
Conversation
Codecov Report❌ Patch coverage is
... and 6 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
I totally agree with that - let's kill them. |
|
Yeah agree. Looks funky with them. |
|
@lorretheboy can you please make those changes and then we can spin up some test builds for further testing? Thanks! |
|
Sure @shawnborton |
|
@suneox I have updated the code to address new requirements. Could u please help review again? Thx |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Agree with that. Feels very small |
|
Yup, looks like the font size is wrong. Let's fix that and then we can spin up a new test build. |
|
I think we want to use the exact same height and font size for the badge at all screen sizes. Please refer to the mocks we provided on the issue for size guidance. |
| }, | ||
|
|
||
| reportStatusText: { | ||
| fontSize: variables.fontSizeXSmall, |
There was a problem hiding this comment.
We have to update the style based on the design and confirmation from the design team.
| fontSize: variables.fontSizeXSmall, | |
| fontSize: variables.fontSizeSmall, | |
| lineHeight: variables.lineHeightSmall |
|
Yeah, let's keep the momentum up on this one please. Thanks! |
Same - I think for this specific component it's ok to just set the line-height to whatever makes the component work best. |
|
Thanks for the confirmation I have updated the line height @suneox Please help review it again |
|
Thanks! I will run test builds again but let's get it into final review. |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Builds are looking good to me 👍 |
|
I'm not sure if this is a Safari 26.0.1 issue — it’s still not vertically centered on my device. The only fix that works for me is either removing the line height or setting it to an odd value close to the font size. Screen.Recording.2025-10-11.at.00.27.48.movHowever, since the current change has been verified and works on almost all devices with the existing value so we can go ahead with it. |
| reportStatusText: { | ||
| fontSize: variables.fontSizeSmall, | ||
| fontWeight: FontUtils.fontWeight.normal, | ||
| lineHeight: 16, |
There was a problem hiding this comment.
Please resolve the conflicts and use variables
| lineHeight: 16, | |
| lineHeight: variables.lineHeightSmall, |
There was a problem hiding this comment.
@lorretheboy We can remove the line height in this case, as confirmed
There was a problem hiding this comment.
@suneox I have fixed it. Please check again
Dang, just tested in Safari and I do see the same thing as you. Removing the line-height altogether seems to fix it like you mentioned, and also doesn't seem to cause any issues in other browsers. @Expensify/design do you think we should live with the Safari discrepancy or try just straight up removing the line-height entirely? |
|
Hmm yeah, just tried playing around with it too and I can't seem to make it work with the line height. I would be down to just remove the line height here since that seems to fix things. |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Seems to work well in Safari for me now. Let's get this into final review please! |
|
Proceeding with the merge since it works well in Safari now |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
cc @puneetlath - let's make sure we communicate this internally before it goes live? |
|
Sounds good. @kadiealexander can you please help with that? |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 9.2.30-0 🚀
|
|
Posted an update here! |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.30-6 🚀
|



Explanation of Change
Fixed Issues
$ #71549
PROPOSAL: #71549 (comment)
Tests
Prerequisite: User has several reports with different statuses
Offline tests
QA Steps
Same as Tests
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))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
ANDROID.mov
Android: mWeb Chrome
WEBSITE.ANDROID.mov
iOS: Native
IOS.mov
iOS: mWeb Safari
WEBSITE.IOS.mov
MacOS: Chrome / Safari
WEBSITE.mov
MacOS: Desktop
DESKTOP.mov