digidem / edt-offline-portal

Portal application that links to documentation and applications of Earth Defender's Toolkit Offline
http://lab.digital-democracy.org/edt-offline-portal/
2 stars 0 forks source link

Back button on `Application Installers` page is not working properly due to route redirection #21

Open rudokemper opened 1 year ago

rudokemper commented 1 year ago

On the captive portal, there is a pathway to get to the Application Installers page by clicking Download Mapeo. This first takes you to a route /apps/mapeo which then gets redirected to /en/apps/mapeo and finally /en/apps. As a consequence of this redirection, the back arrow button on the Application Installers page is set to go back to the last route which was /en/apps/mapeo, resulting in an infinite loop of coming back to the same page.

rudokemper commented 1 year ago

Another issue caused by having the Back button path determined by last page in the browser, is if you open any of the pages in a new tab. Then the Back button will simply not do anything.