Repository navigation
Show scanning status bar in a one transaction report - #41836
bernhardoj wants to merge 4 commits into
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
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