Open Deve1980 opened 4 years ago
Hi Noor, I've tested it and there's a couple of things to fix. a link in home view to add the new user and a way to generate a unique id
The Link to the add-user view should be shown in the home-view layout. It throws out an error when I try to add a user with all input fields filled - I am not sure why. Perhaps connected to the backend?
@VernitaJ There is already a button but I missed add it when I make PR. For the error, I removed the user id from post request just to have an error msg. I re added user id to the request.
@paulatorre for now we are using the user name as an user id, may be we can generate user id by using his email.
I was able to submit a user (the success graphic was really great), but then I couldn't exit from the page (via the go home button) without refreshing. There was form validation still being applied under the button and on the form
We can create a new user. Popup msg will alert when we have two cases 1.Success msg 2.Error msg I still work on this popup msg box. There is a need to add loading indicator while it's sending post request