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
Showing parent work packages on its type color
Aleix Suaua6da253c6c10
diff --git a/frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.ts b/frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.tsindex 12ac0f3eb95..82fa9ff8eaa 100644--- a/frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.ts+++ b/frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.ts@@ -367,9 +367,9 @@ export class TimelineCellRenderer {let type = wp.type;let selectionMode = renderInfo.viewParams.activeSelectionMode;- // Don't apply the class in selection mode or for parents (clamps)+ // Don't apply the class in selection modeconst id = type.id;- if (selectionMode || this.isParentWithVisibleChildren(wp)) {+ if (selectionMode) {bg.classList.remove(Highlighting.backgroundClass('type', id!));} else {bg.classList.add(Highlighting.backgroundClass('type', id!));@@ -404,8 +404,8 @@ export class TimelineCellRenderer {** Known cases:* 1. Display a clamp if this work package is a parent element- * 2. Display the children's duration bar if this work package is a- * parent element+ * and display a box wrapping all the visible children when the+ * parent is hovered*/checkForSpecialDisplaySituations(renderInfo:RenderInfo, bar:HTMLElement) {const wp = renderInfo.workPackage;