Reply to post link shows address bar URL instead of link to replied to post

We found an odd linking issue on our instance, but was able to duplicate it here.

To reproduce:

  1. Find a thread that someone specifically replied to a post. For this report, I’m using this thread.
  2. Scroll to a post which is a direct post reply. The URL which should point to the post that was being replied to points to the address bar URL instead
  3. Now scroll the viewport so that the address bar changes but that same replied to is visible. On hover of that same URL, you will find it is linking to the new address bar URL
1 Like

Sorry, why is this a bug? That is as designed. The URL changes to reflect the scroll position in terms of reply number, with the caveat that entering at any particular reply places it a little ways down from the top of your browser so it is easier to “see”.

I think he is trying to say, the reply indicator should reference the URL the reply was directed to, not the browser URL (which it does now).

As such, there is nothing from a user perspective to help you see what post the reply is directed at without clicking the indicator. And even when you do click it, it routinely fails to show you the appropriate reply when using the experimental reply expansion (which we realize is marked as experimental, but has been marked that way for many versions now)


I obviously did not make myself clear.

If someone uses the reply that is attached to a specific post in a topic, the new topic has a link which looks like it should point back to the post being replied to.

So in the case of the screen shots I posted, this circled portion is a link.

The style of image implies that it should link to the post that Matthew_Ashbury replied to. But it links to the top most post in the viewport, which has a good chance to not be the appropriate post, as shown by the two examples above. This gets very confusing to users who try to work back and follow a conversation.

The only way to find it is to step back through the thread to the find the appropriate dropdown that has the reply in question. In a small thread, that’s not a MAJOR imposition, but in an active and/or long thread, it’s not a useful use of time.

Hopefully this explains better…for that link to be useful, it should point to your post…

I think I understand better with @cpradio’s helpful clarification. Not a bug though, but something that certainly could be improved.

Let’s remind ourselves of the definition of bug…

prevents normal, typical use of Discourse

1 Like