Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
V8: Add ability to resolve Health Checks with other property types - e.g. Content Picker #5652
Link to existing issue: #5452
This PR does a couple of things:
I've added the ability to use a Content Picker to resolve a Health Check because I want to add a Privacy Health Check that needs to verify that certain types of content items exist for a website. See gif below:
If the setting that a Health Check is looking for initially does not exist in the config file it will explain to the user that the config setting is missing and needs to be added:
To test you can verify against the Privacy Health Check feature that is planned to be released as part of the Our Umbraco HealthChecks package, once the Core changes in this PR are merged.
There should now be a Privacy Health Check available within the Health Check Dashboard.
Initially when you run the check it should tell you that required App Settings are missing. Once you add those and run the check again, it should allow you to use a Content Picker to point to existing content nodes (you'll need to have those created also) to resolve the issue.
Thanks to @lssweatherhead for her collaboration on this Core change.