From e76e8cd0febb11603440a71a6eef6389e0f97048 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?=
Date: Thu, 6 Nov 2025 14:07:39 +0100
Subject: [PATCH 1/3] FIX price simulator's chars placing + add restrictions to
char's description length
---
.../create-product-spec/create-product-spec.component.html | 2 +-
.../create-product-spec/create-product-spec.component.ts | 2 +-
.../update-product-spec/update-product-spec.component.html | 2 +-
.../update-product-spec/update-product-spec.component.ts | 2 +-
.../price-component-drawer.component.ts | 2 ++
.../shared/price-plan-drawer/price-plan-drawer.component.html | 4 ++--
6 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.html b/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.html
index 1a7853a1..09e79603 100644
--- a/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.html
+++ b/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.html
@@ -577,7 +577,7 @@ There's no char
-
diff --git a/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.ts b/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.ts
index df5c7384..71d5dd87 100644
--- a/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.ts
+++ b/src/app/pages/seller-offerings/offerings/seller-product-spec/create-product-spec/create-product-spec.component.ts
@@ -84,7 +84,7 @@ export class CreateProductSpecComponent implements OnInit {
//CHARS INFO
charsForm = new FormGroup({
name: new FormControl('', [Validators.required, Validators.maxLength(100), noWhitespaceValidator]),
- description: new FormControl('')
+ description: new FormControl('', [Validators.maxLength(500)])
});
stringCharSelected:boolean=true;
numberCharSelected:boolean=false;
diff --git a/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.html b/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.html
index 540070be..b8aaf27b 100644
--- a/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.html
+++ b/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.html
@@ -688,7 +688,7 @@ There's no char
-
diff --git a/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.ts b/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.ts
index b99a0232..5c163bf7 100644
--- a/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.ts
+++ b/src/app/pages/seller-offerings/offerings/seller-product-spec/update-product-spec/update-product-spec.component.ts
@@ -79,7 +79,7 @@ export class UpdateProductSpecComponent implements OnInit {
//CHARS INFO
charsForm = new FormGroup({
name: new FormControl('', [Validators.required, Validators.maxLength(100), noWhitespaceValidator]),
- description: new FormControl('')
+ description: new FormControl('', [Validators.maxLength(500)])
});
stringCharSelected:boolean=true;
numberCharSelected:boolean=false;
diff --git a/src/app/shared/forms/offer/price-plans/price-component-drawer/price-component-drawer.component.ts b/src/app/shared/forms/offer/price-plans/price-component-drawer/price-component-drawer.component.ts
index 8c02a48c..8145a7e2 100644
--- a/src/app/shared/forms/offer/price-plans/price-component-drawer/price-component-drawer.component.ts
+++ b/src/app/shared/forms/offer/price-plans/price-component-drawer/price-component-drawer.component.ts
@@ -144,6 +144,8 @@ export class PriceComponentDrawerComponent implements OnInit {
submitForm() {
if (this.priceComponentForm.valid) {
this.save.emit(this.priceComponentForm.value);
+ console.log('----------- SAVED PRICE COMP')
+ console.log(this.priceComponentForm.value)
this.closeDrawer();
}
}
diff --git a/src/app/shared/price-plan-drawer/price-plan-drawer.component.html b/src/app/shared/price-plan-drawer/price-plan-drawer.component.html
index f9f22af6..52867895 100644
--- a/src/app/shared/price-plan-drawer/price-plan-drawer.component.html
+++ b/src/app/shared/price-plan-drawer/price-plan-drawer.component.html
@@ -68,7 +68,7 @@ Please select the characteristics you need to suit this offer to you.
-
+
@for (ch of filteredCharacteristics ; track ch.id; let i = $index) {
@if(!ch.name?.endsWith('- enabled')){
@@ -95,7 +95,7 @@
Please on each metric indicate the value that best fits for you.
+
You can change the metric values to simulate final prices
@for (metric of metrics || []; track metric.unitOfMeasure) {
From d563871b946fb11b46e8c0ca0e18567f522994a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?=
Date: Fri, 7 Nov 2025 11:29:51 +0100
Subject: [PATCH 2/3] FIX organization form reset contact medium if not saved
when profile updated + DELETE provider header's background header
---
src/app/pages/search-catalog/search-catalog.component.html | 4 ++--
.../profile-sections/org-info/org-info.component.ts | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/app/pages/search-catalog/search-catalog.component.html b/src/app/pages/search-catalog/search-catalog.component.html
index a92cfee1..e10555b5 100644
--- a/src/app/pages/search-catalog/search-catalog.component.html
+++ b/src/app/pages/search-catalog/search-catalog.component.html
@@ -73,10 +73,10 @@
} @else {
-
+
diff --git a/src/app/pages/user-profile/profile-sections/org-info/org-info.component.ts b/src/app/pages/user-profile/profile-sections/org-info/org-info.component.ts
index 3eaf0c4e..9b6b3819 100644
--- a/src/app/pages/user-profile/profile-sections/org-info/org-info.component.ts
+++ b/src/app/pages/user-profile/profile-sections/org-info/org-info.component.ts
@@ -240,8 +240,9 @@ export class OrgInfoComponent implements OnInit {
this.getProfile();
this.successVisibility = true;
setTimeout(() => {
- this.successVisibility = false
- }, 2000);
+ this.successVisibility = false;
+ }, 2000);
+ this.mediumForm.reset();
},
error: error => {
console.error('There was an error while updating!', error);
From 7cd69eea29adb20ec6e2ef82dfd2dbbbe5425fbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?=
Date: Thu, 13 Nov 2025 09:41:18 +0100
Subject: [PATCH 3/3] ADD UX tasks
---
src/app/app.component.css | 8 -----
src/app/app.component.html | 8 +++--
src/app/app.component.ts | 3 +-
.../chatbot-widget.component.html | 2 +-
.../contact-us/contact-us-form.component.html | 12 ++++----
.../pages/dashboard/dashboard.component.html | 29 +++++++++++--------
.../pages/dashboard/dashboard.component.ts | 2 ++
.../inventory-products.component.html | 2 +-
src/app/shared/footer/footer.component.html | 8 ++---
src/app/shared/footer/footer.component.ts | 5 ++--
src/app/shared/header/header.component.html | 26 +++++++++++------
src/app/shared/header/header.component.ts | 1 +
src/index.html | 4 +--
src/styles.css | 2 +-
14 files changed, 62 insertions(+), 50 deletions(-)
diff --git a/src/app/app.component.css b/src/app/app.component.css
index 463d9bcb..e69de29b 100644
--- a/src/app/app.component.css
+++ b/src/app/app.component.css
@@ -1,8 +0,0 @@
-
-
-.bae-content {
- width: 100%;
- min-height: calc(100vh - 100px) !important;
- padding-top: 75px !important;
- padding-bottom: 25px !important;
-}
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 53d8dfcd..c714a878 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,11 +1,13 @@
-
+
@if(providerThemeName=='DOME') {
-
+
}
-
+
+
+
@if(isProduction){
}
\ No newline at end of file
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 5e569362..991a4490 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -77,7 +77,7 @@ export class AppComponent implements OnInit {
console.log(((info.expire - moment().unix()) - 4))
this.refreshApi.startInterval(((info.expire - moment().unix())-4)*1000, ev);
-
+ initFlowbite();
//this.refreshApi.startInterval(3000, ev.value);
}
})
@@ -92,6 +92,7 @@ export class AppComponent implements OnInit {
this.refreshApi.startInterval(((aux.expire - moment().unix())-4)*1000, aux);
console.log('token')
console.log(aux.token)
+ initFlowbite();
}
this.router.events.subscribe(event => {
if (event instanceof NavigationEnd) {
diff --git a/src/app/chatbot-widget/chatbot-widget.component.html b/src/app/chatbot-widget/chatbot-widget.component.html
index 494dd6dd..bed89750 100644
--- a/src/app/chatbot-widget/chatbot-widget.component.html
+++ b/src/app/chatbot-widget/chatbot-widget.component.html
@@ -32,7 +32,7 @@
}
-
+