-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Internal QA]: Update web behaviour of bank connection for card assign #55561
[Internal QA]: Update web behaviour of bank connection for card assign #55561
Conversation
@thesahindia 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] |
@joekaufmanexpensify @mountiny |
TY! |
@@ -31,9 +32,10 @@ function BankConnection({policyID, feed}: BankConnectionStepProps) { | |||
const styles = useThemeStyles(); | |||
const {translate} = useLocalize(); | |||
const bankName = getBankName(feed); | |||
const currentUrl = getCurrentUrl(); | |||
const isBankConnectionCompleteRoute = currentUrl.includes(ROUTES.BANK_CONNECTION_COMPLETE); |
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.
@VickyStash Hmm I am not sure about this change - we basically go back to what we had before, relying on the pusher update to the SHARED_NVP_PRIVATE_DOMAIN_MEMBER
but Vicky changed it to use the url - when we complete the connection we should to to the bank-connection-completed route. Why is that not working in this case?
🚧 @mountiny has triggered a test build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
🚧 @mountiny has triggered a test hybrid 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! 🧪🧪
|
🚧 @mountiny has triggered a test hybrid 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! 🧪🧪
|
Tested on the adhoc build and it worked well assigning a card from the workspace member profile! |
One other bug I did notice is if you add a card feed but haven't assigned cards yet, there is no option to assign cards on any employee's member profile. But as soon as you assign one card, you can assign cards to any employees there. I feel like as soon as you add a card feed, we should show the option to assign cards from the member profile. Thoughts? 2025-01-22_10-08-00.mp4 |
🚧 @mountiny has triggered a test hybrid 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! 🧪🧪
|
🚧 @mountiny has triggered a test hybrid 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! 🧪🧪
|
Yeah I think that is right, @waterim @narefyev91 is this something you would look into? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
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.
@joekaufmanexpensify has tested this on the adhoc build so I think we can move this forwards
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@mountiny Im taking that bug, will work today on that! |
TY! |
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.89-0 🚀
|
QA passed! |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|
Details
MOBILE-EXPENSIFY:13370
Fixed Issues
$ #55104
PROPOSAL: N/A
Tests
Precondition: Credential status in expired condition for assigning cards
Offline tests
Same as tests
QA Steps
None
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Expensify_assign_card.mov