Pinned posts don't work on tagged pages

I think it’s a fine idea, but I don’t think it’ll be easy to implement. One challenge will be that the modal to pin the topic is already quite big:

The harder part will be the data model. Right now a topic has pinned_at, pinned_until for the timeframe which is fine, but then pinned_globally (boolean), determines the pinning mode. True means to display it globally, false means in a category.

To support pinning at a tag level, we’ll need to migrate to something like pinned_mode (globally|category|tag). That could work if we were okay to pin the topic to every tag it belongs to - but I also wonder if users would want to pick a specific tag to pin it to? In that case we’d probably need another column pinned_tag to handle that.

Do you want to go ahead and schedule this for a future release?

4 Likes