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

Fix incorrectly applied Angular class decorators

Alexander Brandon Coles13810734ea16
diff --git a/frontend/src/app/core/global_search/global-search-work-packages.component.ts b/frontend/src/app/core/global_search/global-search-work-packages.component.ts
index b6c22ff181f..a705b2ac687 100644
--- a/frontend/src/app/core/global_search/global-search-work-packages.component.ts
+++ b/frontend/src/app/core/global_search/global-search-work-packages.component.ts
@@ -67,7 +67,6 @@ import {
</wp-embedded-table>
`,
})
-
export class GlobalSearchWorkPackagesComponent extends UntilDestroyedMixin implements OnInit, OnDestroy, AfterViewInit {
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
public queryProps:{ [key:string]:any };
diff --git a/frontend/src/app/core/global_search/tabs/global-search-tabs.component.ts b/frontend/src/app/core/global_search/tabs/global-search-tabs.component.ts
index 13dbb323b80..06e13e04f78 100644
--- a/frontend/src/app/core/global_search/tabs/global-search-tabs.component.ts
+++ b/frontend/src/app/core/global_search/tabs/global-search-tabs.component.ts
@@ -38,7 +38,6 @@ import { TabDefinition } from 'core-app/shared/components/tabs/tab.interface';
templateUrl: '../../../shared/components/tabs/scrollable-tabs/scrollable-tabs.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class GlobalSearchTabsComponent extends ScrollableTabsComponent implements OnInit, OnDestroy {
private currentTabSub:Subscription;
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
index 973950fc782..4e307f7f274 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
@@ -41,7 +41,6 @@ import { StateService } from '@uirouter/core';
selector: 'op-refresh-button',
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class RefreshButtonComponent {
public text = {
refresh: this.I18n.t('js.bcf.refresh'),
diff --git a/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.component.ts b/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.component.ts
index a419e22e7f9..7505acb4001 100644
--- a/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.component.ts
+++ b/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.component.ts
@@ -60,7 +60,6 @@ import { HalResourceService } from 'core-app/features/hal/services/hal-resource.
encapsulation: ViewEncapsulation.None,
styleUrls: ['./board-inline-add-autocompleter.sass'],
})
-
export class BoardInlineAddAutocompleterComponent implements AfterViewInit {
readonly text = {
placeholder: this.I18n.t('js.relations_autocomplete.placeholder'),
diff --git a/frontend/src/app/features/work-packages/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts b/frontend/src/app/features/work-packages/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts
index 0cf02a9f62c..a3be0541ea5 100644
--- a/frontend/src/app/features/work-packages/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts
+++ b/frontend/src/app/features/work-packages/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts
@@ -42,7 +42,6 @@ import { QueryFilterResource } from 'core-app/features/hal/resources/query-filte
selector: 'wp-filter-by-text-input',
templateUrl: './quick-filter-by-text-input.html',
})
-
export class WorkPackageFilterByTextInputComponent extends UntilDestroyedMixin {
@Output() public deactivateFilter = new EventEmitter<QueryFilterResource>();
diff --git a/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.service.ts b/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.service.ts
index 8064a1651dc..751f45f9c65 100644
--- a/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.service.ts
+++ b/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.service.ts
@@ -33,7 +33,6 @@ import { I18nService } from 'core-app/core/i18n/i18n.service';
@Injectable({
providedIn: 'root',
})
-
export class CopyToClipboardService {
constructor(
readonly toastService:ToastService,
diff --git a/frontend/src/app/shared/components/fields/display/field-types/excluded-icon-helper.service.ts b/frontend/src/app/shared/components/fields/display/field-types/excluded-icon-helper.service.ts
index be7eeb3939a..8f7cd1008c5 100644
--- a/frontend/src/app/shared/components/fields/display/field-types/excluded-icon-helper.service.ts
+++ b/frontend/src/app/shared/components/fields/display/field-types/excluded-icon-helper.service.ts
@@ -32,7 +32,6 @@ import { WorkPackageResource } from 'core-app/features/hal/resources/work-packag
import { StatusResource } from 'core-app/features/hal/resources/status-resource';
@Injectable({ providedIn: 'root' })
-
export class ExcludedIconHelperService {
constructor(
private apiV3Service:ApiV3Service,
diff --git a/frontend/src/app/shared/components/fields/display/field-types/hierarchy-query-link-helper.service.ts b/frontend/src/app/shared/components/fields/display/field-types/hierarchy-query-link-helper.service.ts
index c3934c118e6..0eb33f4e6eb 100644
--- a/frontend/src/app/shared/components/fields/display/field-types/hierarchy-query-link-helper.service.ts
+++ b/frontend/src/app/shared/components/fields/display/field-types/hierarchy-query-link-helper.service.ts
@@ -32,7 +32,6 @@ import { PathHelperService } from 'core-app/core/path-helper/path-helper.service
import { HalResource } from 'core-app/features/hal/resources/hal-resource';
@Injectable({ providedIn: 'root' })
-
export class HierarchyQueryLinkHelperService {
constructor(
private pathHelper:PathHelperService,
diff --git a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
index 3a66566c976..f644a1c1b13 100644
--- a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
+++ b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
@@ -56,7 +56,6 @@ interface TokenNameFormValue {
templateUrl: './query-get-ical-url.modal.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class QueryGetIcalUrlModalComponent extends OpModalComponent implements OnInit {
public tokenName = '';
diff --git a/frontend/src/app/shared/components/no-results/no-results.component.ts b/frontend/src/app/shared/components/no-results/no-results.component.ts
index 6998852118e..f0c1bbe4088 100644
--- a/frontend/src/app/shared/components/no-results/no-results.component.ts
+++ b/frontend/src/app/shared/components/no-results/no-results.component.ts
@@ -35,7 +35,6 @@ import { populateInputsFromDataset } from 'core-app/shared/components/dataset-in
selector: 'op-no-results',
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class NoResultsComponent {
@Input() title:string;
diff --git a/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts
index 34e4fcb8c42..14ce8e24ead 100644
--- a/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts
+++ b/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts
@@ -58,7 +58,6 @@ import {
</op-resizer>
`,
})
-
export class MainMenuResizerComponent extends UntilDestroyedMixin implements OnInit {
public toggleTitle:string;
diff --git a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
index 3393c8e2676..d522bf489bf 100644
--- a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
+++ b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
@@ -46,7 +46,6 @@ import { fromEvent } from 'rxjs';
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class WpResizerDirective extends UntilDestroyedMixin implements OnInit, AfterViewInit {
@Input() elementClass:string;
diff --git a/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.ts b/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.ts
index 0aa1fa8664c..02da89b0506 100644
--- a/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.ts
+++ b/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.ts
@@ -30,7 +30,6 @@ import { InjectField } from 'core-app/shared/helpers/angular/inject-field.decora
styleUrls: ['./scrollable-tabs.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
-
export class ScrollableTabsComponent extends UntilDestroyedMixin implements AfterViewInit, OnChanges {
@ViewChild('scrollContainer', { static: true }) scrollContainer:ElementRef;
diff --git a/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.component.ts b/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.component.ts
index 29810504a82..b1e07be64b7 100644
--- a/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.component.ts
+++ b/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.component.ts
@@ -31,7 +31,6 @@ import {
WpGraphConfigurationService,
],
})
-
export class WorkPackageOverviewGraphComponent implements OnInit {
@Input() initialFilters:any;
diff --git a/frontend/src/app/shared/components/work-packages/alternative-search.service.ts b/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
index 3db331853db..d30da39350f 100644
--- a/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
+++ b/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
@@ -3,7 +3,6 @@ import { I18nService } from 'core-app/core/i18n/i18n.service';
import { QueryFilterResource } from 'core-app/features/hal/resources/query-filter-resource';
@Injectable({ providedIn: 'root' })
-
export class AlternativeSearchService {
constructor(
readonly I18n:I18nService,