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

User Onboarding - Upload Profile Image Component #5334

Closed
ErisDS opened this issue May 25, 2015 · 0 comments · Fixed by #5355
Closed

User Onboarding - Upload Profile Image Component #5334

ErisDS opened this issue May 25, 2015 · 0 comments · Fixed by #5355
Assignees
Labels
affects:admin Anything relating to Ghost Admin
Milestone

Comments

@ErisDS
Copy link
Member

ErisDS commented May 25, 2015

This is part of the User Onboarding epic: #5315


Both the signup, and setup screens feature this new upload component:

It comprises both a small circular thumbnail image, and an email input. When you enter an email, if it matches a gravatar, the gravatar image is pulled in:

If you mouseover the image, you'll see an overlay with the upload icon appearing:

Clicking on this icon/overlay should open a file dialog to trigger an image upload. Dragging an image to the icon/overlay should also trigger an upload. There should be no intermediary modal as we currently have for uploads in the admin UI.

The hierarchy here is that the Ghost logo shows (but is not used as the user's image) until either a gravatar image is loaded via the email, or an image is uploaded. An uploaded image always takes precedent over a gravatar image, even if a new email address is entered.

The behaviour for fetching the gravatar is hardcoded into the setup screen as of the PR #5316. This needs to be broken out into a reusable component. The image upload behaviour is currently completely missing.

The ideal here would be to build a flexible new upload component in ember, that can be optionally tied to an email field in order to layer the gravatar behaviour in as well. Bonus points if the image uploader uses blueimp's preview feature to display the image whilst it is being uploaded in the background 😉

@ErisDS ErisDS added installation affects:admin Anything relating to Ghost Admin labels May 25, 2015
@ErisDS ErisDS added this to the Current Backlog milestone May 25, 2015
acburdine added a commit to acburdine/Ghost that referenced this issue May 28, 2015
closes TryGhost#5334
- adds component for profile images (with optional gravatar)
@ErisDS ErisDS modified the milestones: Current Backlog, Zelda Jun 2, 2015
acburdine added a commit to acburdine/Ghost that referenced this issue Jul 5, 2015
closes TryGhost#5334
- adds component for profile images (with optional gravatar)
- integrates image profile component into setup form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants