Object field: Pin (Object page) - Waiviogit/waivio GitHub Wiki
Pin - update field that fixing a post to the top of the object feed. Maximum 3 pinned posts.
Add post pinned possible from:
- post: Reviews object tab -> a post -> three dots menu. Author and post permlink will be pulled up from the post and blocked in modal window.
- as object update: Object page -> Edit mode -> left sidebar -> REVIEWS block. User should add author and post permlink manually.
Update modal window
AUTHOR |
text field to add post author |
PERMLINK |
text field to add post permlink. Permlink - unique identifier that creates when a post was published. ![]() |
NOTE |
The pinned post will be displayed at the top of the object's feed. Maximum 3 pinned posts. |
Update is created
After creating an update, the desired post will be displayed at the top of the object feed with the "Pinned" mark. And feed is refreshed.
Pin update has already existed for the post
There can only be one update with pin per post. It turns out that one user creates, others can do Approve / Reject. After clicking, on Pin in this post, the user will be redirected to Update tab with only the necessary update.
Easy pin
There is a pin button for posts in the feed for objects on Waivio and social sites. Similar to hearts, users can easily pin posts on object pages. After clicking on the pin, we create a pin update if the user doesn't have one. If the user already has an update, we either add a like or reject it accordingly. The four states are:
- Not pinned - outline icon;
- Pinned by others - gray icon;
- Pinned by this user - orange icon.
Additional task
- Pin fix: Don't wait for active votes if a user creates a pin update. #6517
- [social.gifts / pin] Add pin for object posts on social.gifts sites. #6518
- [objects / pinned] on objects when displaying Reviews, replace tag icons with pin. Four states: not pinned, pinned by others, pinned by this user, unpinned by this user #6176
- [objects / pin] You need to check and put a heart if there is none, if the user pins the post on the recipe (or other objects). #6994