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
Allow switch of details view on all tabs not only on overview
Henriette Dingerbf86eef503a3
diff --git a/frontend/src/app/components/wp-fast-table/handlers/row/click-handler.ts b/frontend/src/app/components/wp-fast-table/handlers/row/click-handler.tsindex ea22e5645b7..1e3c271ae96 100644--- a/frontend/src/app/components/wp-fast-table/handlers/row/click-handler.ts+++ b/frontend/src/app/components/wp-fast-table/handlers/row/click-handler.ts@@ -62,11 +62,6 @@ export class RowClickHandler implements TableEventHandler {return true;}- // Ignore links- if (target.is('a') || target.parent().is('a')) {- return true;- }-let [index, row] = table.findRenderedRow(classIdentifier);// Update single selection if no modifier presentdiff --git a/frontend/src/app/modules/work_packages/routing/wp-split-view/wp-split-view.component.ts b/frontend/src/app/modules/work_packages/routing/wp-split-view/wp-split-view.component.tsindex 944e1d2d1ba..baba63f1e57 100644--- a/frontend/src/app/modules/work_packages/routing/wp-split-view/wp-split-view.component.ts+++ b/frontend/src/app/modules/work_packages/routing/wp-split-view/wp-split-view.component.ts@@ -87,7 +87,7 @@ export class WorkPackageSplitViewComponent extends WorkPackageSingleViewBase imp).subscribe(newId => {const idSame = wpId.toString() === newId.toString();- if (!idSame && this.$state.includes(`${this.baseRoute}.details.overview`)) {+ if (!idSame && this.$state.includes(`${this.baseRoute}.details`)) {this.$state.go((this.$state.current.name as string),{ workPackageId: newId, focus: false }diff --git a/spec/features/work_packages/tabs/keep_tab_spec.rb b/spec/features/work_packages/tabs/keep_tab_spec.rbindex 5e6ad473099..ed83fad2f36 100644--- a/spec/features/work_packages/tabs/keep_tab_spec.rb+++ b/spec/features/work_packages/tabs/keep_tab_spec.rb@@ -56,7 +56,7 @@ RSpec.feature 'Keep current details tab', js: true, selenium: true dowp_split2.expect_tab :activity# Open first WP by click on table- wp_table.open_split_view(wp1)+ wp_table.click_on_row(wp1)wp_split1.expect_subjectwp_split1.expect_tab :activity