Link para a primeira mensagem não lida?

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?

1 curtida

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 :arrow_down: bottom of the topic consistently
    https://meta.discourse.org/t/slug/106476/last

  • a link that will take you to the :arrow_up: top of the topic consistently
    https://meta.discourse.org/t/slug/106476/1

2 curtidas

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

5 curtidas

Note, there is a subtle difference between these two:

  • latest read post
  • first unread post

See also:

4 curtidas

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 :blush:

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:

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

5 curtidas

I’m glad you would like to see it too Sam and I hope we’ll see it soon :blush:

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 :+1:

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?

2 curtidas

Só queria saber se houve algum progresso nisso depois?

Estou considerando migrar mais alguns fóruns para o Discourse (em conjunto com nosso sistema de página inicial personalizado), mas uma das maiores críticas que tivemos em instalações anteriores é que esses links (em nossa página inicial e páginas personalizadas) sempre iam para o primeiro post e as pessoas achavam frustrante ter que rolar pelo tópico novamente.

Acho que o que é verdade hoje é que o link para um tópico irá para a última postagem lida se houver postagens não lidas, ou para o topo do tópico se não houver - ou se a conta não estiver conectada. (Por favor, corrija-me se eu estiver errado)

Se você quer dizer links de dentro do DC, então sim, mas estamos nos referindo a links que podemos usar fora do Discourse (como em uma página inicial personalizada ou site pai).

Acho que isso é desesperadamente necessário. Mas também não deveria ser apenas um atalho de teclado porque eu uso o site no meu celular com frequência. Um botão ao lado dos números da página?

3 curtidas

Você tem alguma experiência recente que o faça sentir assim? Sempre ajuda coletar essas anedotas do mundo real.

2 curtidas

Apenas minha própria experiência do dia a dia.

Eu administro um fórum movimentado e quero ler tudo, mas nem sempre tenho tempo.

Então, quando sou @ mencionado ou respondido em uma postagem, recebo uma notificação. Não consigo clicar na notificação porque sei que ela pulará para o final da lista e perderei muitas postagens, é um pesadelo absoluto tentar rolar para cima e encontrar onde parei.

Portanto, minha área de notificações nunca é usada, o que significa que perco notificações até dias depois, e às vezes elas são importantes.

E se eu vir que tenho uma @ menção em um tópico chamado “Tópico de Exemplo”, e esse tópico não for fácil de ver na lista, não consigo nem pesquisar por ele porque isso me levará ao topo do tópico e terei que rolar até o final para encontrar onde parei.

Não há uma maneira fácil de abrir o tópico onde parei se eu tiver uma notificação lá.

É uma situação muito ruim para mim!

4 curtidas

Sim, essa é a coisa que me vem à mente também – algo como o botão “voltar” que temos atualmente na linha do tempo que aparece se você rolar na outra direção, mas para ir para o início da sua primeira postagem não lida em vez disso.

Eu poderia imaginar que seria uma preferência do usuário se ele aparece ou não.

Eu quis isso no passado, mas pessoalmente não senti necessidade disso recentemente, então as histórias ajudam a entender de onde vem a solicitação, obrigado.

4 curtidas