Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Add Image Slide Viewer & Image Viewer Header #11

Merged
merged 18 commits into from
Dec 15, 2015
Merged

Add Image Slide Viewer & Image Viewer Header #11

merged 18 commits into from
Dec 15, 2015

Conversation

samsep
Copy link
Contributor

@samsep samsep commented Dec 10, 2015

vm.files = [
{
fileId: "abc",
path: "work/1447877190406-e9c02ed7-00bf-4e52-8c57-4d73fec009ac/9be085da-2013-44e9-8701-507a03c6716e/Screen Shot 2015-12-01 at 1.13.17 PM.png",
Copy link
Contributor

Choose a reason for hiding this comment

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

put files into an example/images and use that instead

vm.toggleComments = $scope.toggleComments

vm.generateProfileUrl = (handle) ->
"https://www.topcoder.com/members/#{handle}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this use "API_URL" constant, or do we only every hit topcoder.com for the profiles?

Copy link
Contributor

Choose a reason for hiding this comment

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

also, is this for the avatar? if so, the logic should be in the avatar element

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aselbie the latter, it actually opens their profile page in a new tab. @vietnogi keeping the logic on the controller for now to keep avatar more versatile (not every avatar would have this functionality)

@vietnogi
Copy link
Contributor

couldn't the avatar have an option to toggle if its a link or not?

@samsep
Copy link
Contributor Author

samsep commented Dec 15, 2015

yeah will refactor this later

samsep added a commit that referenced this pull request Dec 15, 2015
Add Image Slide Viewer & Image Viewer Header
@samsep samsep merged commit 3c5a2cf into master Dec 15, 2015
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.

3 participants