handmade.network » Forums » Site Feedback » Reply preview shows posts only from first page of thread
mmozeiko
Mārtiņš Možeiko
1317 posts
1 project
#8260 Reply preview shows posts only from first page of thread
9 months ago

I expect preview to show posts from the end of thread. Replying usually is done for last post in the thread.
ChronalDragon
Andrew Chronister
176 posts
2 projects

Developer, administrator, and style wrangler

#8276 Reply preview shows posts only from first page of thread
9 months ago

The current behavior has to do with what hitting "Reply" at the bottom of the page means -- we somewhat arbitrarily decided it meant replying to the OP regardless of what page of the thread you're on. So the context for the OP is indeed the first five posts in the thread.

However, maybe this is not the most useful behavior. I think we do want to keep things sorted such that replies that are not to any specific post are to the OP (since they usually are for short threads), but perhaps we should add a url parameter to the reply button so that hitting reply at the bottom of a page shows the last few posts on that page?
Kelimion
Jeroen van Rijn
211 posts
3 projects

A big ball of Wibbly-Wobbly, Timey-Wimey _stuff_

#8277 Reply preview shows posts only from first page of thread
9 months ago

mmozeiko:
I expect preview to show posts from the end of thread. Replying usually is done for last post in the thread.


ChronalDragon:
The current behavior has to do with what hitting "Reply" at the bottom of the page means -- we somewhat arbitrarily decided it meant replying to the OP regardless of what page of the thread you're on. So the context for the OP is indeed the first five posts in the thread.

However, maybe this is not the most useful behavior. I think we do want to keep things sorted such that replies that are not to any specific post are to the OP (since they usually are for short threads), but perhaps we should add a url parameter to the reply button so that hitting reply at the bottom of a page shows the last few posts on that page?


Unless I misremember how I coded it, the (up to) 5 context posts shown depend on which post you reply to. So if you reply to the thread, you get shown the OP. If you reply to the last post in the thread, you get shown the last 5 posts.

We could just make the reply button at the bottom of the page mean you're replying to the last post on that page, showing the relevant context. Thoughts welcome on what context to grab in which case.
Hjortshoej
Mikkel Hjortshøj
58 posts
1 project

Life is insane... Which is why I spend it with beer <3

#8278 Reply preview shows posts only from first page of thread
9 months ago

I would say the reply at the bottom should show the _last_ 5 posts of the thread in reverse order (so the oldest is at the top). That makes the most sense to me

Give a man a beer, and he is happy... End of story.
Kelimion
Jeroen van Rijn
211 posts
3 projects

A big ball of Wibbly-Wobbly, Timey-Wimey _stuff_

#8279 Reply preview shows posts only from first page of thread
9 months ago

Hjortshoej:
I would say the reply at the bottom should show the _last_ 5 posts of the thread in reverse order (so the oldest is at the top). That makes the most sense to me


Sure, but if there's more than 1 page, it would also make sense to show the last 5 posts on the 2nd page if you hit Reply to Thread on the 2nd page. I suppose I could make that into a setting, but if you want the expected "show 5 posts before last post" already, you can just hit reply on the last post.

I'll update what the "Reply to Thread" links to next week after there's a bit more feedback on what it should link to.