@bearmans.near [Posted on DevHub](https://near.social/#/devgovgigs.near/widget/Post?id=1550) ## Idea: Pinned Posts It occurred to me today that it could be potentially useful to have the ability for communities to "pin" a post to the top of their feed. While (I think) the longer term goal is to have the community landing page not be the post feed, it would still be useful as a feature for the feed when there are upcoming events etc. that the community wants to be visible to people who visit their page. I think this would be the approximate implementation: **Back-End:** Add to communities metadata: "Pinned Posts" as a vector of Post IDs, permissioned so that only admins can add posts to that list. Maybe include a max length so people are forced to remove pinned posts over time (say, 3). New function in the contract called "get pinned posts", returning the post IDs marked as pinned for a given community. **Front-End:** A bit more complicated: need to check if a user is an admin of the community a post is part of (tagged as) and show a button for "Pin Post to Community Feed" with the rest of the post interaction buttons. If the post has multiple community tags and the person viewing is admin in both, would need to be a dropdown before the toggle to ensure the pin is for the correct community. Communities "activity" page should be updated to load "get pinned posts" before the rest of the feed. Some kind of visual indicator on the post (like a thumbtack, for instance) indicating that it is pinned in the current view.