-
Notifications
You must be signed in to change notification settings - Fork 13
Add checks customization feature documentation #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An overview of the current feature with a minor label change, see in comments
|
||
* Check description. | ||
|
||
* Warning message that Trento & SUSE are not liable for system malfunctions due to custom check values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated to trento-project/web@5b3fd48#diff-06abf413aa9c50485d856ed00a480751cd92119d6f6ce14458ce983fec6286ddR24-R26
|
||
User input is validated to ensure that the input value matches the expected type before allowing to save the custom values in Wanda's database. If the input type is incorrect or mixed, the customization fails, triggering a toast notification, that checks customization failed and a warning message in the modal itself. | ||
|
||
=== Disable Check Customization |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is very optional, and less user relevant. Feel free to skip it, as discussed
|
||
By default, built-in checks are customizable, to disable customization for a specific check, the *customization_disabled: true* flag must be added to the corresponding check YAML file. This flag can be applied at the top level to disable customization entirely or at the value level to control which values remain customizable through the Web UI. | ||
|
||
==== Disable Check customization for all values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed as mentioned in the comment before, but good for the understanding
Description
This Pr is a template for the upcoming checks customization feature for trento web.
The pr provides an adoc document which can be used in the main article.