Current state
Authors are unable to pin comments on their posts.
Expected state
Authors are able to pin comments on their posts. Keep in mind that the column in the back-end that keeps track of pinned comments has to contain something like timestamp values (Last pinned timestamp). Better solutions are also welcome, but pinned comments need to be ordered by last pin as well, since you can have multiple pins on one post. As an author, when you unpin a comment you don't want to lose it right away since it might have been accidental. In that case make sure it stays where it was until you refresh the page, so you can pin it again if you unpinned by accident.
TO DO
[x] Explore possible designs for (un)pinning comments and pinned comments
[x] Implement design in frontend
[x] Add is_pinned attribute to comments in backend
Current state Authors are unable to pin comments on their posts.
Expected state Authors are able to pin comments on their posts. Keep in mind that the column in the back-end that keeps track of pinned comments has to contain something like timestamp values (Last pinned timestamp). Better solutions are also welcome, but pinned comments need to be ordered by last pin as well, since you can have multiple pins on one post. As an author, when you unpin a comment you don't want to lose it right away since it might have been accidental. In that case make sure it stays where it was until you refresh the page, so you can pin it again if you unpinned by accident.
TO DO
Necessities
190
Branch 312-pin-comment