Add sendNotifications option to clock module (#3059)

Fixes #3056 

One question here would be if the default for this new option should be
true or false.

True: keeps the current behaviour, nobody needs to change his config if
they rely on this option

False: keeps the clock notifications quiet, doesnt waste time/resources,
keeps the noise low

Maybe the original author @cybex-dev can weigh in on this, and why he
added this notification.

---------

Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
Veeck
2023-04-01 21:40:05 +02:00
committed by GitHub
parent 4ef030af5f
commit b5a22bc09b
4 changed files with 109 additions and 103 deletions

View File

@@ -49,7 +49,7 @@
},
"homepage": "https://magicmirror.builders",
"devDependencies": {
"eslint-config-prettier": "^8.7.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^40.1.0",
@@ -59,8 +59,8 @@
"jest": "^29.5.0",
"jsdom": "^21.1.1",
"lodash": "^4.17.21",
"playwright": "^1.31.2",
"prettier": "^2.8.4",
"playwright": "^1.32.1",
"prettier": "^2.8.7",
"pretty-quick": "^3.1.3",
"sinon": "^15.0.2",
"stylelint": "^15.3.0",
@@ -69,7 +69,7 @@
"suncalc": "^1.9.0"
},
"optionalDependencies": {
"electron": "^22.3.3"
"electron": "^22.3.4"
},
"dependencies": {
"colors": "^1.4.0",