add support for custom regions, by detecting what is used in index.html (#3518)

read index.html to discover the regions used, make them the list checked
by app.js and check:config test

fixes #3504   supercedes #3506 

no config.js param required
This commit is contained in:
sam detweiler
2024-08-27 15:52:59 -05:00
committed by GitHub
parent 56736786fd
commit 2b97e0d26e
11 changed files with 154 additions and 29 deletions

View File

@@ -20,8 +20,8 @@ _This release is scheduled to be released on 2024-10-01._
- [weather] Updated `apiVersion` default from 2.5 to 3.0 (#3424)
- [core] Updated dependencies including stylistic-eslint
- [core] Allow custom module positions by setting `allowCustomModulePositions` in `config.js` (fixes #3504, related to https://github.com/MagicMirrorOrg/MagicMirror/pull/3445)
- [core] Updated SocketIO catch all to new API
- [core] Allow custom modules positions by scanning index.html for the defined regions, instead of hard coded(fixes #3504)
### Fixed