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
removed latest activties from overview tab as requested by @wielinde in WP #58017
Jonas Jabari453a2a7367f5
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.component.ts b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.component.tsindex ea20e3c598b..11766a4197b 100644--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.component.ts+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.component.ts@@ -32,6 +32,7 @@ import { WorkPackageResource } from 'core-app/features/hal/resources/work-packagimport { I18nService } from 'core-app/core/i18n/i18n.service';import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';+import { ConfigurationService } from 'core-app/core/config/configuration.service';@Component({templateUrl: './overview-tab.html',@@ -44,10 +45,13 @@ export class WorkPackageOverviewTabComponent extends UntilDestroyedMixin implemepublic tabName = this.I18n.t('js.label_latest_activity');+ public primerizedActivitiesEnabled:boolean;+public constructor(readonly I18n:I18nService,readonly $state:StateService,readonly apiV3Service:ApiV3Service,+ readonly configurationService:ConfigurationService,) {super();}@@ -55,6 +59,8 @@ export class WorkPackageOverviewTabComponent extends UntilDestroyedMixin implemengOnInit() {this.workPackageId = this.workPackage?.id || this.$state.params.workPackageId as string;+ this.primerizedActivitiesEnabled = this.configurationService.activeFeatureFlags.includes('primerizedWorkPackageActivities');+this.apiV3Service.work_packagesdiff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.htmlindex a0d7a0a121a..60d4cac5e69 100644--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html@@ -1,7 +1,7 @@<wp-single-view [workPackage]="workPackage"*ngIf="workPackage"></wp-single-view>-<div class="attributes-group" *ngIf="workPackage">+<div class="attributes-group" *ngIf="workPackage && !primerizedActivitiesEnabled"><div class="attributes-group--header"><div class="attributes-group--header-container"><h3 class="attributes-group--header-text" [textContent]="tabName"></h3>