Use project URL in fallback config (#3656)

This commit is contained in:
Kristjan ESPERANTO 2024-12-18 08:00:00 +01:00 committed by GitHub
parent 5232f46d44
commit 5b3b40da66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 15 deletions

View File

@ -22,12 +22,13 @@ _This release is scheduled to be released on 2025-01-01._
- [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586) - [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643) - [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643)
- [linter] Add linting for markdown files (#3646) - [linter] Add linting for markdown files (#3646)
- [calendar] - added ability to display end date for full date events, where end is not same day (showEnd=true) - [calendar] Add ability to display end date for full date events, where end is not same day (showEnd=true) (#3650)
### Changed ### Changed
- [core] Run code style checks in workflow only once. - [core] Run code style checks in workflow only once (#3648)
- [core] fix animations export #3644 only on server side - [core] Fix animations export #3644 only on server side (#3649)
- [core] Use project URL in fallback config.
### Removed ### Removed
@ -45,18 +46,18 @@ _This release is scheduled to be released on 2025-01-01._
- [updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3576) (#3605) (#3626) (#3628) - [updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3576) (#3605) (#3626) (#3628)
- [core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578) - [core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578)
- [weather] changed default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574) - [weather] Change default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
- [tests] fix electron tests with mock dates, the mock on server side was missing (#3597) - [tests] Fix electron tests with mock dates, the mock on server side was missing (#3597)
- [tests] fix testcases with hard coded Date.now (#3597) - [tests] Fix testcases with hard coded Date.now (#3597)
- [core] Fix missing `basePath` where `location.host` is used (#3613) - [core] Fix missing `basePath` where `location.host` is used (#3613)
- [compliments] croner library changed filenames used in latest version (#3624) - [compliments] croner library changed filenames used in latest version (#3624)
- [linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632) - [linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632)
- [calendar] - update to resolve issues #3098 #3144 #3351 #3422 #3443 #3467 #3537 related to timezone changes - [calendar] Update to resolve issues #3098 #3144 #3351 #3422 #3443 #3467 #3537 related to timezone changes
- [calendar] - fixes #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase) - [calendar] Fix #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase)
- [calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events - [calendar] Fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
- [calendar] - fix showEnd for Full Day events #3602 - [calendar] Fix showEnd for Full Day events (#3602)
- [tests] Suppress "module is not defined" in e2e tests - [tests] Suppress "module is not defined" in e2e tests (#3647)
- [calendar] - fixes #3267 (styles array, really this time!) - [calendar] Fix #3267 (styles array, really this time!)
## [2.29.0] - 2024-10-01 ## [2.29.0] - 2024-10-01

View File

@ -70,7 +70,7 @@ const defaults = {
position: "bottom_bar", position: "bottom_bar",
classes: "xsmall dimmed", classes: "xsmall dimmed",
config: { config: {
text: "www.michaelteeuw.nl" text: "https://magicmirror.builders/"
} }
} }
] ]

View File

@ -15,9 +15,9 @@ describe("Check configuration without modules", () => {
expect(elem.textContent).toContain("MagicMirror²"); expect(elem.textContent).toContain("MagicMirror²");
}); });
it("shows the url of michael's website", async () => { it("shows the project URL", async () => {
const elem = await helpers.waitForElement("#module_5_helloworld .module-content"); const elem = await helpers.waitForElement("#module_5_helloworld .module-content");
expect(elem).not.toBeNull(); expect(elem).not.toBeNull();
expect(elem.textContent).toContain("www.michaelteeuw.nl"); expect(elem.textContent).toContain("https://magicmirror.builders/");
}); });
}); });