Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Able to upvote links #148

Open
5 tasks
WilliamDASILVA opened this issue Aug 1, 2021 · 0 comments
Open
5 tasks

Able to upvote links #148

WilliamDASILVA opened this issue Aug 1, 2021 · 0 comments
Labels
enhancement New feature or request needs api Requires an update on the API or GraphQL types needs design This feature requires a design update

Comments

@WilliamDASILVA
Copy link
Member

WilliamDASILVA commented Aug 1, 2021

As a registered & logged-in user, you can upvote links in the "links" view.
This action should be made through a "like" button near each link in the links view.

What's needed:

  • Make links "likeable" using the current polymorphic relationship, like the tasks.
  • Make a coherent design to integrate a "like" button in the "link" component.
  • Update the "link" component to be able to show the "likes" count for each link.
  • This would need to update the GraphQL "Link" type to includes the likes.
  • Find a way to identify if the currently logged-in user has already liked a link and therefore show a different state in the "link" component.
@WilliamDASILVA WilliamDASILVA added enhancement New feature or request needs design This feature requires a design update needs api Requires an update on the API or GraphQL types labels Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request needs api Requires an update on the API or GraphQL types needs design This feature requires a design update
Development

No branches or pull requests

1 participant