replit / desktop

Replit Desktop App
114 stars 3 forks source link

Fix last open repl logic on focus #123

Closed sergeichestakov closed 1 year ago

sergeichestakov commented 1 year ago

Why

The last open repl logic was finicky and not working correctly. Turns out it's because we were using the original URL of the opened window rather than the current one when resetting the state in response to the focus event.

Fixes WS-962

What changed

Fix last open repl logic on focus by using the current, not initial, URL

Test plan

linear[bot] commented 1 year ago
WS-962 Last Open Repl logic still finicky

Not sure why yet. need to debug.