Content
Epic DREAM-745: Simplify selection, creation and usage of project and work package attributes macros
View differences
Updated by Henriette Darge about 18 hours ago
**As** a project manager that is working according to PM²/PMflex
**I want to** have a gui to select project attributes to add them to textfields
**so that** easily add project attributes to agenda items and wiki pages
# **Roadmap** **Acceptance criteria**
* The whole proces for creating, displaying and reading project attribute macros `projectValue:foo` in the ckEditor are enhanced by automatically changing to display the value they contain (similar to how it was done recently for workPackage and project attributes WP links which also directly translate to their displayed value)
* The "+ Insert" of the ckEditor menu gets simplified.
## **Step 1 - Simplify a new option "Project attribute"
* Clicking that, opens a dialog where the creation**
<mention class="mention" data-id="77327" data-type="work_package" data-text="###DREAM-764" data-display-id="DREAM-764">###DREAM-764</mention>
workPackageValue:77327:description
<br>
## Step 2 - Simplify reading user can select which attribute to show
* It is a single select
* _Open: How should this dialog look like?_
* After selecting an attribute from the macros
<mention class="mention" data-id="77328" data-type="work_package" data-text="###DREAM-765" data-display-id="DREAM-765">###DREAM-765</mention>
workPackageValue:77328:description
<br>
## Step 3 - Allowing direct edits of fields inserted via a dialog, it gets rendered (in display mode) in the current cursor position within the ckEditor
* When saving the whole editor and switching it to display mode, the macro (tbd)
<mention class="mention" data-id="77329" data-type="work_package" data-text="###DREAM-766" data-display-id="DREAM-766">###DREAM-766</mention>
workPackageValue:77329:description
## **Out of scope**
gets replaced by an InplaceEditField, allowing users with certain permissions to edit it directly
* Renaming a project attribute does not break the macro integration.
<br> **Out of scope**
* Nested inplaceEditFields don't have to work. They can be read-only when the project attribute is rendered within another inplaceEdit field,
* e.g the angular inplace edit fields (like the WP description)
* e.g. using the macro within the project description
**Permissions and visibility considerations**
* We keep the existing permission scheme.
**I want to** have a gui to select project attributes to add them to textfields
**so that** easily add project attributes to agenda items and wiki pages
# **Roadmap**
* The "+ Insert" of the ckEditor menu
## **Step 1 - Simplify
* Clicking that, opens a dialog where
<mention class="mention" data-id="77327" data-type="work_package" data-text="###DREAM-764" data-display-id="DREAM-764">###DREAM-764</mention>
workPackageValue:77327:description
<br>
## Step 2 - Simplify reading
* It is a single select
* _Open: How should this dialog look like?_
* After selecting an attribute from
<mention class="mention" data-id="77328" data-type="work_package" data-text="###DREAM-765" data-display-id="DREAM-765">###DREAM-765</mention>
workPackageValue:77328:description
<br>
## Step 3 - Allowing direct edits of fields inserted via a
* When saving the whole editor and switching it to display mode, the
<mention class="mention" data-id="77329" data-type="work_package" data-text="###DREAM-766" data-display-id="DREAM-766">###DREAM-766</mention>
workPackageValue:77329:description
## **Out of scope**
<br>
* Nested inplaceEditFields don't have to work. They can be read-only when the project attribute is rendered within another inplaceEdit field,
* e.g the angular inplace edit fields (like the WP description)
* e.g. using the macro within the project description
**Permissions and visibility considerations**
* We keep the existing permission scheme.