Janne Savolainen
c36aaa557e
Abstract event of device shutdown from electron
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:25:32 +03:00
Janne Savolainen
5e12e783d4
Abstract event of application activation from electron
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:25:32 +03:00
Janne Savolainen
f18926ab66
Adapt code and unit tests to recent changes in application setup and event handling
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:25:32 +03:00
Iku-turso
f838a4eab5
Make quit triggered by auto update manifest as hard quit instead of just soft quit
...
Soft quit is the stand-by quit where only the renderer quits. Hard quit is the full quit of also main.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-05-11 08:25:31 +03:00
Iku-turso
c90ab671ff
Make difference between soft and hard quit of application apparent
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-05-11 08:25:31 +03:00
Iku-turso
9235c41aeb
Rename yet another delegate for accuracy
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-05-11 08:25:30 +03:00
Janne Savolainen
b76ff351ac
Abstract even more Electron specifics to make them overridable in unit tests
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:25:26 +03:00
Janne Savolainen
068f9f67da
Introduce more abstractions for electron
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:24:22 +03:00
Janne Savolainen
bace3c84d7
Introduce abstractions for electron application events
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:24:21 +03:00
Iku-turso
d915b2377a
Consolidate event naming
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-05-11 08:24:21 +03:00
Iku-turso
e991b22781
Extract implementation for intent over technical phenomena (here electron events)
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-05-11 08:24:20 +03:00
Janne Savolainen
0bbc97e166
Reimplement setup for system shutdown using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:36 +03:00
Janne Savolainen
2e6d54e3f9
Reimplement setup for system certifications using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:36 +03:00
Janne Savolainen
65d6ce4630
Reimplement setup for application proxy using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:35 +03:00
Janne Savolainen
32f4c961fc
Reimplement setup for MobX strictness using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:35 +03:00
Janne Savolainen
0276078d1f
Reimplement setup for immer using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:35 +03:00
Janne Savolainen
74f8d7462e
Reimplement setup for electron application name using runnables instead of non-OCP in index.ts
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:35 +03:00
Janne Savolainen
6fe0c2fce5
Introduce tokens for runnables of specific application events for Open Closed Principle
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-05-11 08:18:34 +03:00