Skip to content

Post Reactions #556

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

Merged
merged 6 commits into from
Aug 7, 2020
Merged

Conversation

AuraOfDivinity
Copy link
Collaborator

@AuraOfDivinity AuraOfDivinity commented Aug 3, 2020

Fixes #542

  • Implements animated Reactions below posts as requested.
  • Implements a dropdown on the top right corner of the Post card.

Reactions

This is only the frontend implementation. Some changes to the backend might be required for other reactions (Heart, Happy and Donut) since only upvotes are supported at the moment

@AuraOfDivinity
Copy link
Collaborator Author

@jaskiratsingh2000 A few questions regarding this on my end,

  1. I think we should separate the user reactions to a particular post from other functionalities such as "Adding to favorite" and bookmarking a post. We could have these functionalities on the top right dropdown for instance.

  2. How will we displaying the reactions to a particular post? Maybe we could have a separate modal to display just like on Facebook? Something like the following image?

image

@jaskiratsingh2000
Copy link
Member

jaskiratsingh2000 commented Aug 3, 2020 via email

@Rupeshiya
Copy link
Member

Also @AuraOfDivinity Please add Pin icon, already told earlier as well.

if(res.status === 200) {
dispatch(setRequestStatus(true))
console.log('all posts ', res.data.posts)
const res = await axios.get(
Copy link
Member

@Rupeshiya Rupeshiya Aug 5, 2020

Choose a reason for hiding this comment

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

@AuraOfDivinity Please remove these unnecessary format changes, this is a pretty annoying issue. Its destroying uniformity in the code style

if(res.status === 200){
dispatch(setRequestStatus(true))
console.log('fetching all pinned posts ', res.data.pinnedPost)
const res = await axios.get(
Copy link
Member

Choose a reason for hiding this comment

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

un-necessary changes

@AuraOfDivinity
Copy link
Collaborator Author

Updated reactions.

  • Added pin post icon
  • Added PostReactions Modal
  • Added text based on the number of reactions at the bottom of the component.

ReactionsUpdated

@vaibhavdaren vaibhavdaren merged commit 2e352ab into codeuino:development Aug 7, 2020
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.

4 participants