kids-first / kf-persona

kids-first persona implementation
Apache License 2.0
0 stars 0 forks source link

Error notification is incorrectly managed (profile page, public status switch) #74

Closed evans-g-crsj closed 4 years ago

evans-g-crsj commented 4 years ago

When a user changes it's profile status (private or public) errors can occurs. For instance, is the user account is deactivated the profile is switched to 'private' automatically. If the user tries to make its profile public then an error message is shown.

They are currently two problems with this message : the message is too generic and does not use the message transmitted by the server. Secondly, the message is not correctly clean by the component. If the message appears, is closed by the user, then the user visits another page and comeback then the message is still showing...

So, the following must be corrected :

1 Show the message given by the server. Which makes the situation clearer to the user. 2 Clean the error so that when the users closes the pop-up it doesn't show.

screenshotProfileStatusError.png