replit / desktop

Replit Desktop App
114 stars 3 forks source link

Persist last open repl #73

Closed sergeichestakov closed 1 year ago

sergeichestakov commented 1 year ago

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

sergeichestakov commented 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

sergeichestakov commented 1 year ago

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