decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
376 stars 116 forks source link

Tab Position Query Parameters in Scratch Editor #1231

Closed conorgolden1 closed 4 months ago

conorgolden1 commented 4 months ago

The editor keeps track of which tab is open in a query param. This will allow you to navigate away to a different page from the editor page and the navigate back and return to your previous tab. My thinking is that if you are following links in comments and want to return to the comment section it is a small inconvenience to return to where you were. This looks like it can be done easily enough with shallow routing

We could improve upon this further and in the editor it will refocus your scrollbar to its old position but that seems more advanced