Validation Options for Editor sidebar backend
Implement Validation Options Settings in the React Editor sidebar:
Create REST service backend for editor to fetch project validation options.
Currently in the GWT editor we display the project wide validation options and allow users to temporarily enable or disable warnings or disabled options, and disable the checkbox for error options as set by the project maintainer.
Options are presented as:
'Error' status = checkbox disabled and checked
'Warning' status = checkbox checked and toggleable
'Off' status = checkbox unchecked and toggleable
This feature implements a Feature Switch in server/zanata-frontend/src/app/utils/FeatureToggles.ts
The feature can be enabled for QA by returning true from the corresponding function in this file, in this case the "showValidationOptions" function.