Mentorship-android: Bug: Save not working when no changes detected in Edit Profile

Created on 29 Mar 2020  路  10Comments  路  Source: anitab-org/mentorship-android

Describe the bug
When the profile undergoes no change, then the user will want to save the current state of the app

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Profile'
  2. Click on 'Edit'
  3. Click on "Save"
  4. See error

Expected behavior
The user should be able to exit the dialog box on clicking save, without any changes being performed

Screenshots
ezgif com-video-to-gif (2)

Smartphone (please complete the following information):

  • Device: [OPPO F11 09]

May I work on fixing this?

Coding Enhancement

Most helpful comment

Yes you can work on this @Kavya-24 ! I read the discussion, and I am not sure about the best away to do it. But I like @Priyansh-Kedia on disabling the button for sure.

All 10 comments

Hey @Kavya-24
I think this issue should be solved by disabling the save button when no changes have been made.
This would help improving the user experience as save button on no data change can be a little misguiding.
Correct me if I am wrong @isabelcosta @m-murad

Hi @Kavya-24 @Priyansh-Kedia its not an error , after saving the modification, there is a REFRESH button at the top right corner where three dots are there, so if you press that refresh button , you will see all the changes will get reflected In your profile .

When the user clicks at the edit profile option, and does not make any changes in it, then on clicking the "save" button, he should be able to save the data. In other words the dialog box should simply dismiss. #680 is on that.

Oh!! @Kavya-24 my bad, I didn't understand it well. But I think if there is no change in your profile then it would be fine to just use a Cancel button but yeah, you then never know the behavior of your user of the app

@Kavya-24
I think the save button should be disabled if no change have been made as enabling the save button even if the user has not made any changes can be a little misguiding.
What do you think?

Oh!! @Kavya-24 my bad, I didn't understand it well. But I think if there is no change in your profile then it would be fine to just use a Cancel button but yeah, you then never know the behavior of your user of the app

Yes, the user might expect the "Save" to work as well

@Kavya-24
I think the save button should be disabled if no change have been made as enabling the save button even if the user has not made any changes can be a little misguiding.
What do you think?

Yes, it can be ambiguous to have "save" enabled in case no change is observed. "Save" can be disabled in that case. Or, the edit dialog box can be simply dismissed on no change when "save" is clicked :D

@isabelcosta @m-murad @foongminwong Can I work on this?

@isabelcosta Can I work on this?

Yes you can work on this @Kavya-24 ! I read the discussion, and I am not sure about the best away to do it. But I like @Priyansh-Kedia on disabling the button for sure.

Was this page helpful?
0 / 5 - 0 ratings