-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-07-14] [$1000] Able to request money from Workspaces in main
#20830
Comments
main
main
Job added to Upwork: https://www.upwork.com/jobs/~01948a1cdf660245e0 |
Triggered auto assignment to @adelekennedy ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @adelekennedy ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @flodnv ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Able to request money from Workspaces in main What is the root cause of that problem?We are allowing to show workspace with App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Lines 75 to 86 in 9ea7b45
What changes do you think we should make in order to solve the problem?I think this is intention since it was added 2 month ago 🤔 . this.props.iouType === CONST.IOU.MONEY_REQUEST_TYPE.REQUEST What alternative solutions did you explore? (Optional)N/A |
@hungvu193 It is not showing workspaces in production which also has |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@Beamanator I am sure this isn’t related to your last PR. This issue will not reach staging nor production. Root causeWhen we create a new workspace we generate an optimistic App/src/libs/actions/Policy.js Lines 911 to 920 in a2d074b
When the API command is successfully executed, the server only returns two reports: #admins and #announce. I believe the server should also return a third report based on the user's beta access to Here is the command response, which doesn't include the expenseChat report. Here you can see the commend response which doesn’t include the Now, since the user has a User on Dev can access Lines 10 to 12 in a2d074b
Here we check if user has use Lines 85 to 87 in a2d074b
In the Lines 1940 to 1942 in a2d074b
When we try to open the report , the command will return SolutionI believe we have three options:
|
Forget to mention that if user logout and then login, this issue will be resolved as the expense report will be deleted. |
@abdulrahuman5196 can you please review the proposals here? |
Will review this before EOD |
It seems to be intentional change to show the workspace in the option selector in case of request from #16967 @fedirjh Note: I have to anyways verify this root cause, but I think it would be correct since @fedirjh was the C+ on the feature implementation. If this case I think we should check for the frontend fix. The reason I am thinking of fixing this is, |
👋 @fedi @Beamanator I'm trying to figure out why we can't now find the workspace chat despite being on the rxt0m67WNP.mp4This issue's OP is a tad confusing in what it's advocating for exactly, you should be able to request money from workspaces on |
OOf please feel free to fix the bug report for me @trjExpensify 🙏 I wasn't aware this was "expected"! :O |
Can you confirm what the bug report is saying though in the first place? It seems like it's contradicting what we're seeing.
|
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
I disagree with Melvin. This is on me for being ooo end of last week. Given @abdulrahuman5196's responsiveness on the PR, I'd like to recommend that this is eligible for the bonus @adelekennedy 👍 |
ty @flodnv will pay out the timeline bonus |
main
main
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 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 2023-07-14. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
BZ checklist:
It was not a regression. It was a very old code and the expectation has changed now. https://expensify.slack.com/archives/C02NK2DQWUX/p1687549948966799
No. This is only dev environment change. |
@adelekennedy BZ checklist is complete here #20830 (comment) |
@flodnv, @fedirjh, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@abdulrahuman5196 @niravkakadiya25 @fedirjh will you apply here? |
Thank you. Applied @adelekennedy |
@adelekennedy can you direct hire me please |
@adelekennedy Thank you! Applied. |
@adelekennedy can you please direct hire me on upwork? |
@niravkakadiya25 Will you apply here? To make sure I hire the right person. |
@adelekennedy |
hired - just pending the reporting bonus pay out |
paid! |
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:
Expected Result:
You shouldn't be able to find it (like in staging)
Actual Result:
You can request money from the workspace (in
main
) and it doesn't failWorkaround:
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?
Version Number:
main
Reproducible in staging?: N
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: @niravkakadiya25
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686834315473029
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: