-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-08-17] [$1000] The 'unit' in the track distance in offline mode doesn't change to kilometers #17198
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Oh, interesting! I can reproduce this. You don't have to create a new workspace either. It's simply just not possible to change the Going to add |
Triggered auto assignment to @amyevans ( |
@amyevans do you have any thoughts on this one? Will it need to be |
Oops, sorry I missed this earlier in the week! Interesting, so we're hitting this block: App/src/pages/workspace/reimburse/WorkspaceReimburseView.js Lines 168 to 173 in ea3d656
and return early. That is hit because when we create a workspace optimistically on the FE, this is the only data generated: And it isn't until we call I think to fully support changing the distance unit on a new workspace while offline, we'd have to generate custom unit IDs on the FE, which sounds like a bigger undertaking than is prudent for the scope of a bug report. I see we use the Offline with Feedback (50% opacity) pattern on the Workspace Initial Page when generated offline though, so maybe we should just be properly extending that pattern to the Reimburse Expenses page. Does that sound right to you @trjExpensify? If so, we should be fine to open up to External I think. |
@amyevans, @trjExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Nice, thanks Amy!
Yeah, creating a workspace is Pattern B. What do you mean by extending it to the reimburse expenses page? As in, allow them to set a rate and change the unit like they can invite a member on the |
I mean that, currently, the reimburse expenses page is full opacity when offline: And for what it's worth looking at the code, we do already have the |
Anyway let's label |
Job added to Upwork: https://www.upwork.com/jobs/~01cc512639a78229d9 |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Can you explain a bit more on that one @ShogunFire? We don't need to account for the push to page aspect anymore, but I don't think we're doing optimistic customUnit IDs yet? |
Sorry @trjExpensify you are right, the problem is still here |
👋 @amyevans any cycles for this one? |
Last week was harder with some OOO days, but I'm planning to dedicate some time here this week |
Niceee! Did you get a chance? Interestingly, it came up again here recently. |
I haven't put a ton of time into it yet, but I've done a bit of research. It looks like we generate the distance custom unit in Web-E here. I'm not sure if we should be duplicating all of the logic in App now (default distance category based on IP, default IRS rate, etc) or only generating the IDs 🤔 |
Started some very rough draft PRs: |
PRs are ready to go for real now 🌮 |
Niceee! Thanks, @amyevans :) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.52-5 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-08-17. 🎊 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:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
Okay, so time to settle up! Confirming payments as:
Offers sent! |
@fedirjh, paid! |
@priya-zha - paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Kilometers should be selected upon clicking kilometers in the unit dropdown
Actual Result:
The kilometer is not selected on clicking kilometers in the unit dropdown
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.97-2
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
error-2023-04-08_20.24.12.mp4
Recording.174.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680965013944919
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: