-
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-06-13] [$250] [QBO] "Last synced just now" text doesn't update #41045
Comments
Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new. |
Haven't moved this on yet, as I think we might need to hold on: https://github.com/Expensify/Web-Expensify/pull/41822 |
Confirmed we don't need a hold on those PRs, moving it on. |
Job added to Upwork: https://www.upwork.com/jobs/~016f30631fa560635c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Despite hours elapsing the text still reads: "Last synced just now" even after a page refresh, suggesting this is just a static value currently. What is the root cause of that problem?We're showing App/src/pages/workspace/accounting/PolicyAccountingPage.tsx Lines 98 to 100 in 42d4ed7
and it's just a static value What changes do you think we should make in order to solve the problem?
We can update this value every 10 mins (5 mins, ...) What alternative solutions did you explore? (Optional)NA |
The logic to calculate the difference in time is quite simple (use |
@tienifr you can get the value from |
@aldo-expensify Ah I see, thank you! I'll use it in PR phase. @Ollyws Wdyt about my proposal? |
Hi, I'm Eto from Callstack - expert contributor group - and I would like to take care of this issue. |
@trjExpensify Can you assign me on this issue so I'll raise the PR? |
Let's have the proposal reviewed. CC: @mountiny for vis as I was just talking to yah about this one |
Having a look now.... |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mountiny you happy with this proposal? Let's get a PR up for it. |
@tienifr please go ahead and raise the PR |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This issue has not been updated in over 15 days. @Ollyws, @trjExpensify, @mountiny, @tienifr eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Commented in the PR that's held, I think we can switch the base and merge it into the QBO branch |
Done |
Solid, thank yah! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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-06-13. 🎊 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:
|
Requested in ND. |
$250 approved for @Ollyws |
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.66-0
Reproducible in staging?: Y
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: @trjExpensify
Slack conversation: https://expensify.slack.com/archives/C036QM0SLJK/p1714057390428649?thread_ts=1714057353.559839&cid=C036QM0SLJK
Action Performed:
Expected Result:
On OldDot the way we handle it is by checking the
lastSync
timestamp from the policy on page load, and then compute a human-friendly time difference with it. Every time you/auto-sync syncs the connection it's updated here.Actual Result:
Despite hours elapsing the text still reads: "Last synced just now" even after a page refresh, suggesting this is just a static value currently.
Workaround:
N/A
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
CC: @hayata-suenaga @aldo-expensify @teneeto @narefyev91 @zanyrenney
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: