Add required bindings to the like count container. closes #562#568
Merged
weblancaster merged 2 commits intoSoundnode:masterfrom Feb 19, 2016
vladjerca:feature/click_heart_to_like
Merged
Add required bindings to the like count container. closes #562#568weblancaster merged 2 commits intoSoundnode:masterfrom vladjerca:feature/click_heart_to_like
weblancaster merged 2 commits intoSoundnode:masterfrom
vladjerca:feature/click_heart_to_like
Conversation
Contributor
vladjerca
commented
Jan 29, 2016
- clicking the count container will now trigger the like song event
- SCSS has been updated in order to set the active color after the song is liked
- clicking the count container will now trigger the like song event - SCSS has been updated in order to set the active color after the song is liked
app/views/track/track.html
Outdated
Member
There was a problem hiding this comment.
why do we have ng-click="changeLike()" but isn't being used.
Member
|
@vladjerca the heart state changes but theres a couple of things I noticed.. the number/counter doesn't change.. also there is a piece of code not in use Can you make the counter go up as well? |
Contributor
Author
|
@weblancaster Yeah, I can take care of it. |
Member
|
@vladjerca let me know once you are done with this. |
- add count definition to favoriteSong directive and update accordingly after each event - removed remnant changeLike from click events
Contributor
Author
|
@weblancaster I've updated the directive definition and modified all affected html sections. |
Member
|
Thanks for the PR @vladjerca and apologies for the delay in review. |
weblancaster
added a commit
that referenced
this pull request
Feb 19, 2016
Add required bindings to the like count container. closes #562
Contributor
Author
|
I love the app, only seems logical to give back how much I can. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.