Content
View differences
Updated by Tobias Dillmann 11 months ago
* add **feature flag** "calculated value project attribute"
* Note that the **feature flag** only controls the _creation_ of calculated values. With the feature flag disabled, you can still see calculated values that were created when the flag was active. You can also edit existing calculated values, regardless of the feature flag.
* add project attribute type "calculated value" in the project attributes administration
* if possible, use Primer
* is only visible when the feature flag is set
* admin-only
* for all projects
* name
* formula
* for now, the formula is a string field that offers no help or dropdown when editing
* only constants are allowed as input for now
* example formula: `1 + (2 * 3)`
* the formula is validated and errors are displayed when an invalid formula is inserted
* the new attribute can be added to a project
* no calculation is performed for now. Administrators can enter a formula, but it will not do anything.
**Out of scope**
* Displaying the calculated value (e.g. on the project overview or the project list)
* Note that the **feature flag** only controls the _creation_ of calculated values. With the feature flag disabled, you can still see calculated values that were created when the flag was active. You can also edit existing calculated values, regardless of the feature flag.
* if possible, use Primer
* is only visible when the feature flag is set
* admin-only
* for all projects
* name
* formula
* for now, the formula is a string field that offers no help or dropdown when editing
* only constants are allowed as input for now
* example formula: `1 + (2 * 3)`
* the formula is validated and errors are displayed when an invalid formula is inserted
* the new attribute can be added to a project
* no calculation is performed for now. Administrators can enter a formula, but it will not do anything.
**Out of scope**
* Displaying the calculated value (e.g. on the project overview or the project list)