-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Web - Settings - Save button looks clickable after changing and saving preferred pronoun(s) #8364
Comments
Triggered auto assignment to @yuwenmemon ( |
Sorry, not update here but will take a look soon. |
Issue not reproducible during KI retests. (First week) |
Can't reproduce locally either. Closing! |
Having a similar issue with the save button still being green after updates have been made. Skip to the 20-second mark of the vid below. 2022-10-24_07-56-07.mp4@kbecciv , can you see if you're able to reproduce. |
@mallenexpensify Checking, update you shortly. |
I'm able to reproduce it with build 1.2.18.5 Recording.1502.mp4 |
Thanks @kbecciv |
@yuwenmemon , can you confirm this can/can't be External plz? |
I think my wording isn't/wasn't clear.
|
Looks like I forgot to create Upwork job earlier, just did and doubled price to $500 |
Makes sense, thanks |
@eVoloshchak @mallenexpensify is this issue still up for grabs? |
@vincentrohde All issues with |
When I visit the profile page https://staging.new.expensify.com/settings/profile, the save button always looks clickable it doesn't matter if we change anything. |
Issue #8364 ProposalAuthor: @tleriasProposal:The Problem: Option 1: Add a form alert.We can leave the Submit button "saturated" but display a form error message explaining that the user has not made any changes. Technical Approach: We can add a validation to check the previous state with the current state to see if any fields have changed. We potentially can use the touchedInput state field here as well. If no fields have changed, then we display an error message just above the Submit button to the user. Recommended Option 2: Disable the Save Button for all Forms when the user has not made any changes.We can disable the save button if the user has not made any changes to the form. Note: this will change the behavior wherever the Form component is used, therefore we should change the FORMS.md readme in this case. Technical Approach: We add an I recommend this approach because it will be the cleanest code to add and will be available on all forms. Option 3: Disable the Save Button for just the Profile form.We can disable the save button if the user has not made any changes to only the Profile form. Note this will add some extra conditionals to the code base which doesn't really make sense to make it work for just this one form. This is also a problem on other forms (like the Change Password Form). Technical Approach: This technical approach will be the same for Option 2, but I will have to add in additional checks to see which form the user is on. I do not recommend this approach, though left it here as an option to show it has been thought through. Thanks for the opportunity to submit a proposal! |
@mallenexpensify , I sent an email to join the slack group so I can contribute......still yet to get a response |
@tlerias , thank you for the proposal
@mallenexpensify , is this change needs to be implemented only for the Profile page? |
@sketchydroide what do you think? I feel like #3 is safer, to ensure we don't maybe mess something up but, #3 seems like how it should always work... right?!?! |
Triggered auto assignment to @trjExpensify ( |
@trjExpensify Reassigning as I'm heading OOO for a month |
👋 I don't think this is a problem as stated:
Here in our Forms.MD we describe the behaviour of the save button, specifically, that it's not disabled or blocked from being pressed.
Before the API refactors, you would get a growl onPress for feedback that the changes have been saved. With that initiative the growls went away to facilitate taking an optimistic action and adding the red brick road (RBR) error message in-line if it happens to fail. Further, we're going to change this page quite considerably soon as part of N7 account settings, so it follows the push-to-page pattern. (CC: @Beamanator, @twisterdotcom, @zanyrenney). In the meantime, recognising the UX isn't great in the limbo period, I think we take a similar minimal approach to what we discussed for the Thoughts? |
I agree with this. Great point. |
In all honesty I think the button should no be visible is there are no changes to save, if there is no action the user can take, then there should be no action visible. So the rule of no button never being disabled would work. |
Yeah, this page won't exist soon enough. Do you agree with minimally doing the below, like we will on the workspace > general settings page?
|
FYI there's 5 new pages that are being built (push-to-page style) to replace the Profile page. They are:
The first 3 can probably be done by end of next week, then we can put them all on the current Profile Page proooobably, wait for #passwordless for point 4, and wait for WAQ to be "done" for point 5 |
Ah nice, so those are in the works. Do you agree with do nothing then and close this issue? |
Oh nice, this sounds like a really good plan btw. |
So what's the story on removing the custom option? Are we removing that in this PR? Or is that being separated off to it's own distinct project? I think latter is probably the most logical at this point, though wanted to confirm. cc @zanyrenney (I tried to find Ted Harris via his username but nothing was coming up). |
@twisterdotcom likes to be sneaky with his GH username 😉
I like this idea, implementing the page w/out the custom pronoun till we figure out exactly what we want to do there - this way we can implement the Pronouns page quite quickly 👍 |
Circling back to this issue. Do we agree to close it and not make any changes in the interim given that the re-design to pronouns is on its way? |
Agree 👍 (close b/c we won't have a save button soon) |
Perfecto, thank ya'll! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
I expected the Save button to have a faded green "greyed out" appearance.
Actual Result:
Button looks clickable due to its saturated green color.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.46.2
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): [email protected]/1q2w3e$R
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Updated vid on 2022-11-02
Recording.1502.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause (Exploratory)
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: