-
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
Show scanning status bar in a one transaction report #41836
Show scanning status bar in a one transaction report #41836
Conversation
So, I refactor the component to have a wrapper so we can have the isScanning status in MoneyReportHeaderContent to hide the next step status bar. And what I mean here is that the scanning status bar won't show if there is multiple request (not a one transaction report) The wording also won't match the multiple request view Line 656 in e0b6a06
|
Ok. While I agree that the wording won't match correctly in this scenario, showing |
@rojiphil yeah, I agree the next step doesn't make sense when all requests are scanning. I think we really need someone internal this time to confirm this because we are introducing a new copy and will need a translation too. cc: @thienlnam |
Could you summarize the problem and steps that are taken to get into this state, and what the planned solution is? |
So, in this PR, we add a scan status bar to the one/single transaction report and hide the next step status bar when it's scanning, to replicate the transaction thread view. When we add more expense, it's not a one/single transaction report anymore, so the scan status bar hides and the next step status bar is shown as shown in the video below Screen.Recording.2024-05-14.at.16.34.10.mov@rojiphil suggest to keep showing the scan status bar and hiding the next step if all receipt is scanning. @thienlnam Do you agree with this change? If yes, we might need to have a new text for multiple request for the scan status bar (1st image above). Untitled.mov |
Thanks for that - I discussed this internally here, seems like there is consensus for
I don't think we need different copy there though, we can probably use the same one |
Got it.
@thienlnam For confirmation, if we have 1 scanning and 1 not-scanning, do we still show the scan status bar and hide the next step? |
Yes that is correct |
Thanks for the confirmation! To keep the git history clean, I have opened a new PR instead here. Closing this one. |
Details
We want to show the scanning status bar below the header when the one transaction report request is in scanning.
Fixed Issues
$ #40828
PROPOSAL: #40828 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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
Untitled.mov
Android: mWeb Chrome
Screen.Recording.2024-05-08.at.19.55.51.mov
iOS: Native
Screen.Recording.2024-05-08.at.19.52.50.mov
iOS: mWeb Safari
Screen.Recording.2024-05-08.at.19.44.10.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-08.at.19.32.02.mov
MacOS: Desktop
Screen.Recording.2024-05-08.at.19.43.26.mov