-
Notifications
You must be signed in to change notification settings - Fork 8
Contribute
Scott Lewis edited this page May 19, 2024
·
5 revisions
- Clone repository
- Pull latest from master (git checkout master; git pull)
- Create new feature branch from master
- Make edits
- Do not edit MM-DynamicWeather.js file directly, make all edits in TypeScript files
- Run
tsc
in a window terminal in the MMM-DynamicWeather directory. - Copy files over to MagicMirror installation. Folder is under
MaggicMirror/modules/MMM-DynamicWeather
- Run
npm start
to run the app ornpm start dev
to run the app with DevTools opened.
- Push changes and create pull request
- Verify code actions run successfully and fix promptly
- Link to any issues and update interested users
- Update the following files:
- ChangeLog.md
- Readme.md
- ConfigurationOptions.md
- Create a new version tag
- This module is supposed to be heavily configurable, allowing anyone to add their own custom effects or use some default animations for weather. Please continue to support this idea with any change.
- The
getDom()
andupdateDom()
have limitations.getDom()
will be called when the module needs to be displayed and should return all the html to add to the module. All HTML content should be wrapped inside the parent<div>
the wrapper object.updateDom()
will redraw the entire content and reset any timers.