Should linking to other topics cause the browser window to refresh?


(James Cook) #1

Title says it all.

I was expecting clicking an internal link to load in the same way as everything else, but my browser is refreshed as if visiting an external link.

UPDATE

It’s because I used the full path (Discourse Meta) rather than the relative path. However, this is how the majority of non-technical people will use links on Discourse, so my question remains.

As a side note, the full path uses one box giving a nicely formatted preview, whereas the relative path provides just the link text. What am I doing wrong?


(Jeff Atwood) #2

I have no idea what you are talking about here? Can you post a link in a reply to demonstrate?


(James Cook) #3

By clicking the first link, it refreshes the entire window, instead of just loading the topic using Ember.

https://meta.discourse.org/t/creating-wp-native-comments/47557/13

Using the second link, it loads the topic dynamically instead of refreshing the entire page. Is there a reason why we can’t have a preview of a topic and load it like the second link?


(Jeff Atwood) #4

It is a subtle distinction, but let’s ask @eviltrout.


(Robin Ward) #5

Nice catch. It was a https uses that I’ve fixed here:


(Robin Ward) #6