-
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-01-03] [$500] Distance - Save button is unresponsive when adding, saving, then removing new point offline #32397
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e1d8e03c3ce30d53 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Save button is unresponsive when adding, saving, then removing new point offline What is the root cause of that problem?When we change the waypoint the first time, Line 750 in 1682be4
And we do nothing here if App/src/components/DistanceRequest/index.js Line 181 in 1682be4
What changes do you think we should make in order to solve the problem?We can allow saving waypoint if we are offline even What alternative solutions did you explore? (Optional)We can disable edit address and save waypoint if |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - Save button is unresponsive when adding, saving, then removing new point offline What is the root cause of that problem?On first request in offline mode like saving, deleting, or editing the request, we change Line 750 in 1682be4
and on the next request App/src/components/DistanceRequest/index.js Line 181 in 1682be4
What changes do you think we should make in order to solve the problem?We have to skip checking isLoading in offline mode if (_.size(validatedWaypoints) < 2 || hasRouteError || isLoadingRoute || (isLoading && !isOffline)) {
setHasError(true);
return;
} What alternative solutions did you explore? (Optional) |
📣 @VenusWhisperer! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - Save button is unresponsive when adding, saving, then removing new point offline What is the root cause of that problem?When editing distance request the first time, isLoading field will be true App/src/components/DistanceRequest/index.js Lines 179 to 186 in 1682be4
If isLoading is true we do nothing when clicking the save button. What changes do you think we should make in order to solve the problem?
use it in here App/src/components/DistanceRequest/index.js Line 181 in 1682be4
and add isDisabled props like this isDisabled={isDisableButton} in save button
What alternative solutions did you explore? (Optional) |
Hey @robertKozik - are you able to review these proposals? |
@sophiepintoraetz, @robertKozik Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@allroundexperts is jumping in! 🙏 |
Thanks for the proposals everyone. All the proposals have the same RCA. @DylanDylann I think the idea was to never disable the save button in offline mode as can be seen clearly here. I like the solution proposed by @dukenv0307 since it is inline with how we're handling the disabling of button here. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @flodnv, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Oh just seeing this now. I'll review today. |
@neil-marcellini @allroundexperts @sophiepintoraetz this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
I agree, hiring! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@allroundexperts The PR is ready for review. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.17-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-01-03. 🎊 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.
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:
|
@dukenv0307 has been paid. |
Checklist
Regression Test
Do we 👍 or 👎 ? |
Payment summary - $500 to @allroundexperts |
$500 approved for @allroundexperts based on comment above. |
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: 1.4.7-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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #31340
Action Performed:
Expected Result:
The new distance will be saved
Actual Result:
Nothing happens when clicking on Save button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6298236_1701490520825.20231202_023135.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @robertKozikThe text was updated successfully, but these errors were encountered: