Skip to content

Add (in Alert module) templateName parameter#3009

Merged
rejas merged 3 commits intoMagicMirrorOrg:developfrom
rajniszp:develop
Jan 26, 2023
Merged

Add (in Alert module) templateName parameter#3009
rejas merged 3 commits intoMagicMirrorOrg:developfrom
rajniszp:develop

Conversation

@rajniszp
Copy link
Contributor

This simple change allows to use your own templates (under "templates" directory). The parameter templateName is optional (ignored on falsy value - undefined, null, empty string, etc.) and independent of type.

@sdetweil
Copy link
Collaborator

@rajniszp could you change the title to add,

in alert module

@rajniszp rajniszp changed the title Add templateName parameter Add (in Alert module) templateName parameter Jan 16, 2023
@rajniszp
Copy link
Contributor Author

Sure, changed

@codecov-commenter
Copy link

Codecov Report

Merging #3009 (b33c0ab) into develop (8d9f132) will increase coverage by 0.07%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3009      +/-   ##
===========================================
+ Coverage    21.76%   21.84%   +0.07%     
===========================================
  Files           52       52              
  Lines        11439    11439              
===========================================
+ Hits          2490     2499       +9     
+ Misses        8949     8940       -9     
Impacted Files Coverage Δ
modules/default/alert/alert.js 0.00% <0.00%> (ø)
modules/default/updatenotification/node_helper.js 90.27% <0.00%> (+12.50%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rejas rejas merged commit 7198ae5 into MagicMirrorOrg:develop Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants