OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[63351] Replace "Add follower" by "Add successor"
Christophe Bliard3f06127c0454
diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 1178edad0e6..1b90d052847 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -907,9 +907,9 @@ en:update_description: "Set or update description of this relation"toggle_description: "Toggle relation description"update_relation: "Click to change the relation type"- add_follower: "Add follower"show_relations: "Show relations"add_predecessor: "Add predecessor"+ add_successor: "Add successor"remove: "Remove relation"save: "Save relation"abort: "Abort"diff --git a/docs/user-guide/gantt-chart/README.md b/docs/user-guide/gantt-chart/README.mdindex c7ced56d5d7..c300878eb2d 100644--- a/docs/user-guide/gantt-chart/README.md+++ b/docs/user-guide/gantt-chart/README.md@@ -74,7 +74,7 @@ You can use any of the following options.- **Delete** - deletes a work package. You will need to confirm the deletion.- **Indent hierarchy** - creates a child-parent relationship with the work package directly above. The work package you selected becomes the child work package. The work package directly above becomes the parent work package.- **Add predecessor** - adds a predecessor (it will prompt you to select a work package in Gantt view).-- **Add follower** - adds a follower (it will prompt you to select a work package in Gantt view).+- **Add successor** - adds a successor (it will prompt you to select a work package in Gantt view).- **Show relations** - opens the details view of a work package and displays the **Relations** tab.- **Create new child** - opens a new work package on the right side of the screen. This new work package already has a child relationship to the work package you selected. **This option will not be available if the work package type is a milestone**.@@ -105,7 +105,7 @@ You can track dependencies of work packages (e.g. phases, milestones, tasks) inTo add a dependency, right-click on an element in the Gantt chart, which will open a quick context menu.-In the menu, choose **Add predecessor** or **Add follower**.+In the menu, choose **Add predecessor** or **Add successor**.Select the item to which you want to create a dependency. The precede and follow relation is marked with a small blue line in the Gantt chart.diff --git a/frontend/src/app/features/work-packages/components/wp-table/context-menu-helper/wp-context-menu-helper.service.ts b/frontend/src/app/features/work-packages/components/wp-table/context-menu-helper/wp-context-menu-helper.service.tsindex 5233ec01d47..4874f3369c0 100644--- a/frontend/src/app/features/work-packages/components/wp-table/context-menu-helper/wp-context-menu-helper.service.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/context-menu-helper/wp-context-menu-helper.service.ts@@ -217,7 +217,7 @@ export class WorkPackageContextMenuHelperService {});allowedActions.push({key: 'relation-follows',- text: I18n.t('js.relation_buttons.add_follower'),+ text: I18n.t('js.relation_buttons.add_successor'),link: 'addRelation',});}diff --git a/modules/gantt/spec/features/timeline/timeline_navigation_spec.rb b/modules/gantt/spec/features/timeline/timeline_navigation_spec.rbindex 6bbad8cbe1e..0fa51af7988 100644--- a/modules/gantt/spec/features/timeline/timeline_navigation_spec.rb+++ b/modules/gantt/spec/features/timeline/timeline_navigation_spec.rb@@ -151,7 +151,7 @@ RSpec.describe "Work package timeline navigation",retry_block dofind(".wp-row-#{work_package2.id}-timeline").right_clickfind(".menu-item", text: "Add predecessor")- find(".menu-item", text: "Add follower")+ find(".menu-item", text: "Add successor")endendenddiff --git a/spec/features/work_packages/details/relations/primerized_relations_syncing_spec.rb b/spec/features/work_packages/details/relations/primerized_relations_syncing_spec.rbindex 959a7fb2c2a..48f960c00f5 100644--- a/spec/features/work_packages/details/relations/primerized_relations_syncing_spec.rb+++ b/spec/features/work_packages/details/relations/primerized_relations_syncing_spec.rb@@ -92,7 +92,7 @@ RSpec.describe "Primerized work package relations tab syncing with other elementcurrent_user { user }- it "updates the relation tab when setting a follower relation in Gantt" do+ it "updates the relation tab when setting a successor relation in Gantt" do# Visit timeline querywp_timeline.visit_query query_tlwp_timeline.expect_timeline!(open: true)@@ -112,7 +112,7 @@ RSpec.describe "Primerized work package relations tab syncing with other element# Create relation in Ganttretry_block dofind(".wp-row-#{work_package_a.id}-timeline").right_click- find(".menu-item", text: "Add follower").click+ find(".menu-item", text: "Add successor").click# Dismiss the flash for visibilityexpect(page).to have_text "Click on any highlighted work package to create the relation"diff --git a/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb b/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rbindex 757a11b24c3..317d498d0be 100644--- a/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb+++ b/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb@@ -63,7 +63,7 @@ RSpec.shared_examples_for "provides a single WP context menu" dowp_timeline.expect_timeline!(open: false)open_context_menu.call- menu.expect_no_options "Add predecessor", "Add follower, Show relations"+ menu.expect_no_options "Add predecessor", "Add successor", "Show relations"# Duplicate in another projectopen_context_menu.calldiff --git a/spec/features/work_packages/table/context_menu/context_menu_spec.rb b/spec/features/work_packages/table/context_menu/context_menu_spec.rbindex 9de99cef631..9ce5b6f35cb 100644--- a/spec/features/work_packages/table/context_menu/context_menu_spec.rb+++ b/spec/features/work_packages/table/context_menu/context_menu_spec.rb@@ -75,7 +75,7 @@ RSpec.describe "Work package table context menu",menu.expect_options "Open details view","Open fullscreen view","Add predecessor",- "Add follower",+ "Add successor","Show relations"menu.expect_no_options "Log time"