-
Notifications
You must be signed in to change notification settings - Fork 219
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
Post Reactions #556
Conversation
@jaskiratsingh2000 A few questions regarding this on my end,
|
Thanks for taking this up. Well, I think we could do in a same way as it is
showed inside the facebook
…On Mon, 3 Aug 2020, 3:58 pm Asel Peiris, ***@***.***> wrote:
@jaskiratsingh2000 <https://github.com/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: image]
<https://user-images.githubusercontent.com/31003923/89173597-24f9f280-d5a2-11ea-8e8f-76806f0cd10f.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#556 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOBHK5HYJCLV7WRCKLHR7LR62GOHANCNFSM4PTGFYKQ>
.
|
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( |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
un-necessary changes
Fixes #542
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