Indicate large time gaps between posts in a topic

spec
rfc

(Jeff Atwood) #1

We should highlight large time gaps between posts, with a relative indicator like so

Except, we should use the word later. So in a long discussion you’d see the gaps

3 weeks later
6 months later
1 year later

Called out so it is clearer when the “resurrections” were, and you can respond appropriately, follow the discussion’s evolution over time more easily, etc.


Natural breakpoints or "chapters" for long topics?
(Eli the Bearded) #2

Sounds like it would fit well with this old idea:


(Jeff Atwood) #3


(Dave McClure) #4

At what point does a gap become large? 1 week? 2 days? Site setting?


(Jeff Atwood) #5

Probably site setting but I think a default of 4 days might be a good start.


(Eli the Bearded) #6

Well if you use some sort of heat map approach, it is large when it is much bigger than other gaps in similar topics. What would be a similar topic? My first guess would be something in the same category with about the same number of posts before the gap. This would accommodate television show topics which would likely spike weekly separately from say full moon topics which would spike monthly(ish).


(Stephanie) #7

4 days would work for existing communities converting to Discourse, but seems low for a a brand new forum that hasn’t gotten the ball rolling yet. Seeing a bunch of tumbleweeds is unlikely to motivate people to stick around. There should perhaps be a hint next to the setting to guide people in the right direction.


(Robin Ward) #8

I’ve implemented this feature.

https://github.com/discourse/discourse/commit/42bd9b61998743a38cd4bd299bb0716ebccd3a02

Unfortunately tests seem to be randomly failing now so it’s not deployed to meta yet. It will be out once we sort that out though :smile:


(Jeff Atwood) #9

Ok this is now in, but may need some styling. I generally like the way it looks, but unfortunately it also looks a bit too much like a button…


(Jeff Atwood) #10

Also one minor bug: when posting in an old topic, you see the “1 year later” pop up and then it is consumed by the re-rendered post.


(Stephanie) #11

Debuttonifying brainstorming, two random ideas:


(Dean Taylor) #12

Perhaps just swap background-color for a background with a linear-gradient blending top and bottom out to transparent.

Here is (left to right) the original, short blend to alpha top and bottom, larger blend:

You might need to click the image to zoom to really see what it will look like.


(Sam Saffron) #13

I just messed around with styling a bit

see it in action here :arrow_right: What is the most awesome plugin for Discourse, that does not yet exist?

Let’s try it for size and see how we feel about it.


(Stephanie) #14

Ooh, I like the clock!


(Jeff Atwood) #15

@eviltrout this is missing from the mobile layout as well


(Sam Saffron) #16

I missed it out of there with a css rule, we need to come up with a sane style there …


(Jeff Atwood) #17

Probably just the text no glyph on mobile. Or a very small glyph to the left.


(Sam Saffron) #18

OK, I just committed this:

I think it looks fine


(Robin Ward) #19

I noticed this yesterday but forgot to fix it before I pushed:

https://github.com/discourse/discourse/commit/00572c4f1134f2d717dee41c4d75e5d32afed534


(cpradio) #20

FYI, I love this feature! Seeing it on Meta first hand, I completely see it as beneficial.