From 6fa51031b5b6151c42a23980399cf106efed2c6e Mon Sep 17 00:00:00 2001 From: "Yassine R." Date: Mon, 25 Nov 2024 16:20:25 +0100 Subject: [PATCH] fix(backend): update ressources backend --- .kontinuous/values.yaml | 4 +- .../general/components/faq/faq.component.html | 112 ------------------ .../components/impact/impact.component.html | 12 -- .../structures-sms-form.component.html | 46 ------- .../structures-sms-form.component.ts | 24 +--- 5 files changed, 4 insertions(+), 194 deletions(-) diff --git a/.kontinuous/values.yaml b/.kontinuous/values.yaml index 8a9cba416b..676ad31e76 100644 --- a/.kontinuous/values.yaml +++ b/.kontinuous/values.yaml @@ -10,8 +10,8 @@ backend: containerPort: 3000 resources: requests: - cpu: 0.3 - memory: 512Mi + cpu: 1 + memory: 1Gi limits: # exports need a lot of CPU/RAM ATM cpu: 3 memory: 3Gi diff --git a/packages/frontend/src/app/modules/general/components/faq/faq.component.html b/packages/frontend/src/app/modules/general/components/faq/faq.component.html index 35fce6ef3d..9fdd2cbb11 100644 --- a/packages/frontend/src/app/modules/general/components/faq/faq.component.html +++ b/packages/frontend/src/app/modules/general/components/faq/faq.component.html @@ -488,118 +488,6 @@

Dois-je maintenir mon registre de signature avec DomiFa ?

conserver ou non le registre de signature papier existant.

- diff --git a/packages/frontend/src/app/modules/stats/components/impact/impact.component.html b/packages/frontend/src/app/modules/stats/components/impact/impact.component.html index 4a5b48715a..c1d9113543 100644 --- a/packages/frontend/src/app/modules/stats/components/impact/impact.component.html +++ b/packages/frontend/src/app/modules/stats/components/impact/impact.component.html @@ -54,18 +54,6 @@

Satisfaction utilisateurs👇

-
- -
diff --git a/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.html b/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.html index d78502fa35..9dfc0fe418 100644 --- a/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.html +++ b/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.html @@ -6,14 +6,6 @@

Paramètres d'envoi de SMS pour votre structure

- Paramètres d'envoi de SMS pour votre structure
- - - - - - - diff --git a/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.ts b/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.ts index 7909753c4a..8b97680b40 100644 --- a/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.ts +++ b/packages/frontend/src/app/modules/structures/components/structures-sms-form/structures-sms-form.component.ts @@ -1,10 +1,4 @@ -import { - Component, - OnDestroy, - OnInit, - TemplateRef, - ViewChild, -} from "@angular/core"; +import { Component, OnDestroy, OnInit } from "@angular/core"; import { AbstractControl, FormControl, @@ -14,10 +8,8 @@ import { Validators, } from "@angular/forms"; import { Title } from "@angular/platform-browser"; -import { NgbModalRef, NgbModal } from "@ng-bootstrap/ng-bootstrap"; import { MatomoTracker } from "ngx-matomo-client"; import { Subscription } from "rxjs"; -import { DEFAULT_MODAL_OPTIONS } from "../../../../../_common/model"; import { CustomToastService } from "../../../shared/services"; import { StructureService } from "../../services"; import { StructureCommon } from "@domifa/common"; @@ -35,9 +27,6 @@ export class StructuresSmsFormComponent implements OnInit, OnDestroy { public submitted: boolean; public structureSmsForm!: UntypedFormGroup; - @ViewChild("tutoModal", { static: true }) - public tutoModal!: TemplateRef; - private subscription = new Subscription(); constructor( @@ -45,8 +34,7 @@ export class StructuresSmsFormComponent implements OnInit, OnDestroy { private readonly structureService: StructureService, private readonly toastService: CustomToastService, private readonly titleService: Title, - private readonly matomo: MatomoTracker, - private readonly modalService: NgbModal + private readonly matomo: MatomoTracker ) { this.loading = false; this.submitted = false; @@ -170,14 +158,6 @@ export class StructuresSmsFormComponent implements OnInit, OnDestroy { this.matomo.trackEvent("vues_videos_faq", name, "null", 1); } - public openTutoModal(): void { - this.modalService.open(this.tutoModal, DEFAULT_MODAL_OPTIONS); - } - - public closeTutoModal(): void { - this.modalService.dismissAll(); - } - public ngOnDestroy(): void { this.subscription.unsubscribe(); }