2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-15 18:32:21 +00:00
nativefier/app/src
Adam Weeden cdc6fa79c2
Fix fullscreen not working + menu refactor (fix #1206) (#1210)
* Catch promise errors better

* Move subFunctions to bottom of createNewWindow

* Use parents when creating child BrowserWindow instances

* Some about:blank pages have an anchor (for some reason)

* Inject browserWindowOptions better

* Interim refactor to MainWindow object

* Split up the window functions/helpers/events some

* Further separate out window functions + tests

* Add a mock for unit testing functions that access electron

* Add unit tests for onWillPreventUnload

* Improve windowEvents tests

* Add the first test for windowHelpers

* Move WebRequest event handling to node

* insertCSS completely under test

* clearAppData completely under test

* Fix contextMenu require bug

* More tests + fixes

* Fix + add to createNewTab tests

* Convert createMainWindow back to func + work out gremlins

* Move setupWindow away from main since its shared

* Make sure contextMenu is handling promises

* Fix issues with fullscreen not working + menu refactor

* Run jest against app/dist so that we can hit app unit tests as well

* Requested PR changes
2021-06-07 08:55:17 -04:00
..
components Fix fullscreen not working + menu refactor (fix #1206) (#1210) 2021-06-07 08:55:17 -04:00
helpers Fix fullscreen not working + menu refactor (fix #1206) (#1210) 2021-06-07 08:55:17 -04:00
mocks Fix fullscreen not working + menu refactor (fix #1206) (#1210) 2021-06-07 08:55:17 -04:00
static Revamp and move to TypeScript (#898) 2020-03-15 16:50:01 -04:00
main.ts Fix fullscreen not working + menu refactor (fix #1206) (#1210) 2021-06-07 08:55:17 -04:00
preload.ts Fix crash in preload.js due to 3rd-party 'loglevel' (fix #1175, fix #1176) (PR #1177) 2021-05-02 18:12:08 -04:00