-
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-31] [$500] Settings - On clear after never, status save does not work #33168
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @johnmlee101 ( |
FYI, another status bug was raised here. Perhaps both were caused by the same PR |
az## Proposal Please re-state the problem that we are trying to solve in this issue.After selecting NEVER as the clear after value and saving it, trying to update the status emoji/message doesn't work anymore. What is the root cause of that problem?If we select NEVER as the clear after value, we will save it as an empty string and so does the BE return it as an empty string. App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 82 to 86 in 6fc070b
When we try to update again by changing the emoji/message, it will fail here because App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 75 to 80 in 6fc070b
What changes do you think we should make in order to solve the problem?We should fall back the value of
What alternative solutions did you explore? (Optional)The question that might arise is, why the error message doesn't show? It's because App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 63 to 67 in e2eca1b
So, another way to fix is, return early only if clear after value is not empty.
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Once we set a status with clear never option, updating status again isn't working What is the root cause of that problem?For a clear after App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 82 to 86 in 990815f
But on mount while setting the draft status we are not using an empty string as App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 108 to 113 in 990815f
What changes do you think we should make in order to solve the problem?On mount logic consider an empty string as a value
|
We discussed here and decided this isn't a deploy blocker since it's a back-end issue |
Marking this as |
Job added to Upwork: https://www.upwork.com/jobs/~01c57d019eaab2d964 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia ( |
@jasperhuangg isn't this a front-end issue where we are not setting the correct value for draft status |
@johnmlee101, @thesahindia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@johnmlee101, @thesahindia 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@johnmlee101, @thesahindia 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@johnmlee101, @thesahindia 12 days overdue now... This issue's end is nigh! |
1 similar comment
@johnmlee101, @thesahindia 12 days overdue now... This issue's end is nigh! |
@Pujan92 I've asked for clarification with @stitesExpensify since he's been in charge of the back-end fix for this. |
ProposalPlease re-state the problem that we are trying to solve in this issue.App does nothing on click on save when clear after is set to Never on last save What is the root cause of that problem?We have inconsistency between FE and BE when we set
So that we should accept both values: 'never' and empty string for this case
But here we don't check if clearAfterTime isn't empty string What changes do you think we should make in order to solve the problem?I think we only should make it consistent and only use one value: "never" or empty string for both FE and BE
What alternative solutions did you explore? (Optional)NA |
Missed the notification for this! Will review the proposals today! |
@bernhardoj's proposal will do the job! 🎀 👀 🎀 C+ reviewed |
Current assignees @johnmlee101 and @stitesExpensify are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @thesahindia |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.30-1 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-31. 🎊 For reference, here are some details about the assignees on this issue:
|
Holding on payment still |
Issue is ready for payment but no BZ is assigned. @adelekennedy you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payouts due: Contributor: $500 @bernhardoj (Upwork) Upwork job is here. |
$500 approved for @thesahindia |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.4.13-4
Reproducible in staging?: y
Reproducible in production?: n
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:
App should save the status on click on save on status page
Actual Result:
App does nothing on click on save when clear after is set to Never on last save
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6314365_1702637389033.ios_native_-_clear_after_never_save_not_working.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: