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
Fix type errors after rebase
Oliver Güntherb55d9b2ceeef
diff --git a/frontend/src/app/features/enterprise/enterprise-trial.service.ts b/frontend/src/app/features/enterprise/enterprise-trial.service.tsindex e127c54d506..4068ab2e199 100644--- a/frontend/src/app/features/enterprise/enterprise-trial.service.ts+++ b/frontend/src/app/features/enterprise/enterprise-trial.service.ts@@ -27,7 +27,7 @@//++import { Injectable } from '@angular/core';-import { FormGroup } from '@angular/forms';+import { UntypedFormGroup } from '@angular/forms';import {HttpClient,HttpErrorResponse,@@ -42,8 +42,6 @@ import {import { I18nService } from 'core-app/core/i18n/i18n.service';import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';import { ToastService } from 'core-app/shared/components/toaster/toast.service';-import { UntypedFormGroup } from '@angular/forms';-import { input } from 'reactivestates';import { EXTERNAL_REQUEST_HEADER } from 'core-app/features/hal/http/openproject-header-interceptor';import { EnterpriseTrialStore } from 'core-app/features/enterprise/enterprise-trial.store';import { GonType } from 'core-app/core/gon/gon.service';diff --git a/frontend/src/app/features/invite-user-modal/principal/principal.component.ts b/frontend/src/app/features/invite-user-modal/principal/principal.component.tsindex 8c53cabb534..13bf025952f 100644--- a/frontend/src/app/features/invite-user-modal/principal/principal.component.ts+++ b/frontend/src/app/features/invite-user-modal/principal/principal.component.ts@@ -104,8 +104,8 @@ export class PrincipalComponent implements OnInit {principal: new UntypedFormControl(null, [Validators.required]),userDynamicFields: new UntypedFormGroup({}),// eslint-disable-next-line @typescript-eslint/unbound-method- role: new FormControl(null, [Validators.required]),- message: new FormControl(''),+ role: new UntypedFormControl(null, [Validators.required]),+ message: new UntypedFormControl(''),});public userDynamicFieldConfig:{diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.tsindex 991003da637..010de25044e 100644--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts@@ -66,7 +66,7 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin implpublic eeShowBanners = false;public form = new UntypedFormGroup({- assignee: new FormControl(false),+ assignee: new UntypedFormControl(false),responsible: new UntypedFormControl(false),workPackageCreated: new UntypedFormControl(false),workPackageProcessed: new UntypedFormControl(false),@@ -210,7 +210,7 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin impl.forEach((setting) => projectSettings.push(new UntypedFormGroup({project: new UntypedFormControl(setting._links.project),assignee: new UntypedFormControl(setting.assignee),- responsible: new FormControl(setting.responsible),+ responsible: new UntypedFormControl(setting.responsible),workPackageCreated: new UntypedFormControl(setting.workPackageCreated),workPackageProcessed: new UntypedFormControl(setting.workPackageProcessed),workPackageScheduled: new UntypedFormControl(setting.workPackageScheduled),diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.tsindex d9a6ff80c03..bd46f864a65 100644--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.ts@@ -93,7 +93,7 @@ export class NotificationSettingsTableComponent implements OnInit {addProjectSettings(project:HalSourceLink):void {this.settings.push(new UntypedFormGroup({project: new UntypedFormControl(project),- assignee: new FormControl(false),+ assignee: new UntypedFormControl(false),responsible: new UntypedFormControl(false),workPackageCreated: new UntypedFormControl(false),workPackageProcessed: new UntypedFormControl(false),diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.tsindex 22481d8112a..d61174105d7 100644--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts@@ -1,13 +1,29 @@import { NgSelectModule } from '@ng-select/ng-select';import { NgOptionHighlightModule } from '@ng-select/ng-option-highlight';-import { Component, forwardRef, ViewChild } from '@angular/core';-import { ComponentFixture, fakeAsync, flush, TestBed } from '@angular/core/testing';+import {+ Component,+ forwardRef,+ ViewChild,+} from '@angular/core';+import {+ ComponentFixture,+ fakeAsync,+ flush,+ TestBed,+} from '@angular/core/testing';import { By } from '@angular/platform-browser';-import { defer, of } from 'rxjs';-import { UntypedFormControl, UntypedFormGroup, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';+import {+ defer,+ of,+} from 'rxjs';+import {+ NG_VALUE_ACCESSOR,+ ReactiveFormsModule,+ UntypedFormControl,+ UntypedFormGroup,+} from '@angular/forms';import { CommonModule } from '@angular/common';import { FormlyModule } from '@ngx-formly/core';-import { DynamicFormComponent } from 'core-app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component';import { DynamicFormService } from 'core-app/shared/components/dynamic-forms/services/dynamic-form/dynamic-form.service';import { DynamicFieldsService } from 'core-app/shared/components/dynamic-forms/services/dynamic-fields/dynamic-fields.service';diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.ts b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.tsindex 3578908e5fd..eeab22f98ab 100644--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.ts+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.ts@@ -11,7 +11,10 @@ import {import { FormlyForm } from '@ngx-formly/core';import { I18nService } from 'core-app/core/i18n/i18n.service';import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';-import { catchError, finalize } from 'rxjs/operators';+import {+ catchError,+ finalize,+} from 'rxjs/operators';import { HalSource } from 'core-app/features/hal/resources/hal-resource';import { ToastService } from 'core-app/shared/components/toaster/toast.service';import { DynamicFieldsService } from 'core-app/shared/components/dynamic-forms/services/dynamic-fields/dynamic-fields.service';@@ -19,7 +22,11 @@ import { UntypedFormGroup } from '@angular/forms';import { HttpErrorResponse } from '@angular/common/http';import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';import { ConfirmDialogService } from 'core-app/shared/components/modals/confirm-dialog/confirm-dialog.service';-import { IDynamicFieldGroupConfig, IOPDynamicFormSettings, IOPFormlyFieldSettings } from '../../typings';+import {+ IDynamicFieldGroupConfig,+ IOPDynamicFormSettings,+ IOPFormlyFieldSettings,+} from '../../typings';import { DynamicFormService } from '../../services/dynamic-form/dynamic-form.service';import idFromLink from 'core-app/features/hal/helpers/id-from-link';