We have a Discourse instance (forum.ohlasy.info) and a separate website (ohlasy.info) that displays a list of latest topics pulled from /latest.json. Users can click on the topic name to get to the discussion. The question is, where does the link lead to? I have tried /t/:id and /t/:id/latest. The first link always leads to the beginning of the topic, the second one leads to the last post. Is there an option to go to the first unread post for the current user (if logged in) and to the beginning of the topic otherwise?
Sorry, I misunderstood the question! There is no single magic link that’ll take you to two different locations in the topic.
There is, however:
-
a link that will take you to the
bottom of the topic consistently
https://meta.discourse.org/t/slug/106476/last -
a link that will take you to the
top of the topic consistently
https://meta.discourse.org/t/slug/106476/1
Thank you! Neither of these options work well for us, though. Linking to the first post doesn’t make much sense for logged-in users who have probably read most of the topic already. And linking to the latest post doesn’t work well for… almost anybody. Those who have seen a part of the topic would lose track and those who didn’t would be thrown in the middle of a discussion, having to scroll to the top.
Would you consider adding / accepting a feature that would allow linking to the latest post read by the logged-in user or to the first post if the user is not logged in?
Or do you have other suggestions how to make this “latest posts on our discussion forum” website box work well?
I am open to adding an /unread postfix like we have for /last, feel free to send a PR
Note, there is a subtle difference between these two:
- latest read post
- first unread post
See also:
Did this ever get added Sam? Going to t/id/unread doesn’t work - but perhaps a different word is being used?
If it hasn’t been added this would be a really nice feature to have ![]()
Nope, not added yet.
I too would love a “go to first unread” keyboard shortcut. It is a nice power user feature that allows you to regain control if you are dumped into a topic you have already started tracking far into the topic.
Concrete example:
- I start tracking: Events Plugin 📆
- I read up to post 100
- I click a link somewhere by mistake to Events Plugin 📆 - #428 by oca
- I missed 100-428 now and have no easy way to get back to 100
Ability to Jump to First Unread post in Topic Navigator / Progress Bar has not progressed over the years, same goes for: Remembered Topic location should be "First Unread" post instead of "Last Read" post
I think as it stands today, @codinghorror is happy to add a keyboard shortcut here for first unread. But we have not gotten to it yet, nor scheduled it.
I guess it is such an edge case to have these giant topics like @Wingtip tends to have AND have someone actively lobby for it.
The other problem with this power-user feature is that it is very hard to explain per: Will disable_jump_reply make a return? - #10 by codinghorror
I’m glad you would like to see it too Sam and I hope we’ll see it soon 
Another place where I think it would be incredibly handy is when viewing a post via the flag system - it would be nice that it either ignores you own personal position, or, whenever you click through to a specific post for and Topic it asks you on leaving whether you would like to retain your original position, or set the most recent portion. If it tells you which post you had previously see (and maybe all you to jump to it) along with the post you later came in to (perhaps via review queue or post link) I think that would be super useful 
The flag system is definitely a problem for me atm, as I am avoiding carrying out those duties as I don’t want to lose my own position in those topics. Pretty sure others probably feel similarly?
只是想知道之后是否在这方面取得了任何进展?
我正在考虑将更多论坛迁移到 Discourse(与我们的自定义主页系统结合使用),但我们之前安装时遇到的最大批评之一是,那些链接(在我们的主页和自定义页面上)总是指向第一个帖子,人们发现不得不再次滚动浏览帖子很令人沮丧。
我认为今天真实的情况是,如果帖子中有未读内容,线程链接将指向最后阅读的帖子;如果没有未读内容,或者未登录账户,则链接将指向线程的顶部。(如果我说错了,请纠正我)
如果您指的是来自 DC 内部的链接,那么是的,但我们指的是我们可以在 Discourse 外部使用的链接(例如在自定义主页或父网站上)。
我认为这非常需要。但它不应该仅仅是一个键盘快捷键,因为我经常在手机上使用该网站。在页码旁边放一个按钮?
您是否有任何近期的经历让您有此感受?收集这些现实世界的轶事总是有帮助的。
这只是我个人的日常体验。
我管理着一个繁忙的论坛,我想阅读所有内容,但并不总是有时间。
然后,当我被提及(@ mentioned)或在帖子中回复时,我会收到通知。我无法点击通知,因为我知道它会跳到列表的靠下位置,我会错过很多帖子,要向上滚动并找到我上次停下的地方简直是噩梦。
所以我的通知区域从未被使用过,这意味着我会在几天后才错过通知,有时这些通知很重要。
如果我看到在一个名为“示例线程”的帖子中有一个@提及,而那个帖子在列表中不容易看到,我甚至无法搜索它,因为那会将我带到帖子最顶部,我必须一直向下滚动才能找到我上次停下的地方。
如果我在一个帖子中有通知,就无法轻松地打开我上次停下的那个帖子。
这对我的处境来说真的很糟糕!
是的,这正是我首先想到的——就像我们目前在时间轴上拥有的“后退”按钮一样,当你向另一个方向滚动时会出现,但它会转到你的第一篇未读帖子的开头。
我可以想象这是否显示出来可以由用户偏好设置。
我过去曾想要这个,但最近个人没有觉得有这个需求,所以这些故事有助于理解请求的来源,谢谢。