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

PostCard Button Actions #143

Closed
3 tasks done
karatashsyn opened this issue May 12, 2024 · 1 comment
Closed
3 tasks done

PostCard Button Actions #143

karatashsyn opened this issue May 12, 2024 · 1 comment
Assignees
Labels
Action Item A specific task requiring attention Priority: Medium Needs to be done without wasting much time. Web Development

Comments

@karatashsyn
Copy link
Contributor

karatashsyn commented May 12, 2024

ℹ️ Description

Create the logic for liking, disliking, bookmarking and commenting a post.

🎯 Tasks

  • Write down the tasks and update the issue by marking them when they are done.
  • Using default api instance, create the backend actions for like, dislike, bookmark and comment.
  • For the postcard, create necessary loading and error states for related actions.
  • When action button is clicked, call the necessary api service function you have created.
@karatashsyn karatashsyn added Priority: Medium Needs to be done without wasting much time. Action Item A specific task requiring attention Web Development labels May 12, 2024
@OguzTNCR
Copy link
Contributor

Like, dislike and bookmark buttons are now fully functional. All api calls are handled gracefully. Also using the posts/getUserPostInteractions endpoint i showed if the registered user has done any of the actions before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Action Item A specific task requiring attention Priority: Medium Needs to be done without wasting much time. Web Development
Projects
None yet
Development

No branches or pull requests

2 participants