Procurando o tópico/post por ID?

It’s probably the quotations. They contain the topic ID in the [quote] tag and Postgres will likely remove the punctuation and treat the number as a searchable word.

4 curtidas

Good catch! :smile: I bet you are right.

I think this is the best idea so far. I would consider that in the future other search operators for power users might be introduced like:

status: open, created after: date, etc…

Not trying to over design right now, but its something to keep in mind.

Yeah, I know what you mean. I could also see a plugin that would automatically create links if you put #1234 into a post body, or something like that, which is pretty common in bug trackers.

1 curtida

That leads us to the simple idea: to make discourse show the topic and post IDs in non-intrusive or less noisy way that is also search-friendly? maybe in the share box dialogue, which will be optional to have from the admin menu?

or I’m totally for this:

could it possible also work for t:2075/12?

1 curtida

Share box already shows the post id, click or tap the post share button or post date at the upper right of each post.

Topic id is visible in the browser address bar and technically the share button for the topic at the bottom of the topic.

not for me:

it’s visible only from touch device (iPhone/iPad).

I am on desktop right now and it shows identically. There is no special touch handling for share button (also mapped to timestamp at upper right of each post).

Are you not looking to the right enough, or saying you can’t get to that part of the URL?

yes, topic/post ID is easily obtainable if one needs that. The only thing is to make topic and post ID search friendly via specially designed keyword - t:2075 as you have suggested.

I’ve tried both from share and timestamp (desktop) and shows only part of the url without ID, while touching the timestamp on my iPhone/mobile safari shows the part of the url with topic/post ID in it. Link shown in share box is fixed, I can’t move cursor further. But that’s ok since ids are shown in url and user with enough brains can figure it out. I’m just talking about the id search feature.

It doesn’t appear that this ever got implemented. We’re looking for something similar because we frequently reference topics in print material during committee meetings.

This statement feel more readable:

Please search for topic #19084 on the forum

than this one:

Please enter Searching for the topic/post by ID? in your web browser’s URL bar

or this one:

Please search for Searching for the topic/post by ID and click on the first result

2 curtidas

Olá, podemos ativar esse recurso ou podemos criar uma busca na caixa de entrada para o tópico ID por componente e, após entrar, redirecionar o link para esse tópico :slight_smile:

Essa busca especial (ou seja, a convenção t:) foi considerada então?
Parece que não foi introduzida no final.
Seria um recurso interessante, especialmente para quem usa o aplicativo web, onde a barra de endereços está “oculta”… :stuck_out_tongue:

1 curtida

Como pesquisar por uma URL?

Quando instalei a versão mobile-friendly do meu site (baseado em Discourse) no meu celular, ao abrir o mesmo aplicativo clicando no ícone do app na área de trabalho do meu celular, não vejo a barra de URL (o que é esperado).

Nesse cenário, como posso acessar um tópico específico cujo link está na área de transferência do meu celular?
Não deveria ser possível pesquisar e encontrar a postagem quando busco por um link completo da postagem?

Enfrentei esse problema quando consegui pesquisar e encontrar uma postagem e copiar seu link enquanto estava logado como usuário normal. Mas, como queria editar a postagem, saí da conta e entrei novamente com meu próprio ID de Administrador e, de repente, descobri que não era fácil pesquisar a postagem novamente, exceto pelo fato de ter o link da postagem na área de transferência. (Sei que posso abrir qualquer navegador e colar o link lá, mas a barra de pesquisa não deveria ser capaz de encontrar o tópico a partir do ID do tópico?)

se quiser \n**“encontrar todos os tópicos criados por um ID em uma categoria”** \n\nparece não ser possível fazer isso no formulário de pesquisa, certo? \nesta é uma pesquisa bastante útil… \n\nobrigado…

Instalei o site como um aplicativo (PWA) no meu celular e desejo ir para o tópico 3428. \nExiste alguma maneira sem que eu precise abrir outro navegador, como o Chrome, para ir a este tópico?

Pelo que sei, você não pode… nem mesmo em um PWA no desktop (que eu tenho da Meta).
Veja:

(Não é possível editar a URL)

Você pode pesquisar dentro desse tópico.
Por exemplo, o ID deste tópico é 19084. Quando pesquiso “topic:19084 the”, consigo encontrar muitas postagens dentro desse tópico
https://meta.discourse.org/search?q=topic%3A19084%20the
Cada resultado me leva a este tópico.

Dependendo do que você precisar, você também pode postar um link em algum lugar onde possa clicar. Por exemplo, em um chat com você mesmo https://meta.discourse.org/t/-/19084

Sim — abrindo um Chrome :man_shrugging:

Isso é verdade com iPhones de qualquer forma. Não sei como funcionam os Androids.

Existem três razões pelas quais não uso PWA no iPhone:

  • nenhuma maneira de obter a URL, que é frequentemente necessária para obter IDs etc.
  • nenhuma maneira de atualizar
  • nenhuma maneira de usar abrir em outra aba

Meus usuários, a maioria deles, usam PWA em ambos os ecossistemas, no entanto.

1 curtida

Isso é verdade — se um usuário PWA encontrar esse ID de alguma forma :joy:

Ah, então eu entendi mal a pergunta. Pensei que o ID era conhecido

Acho que você poderia, por exemplo, encontrar o ID do tópico citando o tópico.