FlowFuse / flowfuse

Build bespoke, flexible, and resilient manufacturing low-code applications with FlowFuse and Node-RED
https://flowfuse.com
Other
269 stars 63 forks source link

Fix browser history when accessing the immersive editor #4565

Open cstns opened 6 days ago

cstns commented 6 days ago

Current Behavior

When accessing the immersive editor, multiple instances of the page are pushed into the browser's history causing difficulties when users want to navigate back to the previous page.

Expected Behavior

Users should one click the back button after accessing the immersive editor

Steps To Reproduce

Open the immersive editor and check browser history

Environment

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

cstns commented 5 days ago

The browser's history is impacted by the oAuth authentication procedure between the instance and the FlowFuse platform in which two redirects occur (one in /account/authorize and the second in /account/complete/:code).

For the time being, I have no practical solution on how to solve this, or if it should be solved as it's a core component in the auth process.