Content
View differences
Updated by Parimal Satyal about 1 year ago
### Context
The original feature to Primerise the Relations tab (<mention class="mention" data-id="58345" data-type="work_package" data-text="#58345">#58345</mention>) did not include options to add children via the "+ Relation" button, as it was considered out of scope. A later feature (<mention class="mention" data-id="60273" data-type="work_package" data-text="#60273">#60273</mention>) added this functionality, since it was missed by quite a few users.
### Steps to reproduce
* Go to any work package and click on the Relations tab
### What is the buggy behavior?
In the dropdown menu that appears when you click on the "+ Relation" button:
* The idea of adding "Existing child" as an "existing child" option doesn't make sense as an action; the sense. The related work package is only a child once it is added. What added; what the user is doing is adding an existing work package as a child. There are two place it is incorrect:
* The term "Existing child" in the dropdown menu that appears when you click on the "+ Relation" button.
* The "Add existing child" option under embedded work package tables.
child
### What is the expected behavior?
* Rename "New child" → "**Create new child**"
* Rename "Existing child" → "**Child**"
* Use existing translation key `work_package_relations_tab.label_add_child_button` for the new label)
* Rename "Add existing child" embedded work package tables (Angular) → "**Add child**"
* Update translation key `js.relation_buttons.add_existing_child`
### Screenshots and other files
**In the Add relation drop-down:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:335px;" src="/api/v3/attachments/382454/content">
**Under embedded work package table:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:508px;" src="/api/v3/attachments/385071/content">
### Environment information
**Community**
**OpenProject 15.4**
**Browser:**
Firefox Mac
**Language**
EN
The original feature to Primerise the Relations tab (<mention class="mention" data-id="58345" data-type="work_package" data-text="#58345">#58345</mention>) did not include options to add children via the "+ Relation" button, as it was considered out of scope. A later feature (<mention class="mention" data-id="60273" data-type="work_package" data-text="#60273">#60273</mention>) added this functionality, since it was missed by quite a few users.
### Steps to reproduce
* Go to any work package and click on the Relations tab
### What is the buggy behavior?
* The term "Existing child" in the dropdown menu that appears when you click on the "+ Relation" button.
* The "Add existing child" option under embedded work package tables.
* Rename "New child" → "**Create new child**"
* Rename "Existing child" → "**Child**"
* Use existing translation key `work_package_relations_tab.label_add_child_button` for the new label)
* Rename "Add existing child" embedded work package tables (Angular) → "**Add child**"
* Update translation key `js.relation_buttons.add_existing_child`
### Screenshots and other files
**In the Add relation drop-down:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:335px;" src="/api/v3/attachments/382454/content">
**Under embedded work package table:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:508px;" src="/api/v3/attachments/385071/content">
### Environment information
**Community**
**OpenProject 15.4**
**Browser:**
Firefox Mac
**Language**
EN