Repository navigation
Company Cards - Bank UI - #50716
Company Cards - Bank UI#50716
Conversation
# Conflicts: # src/CONST.ts # src/pages/workspace/companyCards/addNew/AddNewCardPage.tsx
|
@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.2024-10-18.at.4.41.10.PM.movAndroid: mWeb ChromeScreen.Recording.2024-10-18.at.4.39.42.PM.moviOS: NativeScreen.Recording.2024-10-18.at.4.44.16.PM.moviOS: mWeb SafariScreen.Recording.2024-10-18.at.4.45.57.PM.movMacOS: Chrome / SafariScreen.Recording.2024-10-18.at.4.19.53.PM.movMacOS: DesktopScreen.Recording.2024-10-18.at.4.38.48.PM.mov |
allgandalf
left a comment
There was a problem hiding this comment.
♻️ Code LGTM, good work @narefyev91 🙇
- We fallback to chase
chasefor all banks for now, as we are yet to have theBEready. - Verified that On web platforms, when we go back to the app and press bank button, the chase website closes.
- On Native devices for a split second before we get the web-view, we get loading indicators of both the native device and web-view, I feel this is a edge case and we can create a issue for this to see if we can deal with this issue.
Let's merge this, we are almost set for production testing 💪
@shawnborton i think it was just an example video from @allgandalf to show that when we click back button - tab is closed. Technically when browser is not in a full mode and user clicks on the link - we will open new browser in a modal: Screen.Recording.2024-10-21.at.10.43.20.mov |
|
Okay great, thanks for confirming! |
There is nothing in this PR that could influence the ReportScreen rendering so I will go ahead and merge it @OlimpiaZurek any chance this could be related to the change from last week |
|
@mountiny looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
This is not an emergency, seems like the Reassure test is broken at the moment so I proceeded with merging |
|
✋ 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.0.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
| if (isBankConnectionCompleteRoute) { | ||
| customWindow?.close(); | ||
| return; | ||
| } |
There was a problem hiding this comment.
@allgandalf @narefyev91 This change isn't worked because the URL is not changed to include BANK_CONNECTION_COMPLETE --> isBankConnectionCompleteRoute always be false even though the user completed the bank connection
The above bug is reported here
There was a problem hiding this comment.
@DylanDylann sorry i didn't understand by:
the URL is not changed to include BANK_CONNECTION_COMPLETE --> isBankConnectionCompleteRoute
Can you explain or point me to some code for better context?
| title={translate('workspace.companyCards.addCardFeed')} | ||
| onBackButtonPress={handleBackButtonPress} | ||
| /> | ||
| <BlockingView |
There was a problem hiding this comment.
We missed considering the offline scenario while performing online bank authentication. We addressed this in #55096
There was a problem hiding this comment.
thanks for pointing that out, AFAIK, I guess this was implemented following the design doc, did we miss this details @narefyev91 ?
There was a problem hiding this comment.
No I dont think this was covered in the design doc
There was a problem hiding this comment.
Not really remember that it was specified in design doc


Details
Company Cards - Bank UI flow
Fixed Issues
$ #50448
PROPOSAL:
We will use here "example url" - https://secure.chase.com/web/auth/#/logon/logon/chaseOnline?redirect_url=
User should have company cards available
Tests
WEB, Desktop, mWeb:
For WEB - to open a new tab in modal overlay - browser should not be in full screen mode
Native App:
Offline tests
Same rules as was defined to the whole feature
QA Steps
WEB, Desktop, mWeb:
For WEB - to open a new tab in modal overlay - browser should not be in full screen mode
Native App:
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
android.mov
Android: mWeb Chrome
android-web.mov
android-web2.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
web2.mov
MacOS: Desktop
8mb.video-pFt-7xpB0Idl.mp4