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

0.23.0/no-editing-on-profile-page #1465

Merged
merged 2 commits into from
Jan 14, 2015
Merged

0.23.0/no-editing-on-profile-page #1465

merged 2 commits into from
Jan 14, 2015

Conversation

brianjgeiger
Copy link
Collaborator

Purpose

Force a user to go to user settings page in order to update a profile

Changes

Users who change their name on their user profile page do not see that there is an additional step of updating the name parts, and this has caused confusion on multiple occasions such as when Lyndsy was demoing the citation modifications and didn't realize that the name needed changing in multiple ways. This eliminates the ability for a user to make profile modifications on the profile page, and instead takes them to the settings page for such changes. I had to make some changes to the knockout which wasn't really expecting to have a situation where you would have a view-only version of the page even if the user had the capability to edit their own info. It was almost there, but there were some assumptions based on what we had currently implemented that were not correct.

For a logged in user, the current profile page now looks like this:
screen shot 2015-01-08 at 3 37 52 pm

Clicking the edit this profile link will take them to:
screen shot 2015-01-08 at 3 18 29 pm

If you aren't logged in, the profile page for a user will look like:
screen shot 2015-01-08 at 3 18 56 pm

Side effects

I think this is relatively self-contained. As long as permissions are maintained properly, a user shouldn't be able to edit on the profile page, changes made on the user settings page should show properly in the profile page, and users who aren't the current user should still be incapable of editing another user's info. We don't have profile picture on the setting page, so I maintain the dialog box directing users to gravatar from the profile page if the user is currently logged in.

Users who change their name on their user profile page do not see that there is an additional step of updating the name parts, and this has caused confusion on multiple occasions such as when Lyndsy was demoing the citation modifications and didn't realize that the name needed changing in multiple ways. This eliminates the ability for a user to make profile modifications on the profile page, and instead takes them to the settings page for such changes.  I had to make some changes to the knockout which wasn't really expecting to have a situation where you would have a view-only version of the page even if the user had the capability to edit their own info. It was almost there, but there were some assumptions based on what we had currently implemented that were not correct.
@JeffSpies
Copy link
Contributor

Nice. How about "Edit your profile"?

@brianjgeiger
Copy link
Collaborator Author

Sure

@sloria sloria added this to the 0.23.0 (CommonJS) milestone Jan 12, 2015
@sloria sloria merged commit dc15025 into CenterForOpenScience:release/0.23.0 Jan 14, 2015
@brianjgeiger brianjgeiger deleted the 0.23.0/profile-edit-link branch January 16, 2015 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants