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

[ng] Remove remainder of OpenprojectProjectsModule

Alexander Brandon Colesaf75054c8f6a
diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts
index 24e7c186e13..7625730f27a 100644
--- a/frontend/src/app/app.module.ts
+++ b/frontend/src/app/app.module.ts
@@ -55,7 +55,6 @@ import {
} from 'core-app/shared/components/work-package-graphs/openproject-work-package-graphs.module';
import { OpenprojectOverviewModule } from 'core-app/features/overview/openproject-overview.module';
import { OpenprojectMyPageModule } from 'core-app/features/my-page/openproject-my-page.module';
-import { OpenprojectProjectsModule } from 'core-app/features/projects/openproject-projects.module';
import { KeyboardShortcutService } from 'core-app/shared/directives/a11y/keyboard-shortcut.service';
import { CopyToClipboardService } from 'core-app/shared/components/copy-to-clipboard/copy-to-clipboard.service';
import {
@@ -259,9 +258,6 @@ export function initializeServices(injector:Injector) {
OpenprojectGridsModule,
OpenprojectAttachmentsModule,
- // Project module
- OpenprojectProjectsModule,
-
// Work packages and their routes
OpenprojectWorkPackagesModule,
OpenprojectWorkPackageRoutesModule,
diff --git a/frontend/src/app/features/projects/openproject-projects.module.ts b/frontend/src/app/features/projects/openproject-projects.module.ts
deleted file mode 100644
index dd1e75df7d3..00000000000
--- a/frontend/src/app/features/projects/openproject-projects.module.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-//-- copyright
-// OpenProject is an open source project management software.
-// Copyright (C) the OpenProject GmbH
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License version 3.
-//
-// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-// Copyright (C) 2006-2013 Jean-Philippe Lang
-// Copyright (C) 2010-2013 the ChiliProject Team
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-// See COPYRIGHT and LICENSE files for more details.
-//++
-
-import { NgModule } from '@angular/core';
-import { OpenprojectHalModule } from 'core-app/features/hal/openproject-hal.module';
-import { OpenprojectFieldsModule } from 'core-app/shared/components/fields/openproject-fields.module';
-import { DynamicFormsModule } from 'core-app/shared/components/dynamic-forms/dynamic-forms.module';
-import { ReactiveFormsModule } from '@angular/forms';
-import { OpSharedModule } from 'core-app/shared/shared.module';
-import { NgSelectModule } from '@ng-select/ng-select';
-
-@NgModule({
- imports: [
- // Commons
- OpSharedModule,
- ReactiveFormsModule,
-
- NgSelectModule,
- OpenprojectHalModule,
- OpenprojectFieldsModule,
- DynamicFormsModule,
- ],
- declarations: [
- ],
-})
-export class OpenprojectProjectsModule {
-}
diff --git a/frontend/src/app/features/work-packages/openproject-work-packages.module.ts b/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
index 1e8e1ee101e..7f6a70ff94c 100644
--- a/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
+++ b/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
@@ -231,7 +231,6 @@ import {
WorkPackageViewDropdownMenuDirective,
} from 'core-app/shared/components/op-context-menu/handlers/wp-view-dropdown-menu.directive';
import { HalEventsService } from 'core-app/features/hal/services/hal-events.service';
-import { OpenprojectProjectsModule } from 'core-app/features/projects/openproject-projects.module';
import {
WorkPackageNotificationService,
} from 'core-app/features/work-packages/services/notifications/work-package-notification.service';
@@ -423,8 +422,6 @@ import {
OpenprojectBcfModule,
- OpenprojectProjectsModule,
-
OpenprojectModalModule,
OpenprojectAutocompleterModule,