-
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
[HOLD for payment 2024-07-24] [$250] [HIGH] [API] OpenWorkspaceView API call is made on pages that do not need it #42900
Comments
Triggered auto assignment to @greg-schroeder ( |
Job added to Upwork: https://www.upwork.com/jobs/~01c3a5ef10ba51590e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
either we need to refactor this code so the API call is not in the |
ProposalPlease re-state the problem that we are trying to solve in this issue. nThe problem we are trying to solve is that the What is the root cause of that problem?The root cause of the problem is that the What changes do you think we should make in order to solve the problem?To solve this problem, we propose the following changes:
Optionally: To preserve the separation of concerns principle, we can create an intermediate component This component should be called within the AlternativelyTo preserve the separation of concerns principle, we can:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Describe what actually happened What is the root cause of that problem?The What changes do you think we should make in order to solve the problem?Keep Then:
What alternative solutions did you explore? (Optional) |
@mountiny I think we can make |
Proposal updated to add the above suggestion as alternative solution |
ProposalPlease re-state the problem that we are trying to solve in this issue.OpenWorkspaceView API call is made on pages that do not need it What is the root cause of that problem?inside
What changes do you think we should make in order to solve the problem?on the
There's no issue if anyone forget the prop Now we need to make sure the other pages have set Like for
We need to set What alternative solutions did you explore? |
Proposal updated to mention the specific case of Workflows page and what we should do with it. @mountiny I see you mentioned in the OP
But I think:
@mountiny What do you think? |
Proposal Updatedadded an optional improvement and an alternative solution |
@hoangzinh @mountiny Just so there's no confusion when viewing proposals, @abzokhattab's proposal was posted before me but have these 2 points which are incorrect:
Which were later removed/updated after I posted mine |
Thanks for proposal everyone
Based on above points, I think we can go with @abzokhattab's proposal #42900 (comment) 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thanks for the investigation. Agree that @abzokhattab's alternative proposal is the only one that follows the pattern prescribed by Vit. Assigned! |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @abzokhattab 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@hoangzinh @greg-schroeder @mountiny @truph01 this issue is now 4 weeks old, please consider:
Thanks! |
@greg-schroeder Sorry for the delay, this is a HIGH issue so could you help to apply the TIA! |
I have opened a backend Pr to add the bank account information to the auth call, but seems like the OpenPolicyProfilePage call was reverted so we need to bring that back first |
@mountiny sorry so does that mean this wasn't implemented as expected, or just an addendum to the original PR? |
@truph01 I'll handle the |
@greg-schroeder Done! |
sent an offer |
@greg-schroeder Accepted, thanks |
This was a required backend change to make it even better. We can soon proceed with the auth change as we have re-reverted the app pr |
The Auth PR was merged |
On staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-24. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
This is for the backend PR, no contributors were involved in that one |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
Reproducible in staging?:
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by: @mountiny
Slack conversation:
Action Performed:
Break down in numbered steps
OpenWorkspaceView
API command is calledExpected Result:
Describe what you think should've happened
this command is used to load bank account data and it should be called in Workflows page and/ or some other pages where we might need the bank account information for the policy, paid or free (still since migration is not complete)
Actual Result:
Describe what actually happened
This is being called on pages where the bank account details are not needed
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @greg-schroederThe text was updated successfully, but these errors were encountered: