Skip to content

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

Hide dates when dragging within the team planner

Henriette Darge0afe68cc2690
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
index 2342d30c6ea..34dea48f6d1 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
@@ -463,7 +463,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
}
const dateCurrentlyVisible = dateToCheck >= currentStartDate && dateToCheck <= currentEndDate;
- return dateCurrentlyVisible && this.calendar.eventDurationEditable(workPackage);
+ return dateCurrentlyVisible;
}
return false;
diff --git a/frontend/src/global_styles/content/modules/_team_planner.sass b/frontend/src/global_styles/content/modules/_team_planner.sass
index 2501b81e28a..d35a523c54c 100644
--- a/frontend/src/global_styles/content/modules/_team_planner.sass
+++ b/frontend/src/global_styles/content/modules/_team_planner.sass
@@ -26,3 +26,7 @@
&_with_left_side_pane
.fc-header-toolbar
margin-left: -136px
+
+ .fc-event-dragging
+ .op-wp-single-card--content-inline-date
+ visibility: hidden