Make error and success message user friendly during username update
What does this MR do and why?
Make error and success message user friendly during username update. Currently success and error messages both shows up as alert at the top but user aren't aware of it.
Now (check after video)
- shows toast message for success
- shows error message below input field for error
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen Recording 2025-12-16 at 11.41.34.mov | Screen Recording 2025-12-16 at 11.42.25.mov |
How to set up and validate locally
- Checkout this branch and run gdk locally
- Go to update profile page eg: http://gdk.local/-/user_settings/profile
- Try updating username with special character on the front eg: %root
- Notice the error message appearing below the username input field
- Try updating username to valid value eg: username100
- Notice the success toast message
Edited by Rinku C