From d4b9d4954e22055e5d9e3511bc1c0be5cf403cbd Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 15 Feb 2023 23:56:16 +0200 Subject: [PATCH] [Explore & Library | explore-redesign]: First update for direct linking according to redesign. 1. claimContextSearchForm.component.ts & claimProjectSearchForm.component.ts & claimResultSearchForm.component.ts: Added "@Input() public centerAlign: boolean = false". 2. claimContextSearchForm.component.html & claimProjectSearchForm.component.html & claimResultSearchForm.component.html: align search form to the center if centerAlign is true (in direct linking). 3. linkingGeneric.component.ts: a. Scroll to top smoothly when changing step. b. Added method "getEntityName()" to resolve entity name from entity type. 4. linkingGeneric.component.html: Redesign in direct linking: a. Hidden stepper. b. Title before search form c. Back button instead of breadcrumb. d. Search form aligned to the center. e. In basket, no tabs, but source on top of link source to. f. Button to Step 3 renamed to "Summarise". 5. HelperFunctions.class.ts: In methods "scroll()" and "scrollTo()" added parameter "smooth: boolean = false" for smooth scroll. 6. tsconfig.json: Commented "angularCompilerOptions": { "strictTemplates": true}. --- explore/src/app/openaireLibrary | 2 +- explore/src/assets/common-assets | 2 +- explore/src/assets/openaire-theme | 2 +- explore/tsconfig.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 5c9470a9..38a8802d 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 5c9470a959a08a12ff34e032b0d6f06e359d21e7 +Subproject commit 38a8802d7e2f3c09255fb84cd1a96bc28b9c69cc diff --git a/explore/src/assets/common-assets b/explore/src/assets/common-assets index eb70ad41..07894ca9 160000 --- a/explore/src/assets/common-assets +++ b/explore/src/assets/common-assets @@ -1 +1 @@ -Subproject commit eb70ad415dab13916591c15fb510a1a5dafdd6dd +Subproject commit 07894ca9181ece40f0602ee6661b6b2cb0c958a3 diff --git a/explore/src/assets/openaire-theme b/explore/src/assets/openaire-theme index 3b10e32e..c488799c 160000 --- a/explore/src/assets/openaire-theme +++ b/explore/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 3b10e32e0df3103a23b36d58b2c6656396b18428 +Subproject commit c488799c31fce637f6865de49b9bd800375247b7 diff --git a/explore/tsconfig.json b/explore/tsconfig.json index 28794d4c..f7c5a9bf 100644 --- a/explore/tsconfig.json +++ b/explore/tsconfig.json @@ -19,7 +19,7 @@ "dom" ] }, - "angularCompilerOptions": { - "strictTemplates": true - } +// "angularCompilerOptions": { +// "strictTemplates": true +// } }