-
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
[PAID] [$500] Status - Custom time page loads infinitely in offline mode #33369
Comments
Triggered auto assignment to @strepanier03 ( |
Job added to Upwork: https://www.upwork.com/jobs/~01ab5fa243901ed9cb |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Status - Custom time page loads infinitely in offline mode What is the root cause of that problem?
App/src/pages/settings/Profile/CustomStatus/SetTimePage.js Lines 36 to 38 in 88631a0
This will keep on loading when offline What changes do you think we should make in order to solve the problem?We should add a |
ProposalPlease re-state the problem that we are trying to solve in this issue.Time selection page loads infinitely What is the root cause of that problem?When we offline without private personal detail, the loading page is show here
What changes do you think we should make in order to solve the problem?I think on this page, we want to get We should get
And we can display loading page when We should update other custom status pages with this approach. What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.In offline, the status timer is always loading. What is the root cause of that problem?We are checking for the App/src/pages/settings/Profile/CustomStatus/SetTimePage.js Lines 36 to 38 in 88631a0
What changes do you think we should make in order to solve the problem?I've checked the code – the value of We can remove this piece of code as well as all the code related to the App/src/pages/settings/Profile/CustomStatus/SetTimePage.js Lines 36 to 38 in 88631a0
What alternative solutions did you explore? (Optional) |
Proposal from @paultsimura looks good to me #33369 (comment) |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@narefyev91 I think we should get |
This looks more like re-inventing the wheel. App/src/types/onyx/PrivatePersonalDetails.ts Lines 9 to 19 in 0a1bae4
The status has a dedicated Onyx key: App/src/types/onyx/CustomStatusDraft.ts Lines 1 to 10 in 278183e
And if using this key causes trouble with deep links or whatever else, it should be handled properly in a separate task. But we clearly shouldn't mix private personal details and status. |
The |
The reason why App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 49 to 57 in 08a9677
I don't see any benefit from using the |
I agree with @narefyev91. Thank you @paultsimura and @dukenv0307 for your proposal's and discussion, it has helped me understand this part of the codebase better. I think @paultsimura's proposal seems best for this particular situation. Assigning. Looking forward to the PR! |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Thanks. The PR is ready for review: #33440 |
|
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:
|
Payment has been handled and part of the checklist. I'll check here tomorrow for the rest of the checklist responses and close when that's finished up. |
@paultsimura @narefyev91 - Do we need to do the regresssion test at all? I think not because an indefinite load would be caught with normal testing. I plan to close this tomorrow if I don't hear from you. |
From my POV, no regression test is needed here as the issue was caused by redundant code missed during the initial feature development (I'm not a C+ though). |
Thank you @paultsimura - I'm going to close this and if a reg test is needed we can reopen and I'll take care of it. |
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.14-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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Time selection page will open without issue
Actual Result:
Time selection page loads infinitely
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6321550_1703091917140.bandicam_2023-12-20_21-58-55-875.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: