Add new option in settings - "ACS Style" #5156
Labels
ACS standard
feature request
phase III
Team G
Test Cases Written
Test cases has been written for that issue
Background
Just introducing all necessary settings that are needed to comply with ACS style is not enough. We should introduce a user-friendly way for the user to select ACS style.
A new section in the settings "ACS Style" should be added for that purpose.
Requirements
A new option in setting should be added called "ACS Style"
![image](https://private-user-images.githubusercontent.com/169887211/354285046-de70fc50-1809-40a1-b31e-69364b41d2fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNzU2MTIsIm5iZiI6MTcyNTE3NTMxMiwicGF0aCI6Ii8xNjk4ODcyMTEvMzU0Mjg1MDQ2LWRlNzBmYzUwLTE4MDktNDBhMS1iMzFlLTY5MzY0YjQxZDJmZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMVQwNzIxNTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MGEwNzJiMmU0N2QwZmE3Y2RhZWJkYzY0NDFmYTQ3YzFiZWZjYjlhYWNkNWM1NjRjMTc5YzZkZDRjYjVlMTFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XnQ7I6Pmwo3haigz1qGgI7yeOhSiNRD1n8mhE1P1Bok)
1.1. The section should be placed above "Reset to Select Tool" setting in "General"
1.2. The user can turn the option "ON" or "OFF"
1.3. Existing toggle UX should be reused.
(image for better understanding)
1.4. By default (and upon settings "Reset") the option is disabled.
When the user clicks on the toggle a warning message appears: "Selecting ACS Style will change value of certain settings and make them read-only. Do you wish to continue?"
2.1. "Yes" - warning window is closed, the toggle is ON.
2.2. "Cancel" - warning window is closed, the toggle is OFF.
2.3. The default option is "Cancel".
If "ACS Style" gets turned ON (just toggle on ON) certain default values and units of measurement for following settings are chosen, and these settings are disabled:
When "ACS Style" is turned ON (toggle on ON -> Apply at the bottom of the window), positions of all elements on the canvas are recalculated so that they comply with "ACS Style".
If "ACS Style" is turned OFF (just toggle on OFF) after it was ON, previously disabled settings are not disabled anymore.
A new field
"isACSStyle": false
is added to the JSON for the SettingsUX
TBD
The text was updated successfully, but these errors were encountered: