Skip to content
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

Open
arazabishov opened this issue Jul 29, 2015 · 11 comments
Open

Editing account information. #9

arazabishov opened this issue Jul 29, 2015 · 11 comments

Comments

@arazabishov
Copy link
Contributor

Now application allows only to view account details (read only). But we also want dashboard application to enable user to update account details.

@Dvik
Copy link

Dvik commented Mar 3, 2016

i would like to work on this. which api should i use to edit user info?

@nicolayr
Copy link

nicolayr commented Mar 3, 2016

@Dvik the current user info can be read and updated using /api/me/user-account
See the developer documentation and in particular the chapter about current user information for more details.

@krishnarb3
Copy link

Can we modify the updateUserAccount() function in UserController.java file for doing this?
And also should we add the call in DhisApi.java like the others that are already present in that file?

@Dvik
Copy link

Dvik commented Mar 4, 2016

Should a different view be created for editing account info or an EditText be used in the same view?

@arazabishov
Copy link
Contributor Author

@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.

@arazabishov
Copy link
Contributor Author

@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.

@krishnarb3
Copy link

We send gender as "gender_male" in the request and display it as "Male".
Is there a specific reason or can we send as "Male" in the request.

@krishnarb3
Copy link

I have added Editing Account Information , please report if there are errors / fixes to be made or changed

@Rishabhmishra328
Copy link

Is this issue sorted ?

@arazabishov
Copy link
Contributor Author

@Rishabhmishra328 Hi, we already have a student working on it.

@stale
Copy link

stale bot commented Apr 4, 2019

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! 🤖

@stale stale bot added the stale label Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants