Forem Creators and Builders 🌱

Are pinned posts a new thing?

Lee on June 08, 2021

Heya

Just wanted to check, I saw it this morning - if they have been there for ages, I am going to give myself a slap.

Collapse
 
ellativity profile image
Ella (she/her/elle)

Yep! Happy you like!

Shout-out to @rhymes for this one, I believe?

Collapse
 
rhymes profile image
rhymes

ahahha thanks!

Collapse
 
lee profile image
Lee

hey there - just a quick one on pinned posts, should they pin to the homefeed pre authentication?

Collapse
 
rhymes profile image
rhymes

Hi @lee ! I'm not sure I understood your question, what do you mean?

Thread Thread
 
lee profile image
Lee

Hey @rhymes - when you pin a post, should it pin at the top of the homefeed for everyone regardless of whether they are logged in or not?

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

Thanks to Rhymes, I think I can answer this one! The RFC here doesn't show any distinction in behaviour between logged in or not logged in users. Are you experiencing a difference?

Thread Thread
 
lee profile image
Lee

Heya @ellativity - yes - I have 3 articles pinned across each of my Forems but they only show at the top when I am logged in.

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

And this is the case for every Forem? I think I'm only signed up to FlowState so could only test it on there (and I can confirm that I experienced the same thing).

Thread Thread
 
lee profile image
Lee

Hi! Yes it is the same on all of them.

Thread Thread
 
lee profile image
Lee

Hey @ellativity πŸ‘‹πŸΌ did you mean that the post was pinned when logged in and when logged out?

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

It was not visible when I viewed your Forems logged out, but this is a confirmed bug πŸͺ² so a PR is in process to ensure it is in future. πŸŽ‰

Thread Thread
 
lee profile image
Lee

😎

Thread Thread
 
rhymes profile image
rhymes

It should be ready now! We merged and deployed github.com/forem/forem/pull/14219 both on DEV and on the Forem Fleet. You will have to update to the latest main for self hosted Forems!

Thread Thread
 
lee profile image
Lee

Looks great Rhymes 🌈

Collapse
 
link2twenty profile image
Andrew Bone

Interestingly, pinned posts do not appear in the latest tab. I wonder if that's intentional?

Collapse
 
lee profile image
Lee

πŸ€”

Collapse
 
link2twenty profile image
Andrew Bone

Amazing, I didn't realise they were a thing either.

Collapse
 
ben profile image
Ben Halpern

Did you find this thread because I pinned it?

Collapse
 
link2twenty profile image
Andrew Bone

I did 😁

Thread Thread
 
lee profile image
Lee

This little post has reached it’s only purpose in life.

Collapse
 
ioscasey profile image
Casey πŸ’Ž

Indeed they are! How cool :)

Collapse
 
michaeltharrington profile image
Michael Tharrington

I'm loving this feature! It's super helpful.

Collapse
 
ben profile image
Ben Halpern

They are new. I just noticed that my post got pinned over at coss.community πŸ˜…

pinned

Collapse
 
lee profile image
Lee

Brilliant! This is so cool πŸ€©πŸ™ƒ