comic / grand-challenge.org

A platform for end-to-end development of machine learning solutions in biomedical imaging
https://grand-challenge.org
Apache License 2.0
167 stars 49 forks source link

Unexpected hash in URL after navigation #3385

Closed chrisvanrun closed 2 weeks ago

chrisvanrun commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is.

After some navigation, a user ends up with the following URL: 'https://grand-challenge.org/archives/demo-challenge/#ttps://grand-challenge.org/archives/demo-challenge/items/'

To Reproduce Steps to reproduce the behaviour:

  1. Go to an archive page
  2. Click on 'Items'
  3. Go back using the browser navigation

Expected behaviour A clear and concise description of what you expected to happen.

A regular, boring URL. However:

image
jmsmkn commented 2 weeks ago

Probably caused by https://github.com/comic/grand-challenge.org/blob/b1343c0da46d7f3b610d065e82f3833dc73615d8/app/grandchallenge/core/static/js/refresh_sidebar.mjs#L25-L27. Have no idea how to get the back button working with the side panel otherwise.