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:
* "Existing child" as an option doesn't make sense. The related work package is only a child once it is added; what the user is doing is adding an existing work package as a child
### What is the expected behavior?
* Rename "New child" → "**Create new child**"
* Use existing translation key `js.relation_buttons.add_new_child` for the new label) `js.relation_buttons.add_new_child`)
* Rename "Existing child" → "**Child**"
* Use existing translation key `work_package_relations_tab.label_add_child_button` for the new label) `work_package_relations_tab.label_add_child_button`)
### Screenshots and other files
<img class="image_resized op-uc-image op-uc-image_inline" style="width:335px;" src="/api/v3/attachments/382454/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?
In the dropdown menu that appears when you click on the "+ Relation" button:
* "Existing child" as an option doesn't make sense. The related work package is only a child once it is added; what the user is doing is adding an existing work package as a child
### What is the expected behavior?
* Rename "New child" → "**Create new child**"
* Use existing translation key `js.relation_buttons.add_new_child` for the new label)
* Rename "Existing child" → "**Child**"
* Use existing translation key `work_package_relations_tab.label_add_child_button` for the new label)
### Screenshots and other files
<img class="image_resized op-uc-image op-uc-image_inline" style="width:335px;" src="/api/v3/attachments/382454/content">
### Environment information
**Community**
**OpenProject 15.4**
**Browser:**
Firefox Mac
**Language**
EN