Feature proposal #9276
open
Implement support for pinned posts
Added by krileon about 1 year ago.
Updated 12 months ago.
Start date:
10 November 2023
Description
These need to only pin to their explicit asset. So for example if the post was pinned on groupjive.group.4 it should only be pinned when viewing a stream with that asset.
Only applies to activity. Will not be available for comments.
Probably use a table like the following to keep track of posts that are pinned. It should only consider them pinned if the currently viewed steam id explicitly matches AND the asset of the currently viewed stream explicitly matches.
activity_id | stream_id | asset
Then either need to use 2 different queries to handle this. 1 for pinned posts at top. 1 for non-pinned. OR alter the page column to take into account a post being pinned.
Also available in: Atom
PDF