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
Merge branch 'dev' into feature/team-planner-drag-and-drop
Benjamin Bädorf2aafc48627d0
diff --cc frontend/src/app/features/calendar/op-calendar.service.tsindex 09475bae0fa,8405cd1915d..dc932330eba--- a/frontend/src/app/features/calendar/op-calendar.service.ts+++ b/frontend/src/app/features/calendar/op-calendar.service.ts@@@ -352,20 -370,13 +372,26 @@@ export class OpCalendarService extendsprivate updateDateParam(dates:DatesSetArg) {void this.$state.go('.',- { cdate: this.timezoneService.formattedISODate(dates.start) },+ {+ cdate: this.timezoneService.formattedISODate(dates.view.currentStart),+ cview: dates.view.type,+ },+ {+ custom: { notify: false },+ },);}++ updateDates(resizeInfo:EventResizeDoneArg|EventDropArg):ResourceChangeset<WorkPackageResource> {+ const workPackage = resizeInfo.event.extendedProps.workPackage as WorkPackageResource;++ const changeset = this.halEditing.edit(workPackage);+ changeset.setValue('startDate', resizeInfo.event.startStr);+ const due = moment(resizeInfo.event.endStr)+ .subtract(1, 'day')+ .format('YYYY-MM-DD');+ changeset.setValue('dueDate', due);++ return changeset;+ }}diff --cc frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.tsindex ffd3d88a805,5349815cb72..4ac6151e71f--- 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@@@ -44,10 -43,8 +44,10 @@@ import { WorkPackageResource } from 'coimport { HalResource } from 'core-app/features/hal/resources/hal-resource';import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';import { ResourceLabelContentArg } from '@fullcalendar/resource-common';- import { OpCalendarService } from 'core-app/shared/components/calendar/op-calendar.service';+ import { OpCalendarService } from 'core-app/features/calendar/op-calendar.service';import { WorkPackageCollectionResource } from 'core-app/features/hal/resources/wp-collection-resource';+import { HalResourceEditingService } from 'core-app/shared/components/fields/edit/services/hal-resource-editing.service';+import { HalResourceNotificationService } from 'core-app/features/hal/services/hal-resource-notification.service';@Component({selector: 'op-team-planner',