-
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
[$500] Split - Billable toggle is disabled in split details view when it is enabled during creation #33763
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01ac2c6e9de8acf9c4 |
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.Split - Billable toggle is disabled in split details view when it is enabled during creation What is the root cause of that problem?The root cause is that we don't send billable value to buildOptimisticTransaction method so that default value(false) is set when creating splitTransaction. Lines 1151 to 1165 in 595bf40
App/src/libs/TransactionUtils.ts Lines 76 to 90 in 595bf40
What changes do you think we should make in order to solve the problem?We need to send billable value down to buildOptimisticTransaction when creating IOU request. Line 1141 in 595bf40
to
Line 1484 in 595bf40
to
App/src/pages/iou/request/step/IOURequestStepConfirmation.js Lines 213 to 228 in 595bf40
Above solution is only for split money request in workspace and this error is happened because we didn't consider billable state when creating transaction so we would need to check transaction creation workflow in money request and would add billable values here for other edge cases.
What alternative solutions did you explore? (Optional)N/A |
@sobitneupane, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@sobitneupane bump for review of the proposal above thanks |
ProposalPlease re-state the problem that we are trying to solve in this issue."Default to billable" toggle is disabled when it is toggled on during creation. It cannot be toggled on in split details page. What is the root cause of that problem?
Line 1185 in 2fe1174
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)If the expected behavior is not enabled billable for split bill we should hide billable option if the request is split bill or disable billable section if the request is split bill.
|
@sobitneupane please review the proposals above thank you |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
As pointed out by @dukenv0307 in his proposal, this should probably be handled in BE as well. @laurenreidexpensify Can we assign internal engineer to investigate issue on backend. |
Current assignee @sobitneupane is eligible for the Internal assigner, not assigning anyone new. |
Triggered auto assignment to @francoisl ( |
@francoisl assigning internal as this is BE fix |
Backend fixes are in review, I'll update here when they're deployed to staging. |
The backend fixes are on staging now, feel free to test your proposals again by passing |
@dukenv0307 Do you want to update your proposal? Is backend responding as expected? |
@sobitneupane I tested and BE returns billable correctly now. And my proposal #33763 (comment) already has the fix in front-end now. |
Proposal from @dukenv0307 looks good to me. 🎀👀🎀 C+ reviewed |
Current assignee @francoisl is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@sobitneupane The PR is ready for review. |
Deployed to prod #35125 (comment) 3 days ago, so should be paid on 12 feb |
Ah yikes the automation failed here!! Let's get this paid!! |
Payment Summary:
|
@sobitneupane please complete a checklist and confirm if we need regression steps thanks |
@sobitneupane bump for checklist and regression steps thanks |
@sobitneupane bump thanks |
@laurenreidexpensify As the issue was reported by Applause Team, I believe the regression tests are already included. In case it is requried: Precondition:
Steps:
|
$500 approved for @sobitneupane based on this summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.19-1
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition:
1 Go to workspace chat as employee.
Expected Result:
In Step 5 and 7, "Default to billable" toggle is enabled.
Actual Result:
In Step 5 and 7, "Default to billable" toggle is disabled when it is toggled on during creation. It cannot be toggled on in split details page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6328518_1703867572502.20231229_205310.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupaneThe text was updated successfully, but these errors were encountered: