Open openhands-agent opened 2 days ago
Sorry, this was me again...
An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-5315' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.
What problem or use case are you trying to solve?
If you have OpenHands open in a tab, it is easy to accidentally close it and lose the agent's progress if you close it while the agent is running.
Describe the UX of the solution you'd like
It would be good if the window popped up a dialog box warning the user before this happens.
Do you have thoughts on the technical implementation?
We can have an option in the frontend, on by default, that will pop up a dialog box. This will warn the user that the agent's work will be terminated and possibly lost if they close the window.
It can have three options: