-
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
[HELD #26538] [$1000] Web - Can access company info in bank account page without typing routing and account number #27386
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c9f6719a38b4191b |
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @flaviadefaria ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
I am wondering do we have to worry about this issue. I am sure that we discussed this many times in the past but I don't remember the correct behaviour. Going to open a slack discussion. |
ProposalPlease re-state the problem that we are trying to solve in this issue.It is possible to access company info and other steps with a direct URL without providing a routing or account number in the connect bank account flow. What is the root cause of that problem?There are no checks in subsequent steps of the ReimbursementAccountPage component to verify whether or not the routing and account numbers have been provided in Step 1. What changes do you think we should make in order to solve the problem?We are obtaining the
Add the following lines in the
What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Can access company info in bank account page without typing routing and account number What is the root cause of that problem?We pass the
What changes do you think we should make in order to solve the problem?I think we should pass the last step which is completed if the
What alternative solutions did you explore? (Optional) |
@kevinksullivan Looks like I was incorrectly double assigned here by the external label. We are discussing fixing this here. In the meantime, going to un-assign as this doesn't need two BZ assignees. |
sounds good 👍 . @parasharrajat let us know what you think about the proposals above |
@kevinksullivan Still waiting on the slack discussion, feel free to push it forward. expensify.slack.com/archives/C049HHMV9SM/p1694439235983099 |
Based on the Slack thread, it has been decided to solve this issue. However we are interested in a generic solution that targets the scenario, not the screen. The same scenario can be present on many screens. How can we create a solution that allows us to solve this problem on multiple screens? |
The solution for this issue in particular would be fundamentally different from the solution to the other cases due to the implementation approach. The connect bank account flow screens are all rendered by a single component, ReimbursementAccountPage, using conditional checks. In the other related issue, the different screens in the flow are being displayed after navigating to them using the Navigator. If the goal is to achieve a unified implementation with a one-size-fits-all solution, the connect bank account flow would have to be refactored prior. |
@parasharrajat I think the bank account flow is different from the money request flow. The money request flow has already the logic to reset to the first page. The bug you mention above is only a special case of this flow. |
I have a crazy idea. What if creating a route guard that works at react-navigation screen level or we create a wrapper component like |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@kevinksullivan, @parasharrajat Whoops! This issue is 2 days overdue. Let's get this updated quick! |
There is no new update on the last Slack post. I looked into the mentioned PR and it seems are refactoring the step pages into a single page so that the intermediate page is not navigable. It is being attempted at #26538. So we are kind of holding on to that. Similiar pattern can be adopted here. |
@kevinksullivan, @parasharrajat Eep! 4 days overdue now. Issues have feelings too... |
got it, so I'll hold on that issue then @parasharrajat ? |
@kevinksullivan, @parasharrajat Huh... This is 4 days overdue. Who can take care of this? |
held |
@kevinksullivan, @parasharrajat Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
held |
held |
This issue has not been updated in over 15 days. @kevinksullivan, @parasharrajat eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
same |
can't reproduce this one anymore. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
IMPORTANT: If there are bank account details saved already. Please do start over on the connect bank account page.
replace 'new' with 'company'
However, even if 'new' is changed to 'personal-information' , it doesn't show Personal information page.
Expected Result:
Even when changing the url parameter 'new' to 'company' , it should redirect to 'new' i.e connect bank account page.
Actual Result:
After changing url parameter, company information page opens leaving the routing and account number empty.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.69.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-09-11.at.7.03.41.PM.mov
Recording.4453.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ashimsharma10
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694439235983099
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: