-
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] [LOW] [$500] Settings – Cleared status is visible if press save button #33735
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0166fc8d8a8bf48267 |
Triggered auto assignment to @strepanier03 ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.Initial emoji is visible if press save button. What is the root cause of that problem?The root cause is that we reset the
What changes do you think we should make in order to solve the problem?We need to change this line
to
screen-capture.2.webm |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cleared status is visible if press save button What is the root cause of that problem?When we clear the status, the form will be reset here, the emoji is reset to the default emoji. And when we press 'Save', it will save the new status with the default emoji. This is not expected because status with default emoji is just as good as no status at all. What changes do you think we should make in order to solve the problem?
We should modify in
(Can remove What alternative solutions did you explore? (Optional)If the user saves a status with empty string emoji code and a text, automatically set the status emoji (when submitting) to our current |
My solution same like @unicorndev-727 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Default status has been set when we click on Save after clearing it What is the root cause of that problem?When we click on Save button we reset the status and emoji code. So when we click save post clearing the status it considers the default emoji code as a new status and saves it. What changes do you think we should make in order to solve the problem?We should navigate to the previous screen after clearing the status when the user press ResultScreen.Recording.2023-12-29.at.15.59.41.mov |
@strepanier03, @Ollyws Whoops! This issue is 2 days overdue. Let's get this updated quick! |
1 similar comment
@strepanier03, @Ollyws Whoops! This issue is 2 days overdue. Let's get this updated quick! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Settings – Cleared status is visible if press save button What is the root cause of that problem?UX issue. After status is cleared, user think the save button is for saved the clear action. What changes do you think we should make in order to solve the problem?Hide the "Save" button when user click on "Clear status". App/src/pages/settings/Profile/CustomStatus/StatusPage.js Lines 140 to 149 in 320ff54
|
I think @dukenv0307's proposal to add an error message if the status text is empty and emoji is default is most in line with the app's design principles but It would be great if we could get a second opinion from @Expensify/design on this one. |
@Ollyws the proposal by dukenv0307 will not work when the user pick this icon 💬 from the emojiPicker it's used as default icons too, so the condition is always true. |
I think we try to avoid conditionally showing/hiding UI when possible. So that being said, part of me thinks we should just show "Clear status" at all times, the same way we always show a form submit button at all times. Curious what the @Expensify/design thinks about that. Otherwise let's just fix the issue and not flash the "Clear status" row when you hit the save button. |
@shawnborton Thanks for the feedback. |
I think if the user hits Save and the status is empty, we just save the empty status and head back to the previous page. |
I think the weirdness here comes from thinking that you need to press Save after pressing Clear status to make it "stick". I did this about 5 times this morning before I figured out I just needed to press Clear status 😅. I'm not sure I'm 100% understanding the proposal, but I don't think we should show any error messages on this status form. There is no wrong/invalid status. A simple solution might be to dismiss the pane after you click Clear status, the same way we dismiss the pane after you save a status? |
I don't mind that, though I suppose you might be clearing your status so that you can change it for a new one right? |
The problem is when we "clear" the status we're not setting it to be empty in the form (even though we're setting it to be empty for the app). In the form, we're setting it to be "💬". So there's no possible way to save an empty status. |
Actually clear status button already resets the status, so I suggested in my proposal to navigate back when user presses clear status. Screen.Recording.2023-12-29.at.15.59.41.mov |
I think I'm in favor of that solution. I agree that you might be clearing your status to set a new one... but you can also just change it and press save without clearing it first. Navigating away feels like the simplest/cleanest/most clear solution to me. |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@amyevans @strepanier03 @Ollyws @dukenv0307 this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
What's the update here? Should we pick a different proposal? |
PR being worked on, I will raise PR today |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-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 2024-02-07. 🎊 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:
|
BugZero Checklist:
The functionality was originally added in #24620 but it seemed to be intentional rather than a bug.
N/A
N/A
Yes
Do we agree 👍 or 👎 |
All right, everyone's been paid and contracts closed. Thank you all! |
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: 1.4.19-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:
Action Performed:
Expected Result:
Cleared status is not visible if press save button
Actual Result:
Cleared status is visible if press save button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6327946_1703805265392.Status.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: