@axa-fr/slimfaas-planet-saver 0.36.7-pr.1051097 → 0.36.7-pr.931103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/SlimFaasPlanetSaver.js +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
A Vanilla JS project to save the planet. SlimFaas (https://github.com/SlimPlanet/slimfaas) is the
|
|
7
|
+
A Vanilla JS project to save the planet. SlimFaas (https://github.com/SlimPlanet/slimfaas) is the slimmest and simplest Function As A Service on Kubernetes.
|
|
8
8
|
It works as a proxy that you can be deployed in your namespace.
|
|
9
9
|
|
|
10
10
|
SlimFaas API can give to the frontend information about the infrastructure state. **It is a mind changer !**
|
package/package.json
CHANGED
|
@@ -97,8 +97,8 @@ export default class SlimFaasPlanetSaver {
|
|
|
97
97
|
|
|
98
98
|
if (!allReady && this.isDocumentVisible && !mouseMovedRecently) {
|
|
99
99
|
this.updateOverlayMessage(this.overlayNoActivityMessage, 'waiting-action');
|
|
100
|
-
} else if (mouseMovedRecently) {
|
|
101
|
-
if(!allReady
|
|
100
|
+
} else if (mouseMovedRecently && this.isDocumentVisible) {
|
|
101
|
+
if(!allReady) {
|
|
102
102
|
this.updateOverlayMessage(this.overlayStartingMessage, 'waiting');
|
|
103
103
|
}
|
|
104
104
|
if(!this.lastWakeUpTime) {
|