-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix: show border on Search route #60539
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
Conversation
@allgandalf 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: NativeScreen.Recording.2025-04-23.at.1.54.59.PM.movAndroid: mWeb ChromeScreen.Recording.2025-04-23.at.2.00.51.PM.moviOS: NativeScreen.Recording.2025-04-23.at.2.02.47.PM.moviOS: mWeb SafariScreen.Recording.2025-04-23.at.2.05.07.PM.movMacOS: DesktopScreen.Recording.2025-04-23.at.1.52.30.PM.mov |
c.c. @shawnborton can you check this one from design perspective |
This is incorrect, we don't want to add a border to the expense report preview when it is viewed from a chat context. We only show it when it's shown from the Reports > Chats filter. Let's please close this PR. |
I updated, @shawnborton please help check again if the updates here are correct: Screen.Recording.2025-04-21.at.16.03.29.mov |
That looks correct but why do we even need a PR here? can't we just close this out? |
@shawnborton Oh I just saw your comment on the issue, if we decide it doesn't need fixing then I'll close this PR. |
Yes, we ONLY want the border to show around the expense report preview when you view the expense report preview from Reports > Chats. |
Ah got it, I misunderstood. I thought we were trying to add a border to the view of the expense report preview in the RHP. |
@shawnborton do you approve these changes design wise? |
@shawnborton I just updated the screenshots. Here's the latest result on Chrome Screen.Recording.2025-04-22.at.17.38.44.mov |
That looks correct to me. |
|
||
shouldShowBorder?: boolean; |
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.
add comment
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.
Updated 👍
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.
nitpick
src/components/ReportActionItem/MoneyRequestReportPreview/types.ts
Outdated
Show resolved
Hide resolved
@daledah conflicts |
@mountiny Resolved 👍 |
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.
simple solution, thanks!
✋ 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/mountiny in version: 9.1.32-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.1.32-8 🚀
|
Explanation of Change
Fixed Issues
$ #60538
PROPOSAL:
Tests
Permission: account has tableReportView betas
Offline tests
QA Steps
Permission: account has tableReportView betas
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
Screen.Recording.2025-04-22.at.17.40.34.mov
Android: mWeb Chrome
Screen.Recording.2025-04-22.at.17.41.07.mov
iOS: Native
Screen.Recording.2025-04-22.at.17.41.53.mov
iOS: mWeb Safari
Screen.Recording.2025-04-22.at.17.42.22.mov
MacOS: Chrome / Safari
Screen.Recording.2025-04-22.at.17.38.44.mov
MacOS: Desktop
Screen.Recording.2025-04-22.at.17.43.17.mov