From e7274d3784626722cf5eefff65ae89d4838e9634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?= Date: Tue, 18 Nov 2025 09:16:06 +0100 Subject: [PATCH 1/3] ADD contact button to header + now attatchment names show only file name --- .../create-product-spec/create-product-spec.component.ts | 2 +- .../update-product-spec/update-product-spec.component.ts | 2 +- src/app/themes/dome.theme.ts | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) 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 71d5dd87..534be0ac 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 @@ -426,7 +426,7 @@ export class CreateProductSpecComponent implements OnInit { } let fileBody = { content: { - name: prod_name+file.name, + name: file.name, data: base64String }, contentType: file.type, 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 5c163bf7..ba336138 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 @@ -631,7 +631,7 @@ export class UpdateProductSpecComponent implements OnInit { } let fileBody = { content: { - name: prod_name+file.name, + name: file.name, data: base64String }, contentType: file.type, diff --git a/src/app/themes/dome.theme.ts b/src/app/themes/dome.theme.ts index 42c8dfa5..def9c1b7 100644 --- a/src/app/themes/dome.theme.ts +++ b/src/app/themes/dome.theme.ts @@ -28,6 +28,11 @@ const domeHeaderLinks: NavLink[] = [ label: 'HEADER._blog', url: '/blog', isRouterLink: true + }, + { + label: 'FOOTER._contact', + url: '/contact-us', + isRouterLink: true } ]; @@ -36,7 +41,6 @@ const domeFooterLinks: NavLink[] = [ { label: 'FOOTER._privacy', url: 'assets/documents/privacy.pdf', isRouterLink: false }, { label: 'FOOTER._cookies', url: 'assets/documents/cookies.pdf', isRouterLink: false }, { label: 'FOOTER._licensing', url: 'assets/documents/terms.pdf', isRouterLink: false }, - { label: 'FOOTER._contact', url: '/contact-us', isRouterLink: true }, ]; From 66ef700e44cf9b1ce4860fcc0586a6ce9f9ec916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?= Date: Tue, 18 Nov 2025 14:05:24 +0100 Subject: [PATCH 2/3] FIX attatchment name now adding uuidv4 to file name --- .../create-product-spec/create-product-spec.component.ts | 2 +- .../update-product-spec/update-product-spec.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 534be0ac..feb4c357 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 @@ -426,7 +426,7 @@ export class CreateProductSpecComponent implements OnInit { } let fileBody = { content: { - name: file.name, + name: uuidv4()+'_'+file.name, data: base64String }, contentType: file.type, 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 ba336138..88b33850 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 @@ -631,7 +631,7 @@ export class UpdateProductSpecComponent implements OnInit { } let fileBody = { content: { - name: file.name, + name: uuidv4()+'_'+file.name, data: base64String }, contentType: file.type, From c14a3a5ff7639f3c22b18dcb7347a6a504541e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lara=20Mi=C3=B1ones=20Rodr=C3=ADguez?= Date: Fri, 21 Nov 2025 08:22:57 +0100 Subject: [PATCH 3/3] Filter enabled characteristics on product detail page --- src/app/pages/product-details/product-details.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/pages/product-details/product-details.component.ts b/src/app/pages/product-details/product-details.component.ts index 16e6fcd4..2eec1846 100644 --- a/src/app/pages/product-details/product-details.component.ts +++ b/src/app/pages/product-details/product-details.component.ts @@ -243,9 +243,9 @@ export class ProductDetailsComponent implements OnInit { } if(this.prodSpec.productSpecCharacteristic != undefined) { - // Avoid displaying the compliance credential + // Avoid displaying the compliance credential && Avoid showing "- enabled" chars this.prodChars = this.prodSpec.productSpecCharacteristic.filter((char: any) => { - return char.name != 'Compliance:VC' && char.name != 'Compliance:SelfAtt' + return char.name != 'Compliance:VC' && char.name != 'Compliance:SelfAtt' && !char.name?.endsWith(' - enabled') }) for(let i=0; i