Sitelet https://github.com/Soundnode/soundnode-app/pull/568
Skip to content

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

Merged
weblancaster merged 2 commits into
Soundnode:masterfrom
vladjerca:feature/click_heart_to_like
Feb 19, 2016
Merged

weblancaster merged 2 commits into
Soundnode:masterfrom
vladjerca:feature/click_heart_to_like

Conversation

@vladjerca

Copy link
Copy Markdown
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
Comment thread app/views/track/track.html Outdated

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@weblancaster Yeah, I can take care of it.

@weblancaster

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@weblancaster

Copy link
Copy Markdown
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
Copy Markdown
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