fix: Move handleMessages to after load
- Before, it seems that handleMessages was being called before load causing some very noticeable bugs.
- This fixes the Web IDE remote development dialog
- This fixes the Web IDE shouldPrevent handling
What caused this regression?
How to test
- Open the example app and enter a GitLab Token so you can make changes.
- Make changes on a file and wait for the indicator in the Source Control tab to show.
- Try to exit the browser tab (also by pressing
COMMAND+W
). The Web IDE should warn you about losing changes.
Screenshot
Before | After |
---|---|
before_bug |
Firefox | Safari | Chrome |
---|---|---|
Edited by Paul Slaughter