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

Add required bindings to the like count container. closes #562 #568

Merged
merged 2 commits into from
Feb 19, 2016
Merged

Add required bindings to the like count container. closes #562 #568

merged 2 commits into from
Feb 19, 2016

Conversation

vladjerca
Copy link
Contributor

  • 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
@vladjerca vladjerca changed the title Issue #562: Add required bindings to the like count container Add required bindings to the like count container Feb 1, 2016
@weblancaster weblancaster changed the title Add required bindings to the like count container Add required bindings to the like count container. closes #562 Feb 1, 2016
@@ -9,7 +9,9 @@
<span class="playback_count">
<i class="fa fa-play"></i> {{track.playback_count | number}}
</span>
<span class="likes_count">
<span class="likes_count" ng-click="changeLike()"
Copy link
Member

Choose a reason for hiding this comment

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

why do we have ng-click="changeLike()" but isn't being used.

@weblancaster
Copy link
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 ng-click="changeLike()"

Can you make the counter go up as well?

@vladjerca
Copy link
Contributor Author

@weblancaster Yeah, I can take care of it.

@weblancaster
Copy link
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
@vladjerca
Copy link
Contributor Author

@weblancaster I've updated the directive definition and modified all affected html sections.

@weblancaster
Copy link
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
@weblancaster weblancaster merged commit 93c1b0a into Soundnode:master Feb 19, 2016
@vladjerca
Copy link
Contributor Author

I love the app, only seems logical to give back how much I can.

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.

2 participants