From 9611021a5512ff5e5b92ace9d3193bd7e7552537 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Fri, 19 May 2023 14:37:23 +0300 Subject: [PATCH] [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls. 1. dataProvider.component.html & project.component.html & resultLanding.component.html: [Bug fix] Updated checks for usage counts iframes and changed the order they appear (first views, then downloads). 2. dataProvider.component.ts & project.component.ts: a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes. b. [Bug fix] Updated parsing of dataProviderInfo.measure.counts when querying external usage counts api. 3. resultLanding.component.ts: a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes. b. [Bug fix] In bipFrameUrl, when environment == "beta", add "&src=beta" parameter. 4. orcid-work.component.ts: a. [Bug fix] Updated disabled class checks, to enable orcid buttons in search too when there are identifiers. b. When loading - action is in progress, show loading icon next to the label. c. In my orcid links page: renamed "Add to ORCID" to "Claim" and "Delete from ORCID" to "Remove". 5. newSearchPage.component.html: [Bug fix] Updated checks for "filters" floating button in mobile/ small screens. 6. Added method "detectChanges()" to be called by html. 7. navigationBar.component.html: Updated placeholder of search-input to align with the generic search form (Home page). 8. ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local. --- explore/src/app/openaireLibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 6a009aa7..98568056 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 6a009aa76ec2d8957789e2404e29d8a233345928 +Subproject commit 985680562191acc5c52706b45cdb19d6aa857e07