-
Notifications
You must be signed in to change notification settings - Fork 47
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
Editing account information. #9
Comments
i would like to work on this. which api should i use to edit user info? |
@Dvik the current user info can be read and updated using |
Can we modify the updateUserAccount() function in UserController.java file for doing this? |
Should a different view be created for editing account info or an EditText be used in the same view? |
@krishnarb3 You should create a new method in controller which will create a PUT request to /api/me/user-account/ through DhisApi class (retrofit interface) in order to update account details. |
@Dvik Each row in profile screen's RecyclerView should contain corresponding View for getting user input. It can be EditText, CheckBox, RadioButtons, etc. It really depends on type of field: if it is first name or email, then it should be EditText, if it is gender then it should be a radio button or dropdown. |
We send gender as "gender_male" in the request and display it as "Male". |
I have added Editing Account Information , please report if there are errors / fixes to be made or changed |
Is this issue sorted ? |
@Rishabhmishra328 Hi, we already have a student working on it. |
Hi! Due to a lack of activity on this issue over time (7.776*10^9 ms and counting, to be precise) it seems to be stale. If there is no further progress on it, it will be closed automatically. If this is still relevant, maybe there is something you can do to move it forward? For example provide further information in a comment, or supply a PR? Any activity on this issue will keep it open. Thanks! 🤖 |
Now application allows only to view account details (read only). But we also want dashboard application to enable user to update account details.
The text was updated successfully, but these errors were encountered: