Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

fix(avatars): show a spinner icon when loading images with latency #1666

Merged
merged 2 commits into from
Sep 23, 2014

Conversation

zaach
Copy link
Contributor

@zaach zaach commented Sep 18, 2014

This refactors the button progress indicator into something more generic and uses that to implement progress indicators for profile image loading.

Fixes #1527.

@shane-tomlinson or @nchapman r?

img.src = src;
img.onload = imgOnload;
img.onerror = imgOnerrer;
console.log('src', event, src);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to leave the console.log?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops!

@zaach zaach added the WIP label Sep 18, 2014
@zaach
Copy link
Contributor Author

zaach commented Sep 18, 2014

@shane-tomlinson Hmm, the camera view is still having problems in Chrome that I need to figure out.

@zaach zaach force-pushed the issue-1527-avatar-load-transition branch 2 times, most recently from 7afa78a to e347e3d Compare September 22, 2014 21:45
@zaach zaach force-pushed the issue-1527-avatar-load-transition branch 2 times, most recently from 64a63af to 9b12345 Compare September 22, 2014 22:09
@zaach zaach removed the WIP label Sep 22, 2014
@zaach
Copy link
Contributor Author

zaach commented Sep 22, 2014

Okay, this is ready for review.

This refactors the button progress indicator into something more generic
and uses that to implement progress indicators for profile image loading.

Fixes #1527.
@zaach zaach force-pushed the issue-1527-avatar-load-transition branch from 9b12345 to ae1e17f Compare September 22, 2014 22:41
@ckarlof ckarlof added this to the train-22 (Sep 22) milestone Sep 22, 2014
@zaach zaach changed the title Issue 1527 avatar load transition fix(avatars): show a spinner icon when loading images with latency Sep 22, 2014
ckarlof added a commit that referenced this pull request Sep 23, 2014
fix(avatars): show a spinner icon when loading images with latency

fixes #1527
r=ckarlof
@ckarlof ckarlof merged commit 71db227 into master Sep 23, 2014
@ckarlof ckarlof deleted the issue-1527-avatar-load-transition branch September 23, 2014 00:21
@ckarlof
Copy link
Contributor

ckarlof commented Sep 23, 2014

Hard to test locally, so let's get it into latest to see it go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avatar loading transition
3 participants