Closed sergeichestakov closed 1 year ago
gonna hold off on landing this until after the next release. we still need to handle 404s on the web side by redirecting to the home page if the repl no longer exists or you cannot access it
FYI gonna just reset anytime we navigate home which should handle the new window and deleted case: https://github.com/replit/desktop/pull/73/commits/003987d9baa651c5ec8ccb146b5389a85e46cb61
Why
We want to start re-opening the last Repl you had open when you launch the app. To do so, we need to persist this information. See Linear.
What changed
Persist last open repl. Note, still trying to figure out what the best way to reset this state is when e.g. the repl gets deleted, renamed, or you get your perms revoked
Test plan