From 838a3ef218c1cd63fc95a8b8c75312e2c7e997c6 Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 13 Mar 2024 10:33:02 +0200 Subject: [PATCH] [plugins-functionality | WIP] --- connect/connectHelper.ts | 2 +- .../graph-info/plugin-graph-info.component.html | 4 +--- .../components/graph-info/plugin-graph-info.component.ts | 8 +++----- .../plugin-suggested-repositories.component.html | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/connect/connectHelper.ts b/connect/connectHelper.ts index 18c60846..5cd2f403 100644 --- a/connect/connectHelper.ts +++ b/connect/connectHelper.ts @@ -12,7 +12,7 @@ export class ConnectHelper { if(properties.environment == "development" && (properties.adminToolsPortalType == "connect" || properties.adminToolsPortalType == "community" || properties.adminToolsPortalType == "aggregator" || properties.adminToolsPortalType == "eosc")) { - domain = "covid-19.openaire.eu"; //for testing + domain = "enermaps.openaire.eu"; //for testing } domain = domain.indexOf("//") != -1? domain.split("//")[1]:domain; //remove https:// prefix if (domain.indexOf('eosc-portal.eu') != -1) { diff --git a/dashboard/plugins/components/graph-info/plugin-graph-info.component.html b/dashboard/plugins/components/graph-info/plugin-graph-info.component.html index 688447de..827bce8f 100644 --- a/dashboard/plugins/components/graph-info/plugin-graph-info.component.html +++ b/dashboard/plugins/components/graph-info/plugin-graph-info.component.html @@ -25,9 +25,7 @@
{{pluginObject.paragraph2}}
-
- {{pluginObject.contributeLine}} -
+
diff --git a/dashboard/plugins/components/graph-info/plugin-graph-info.component.ts b/dashboard/plugins/components/graph-info/plugin-graph-info.component.ts index 77207719..4867d9c8 100644 --- a/dashboard/plugins/components/graph-info/plugin-graph-info.component.ts +++ b/dashboard/plugins/components/graph-info/plugin-graph-info.component.ts @@ -3,14 +3,12 @@ import {PluginBaseComponent, PluginBaseInfo, PluginURL} from "../../utils/base-p export class PluginGraphInfo extends PluginBaseInfo{ title:string ="How? It's about open data and collaboration" - paragraph1:string = `Gateway is built on the OpenAIRE Graph, one of the largest open scholarly record collections worldwide. Conceived as a public and transparent good, populated out of data sources trusted by scientists, the OpenAIRE Graph brings discovery, monitoring, and assessment of science back in the hands of the scientific community. `; - paragraph2:string = "Within a constantly emerging scholarly communication environment, the OpenAIRE Graph is a moving target, continuously integrating new sources, new types or research objects, and embedding access measures. We therefore welcome the community to work with us to improve all its aspects: its coverage (geographic and thematic), quality (disambiguation and semantics) and access (APIs). "; - contributeLine:string = "Find information about the OpenAIRE Graph, how to test it and contribute to improving it. "; - url:PluginURL= new PluginURL("https://www.openaire.eu/blogs/the-openaire-research-graph","Learn more. Contribute") + paragraph1:string = `This gateway is built on the OpenAIRE Graph, one of the largest open scholarly record collections worldwide. Conceived as a public and transparent good, populated out of data sources trusted by scientists, the OpenAIRE Graph brings discovery, monitoring, and assessment of science back in the hands of the scientific community.`; + paragraph2:string = "Within a constantly emerging scholarly communication environment, the OpenAIRE Graph is a moving target, continuously integrating new sources, new types of research objects, and embedding impact and usage indicators. We therefore welcome the community to work with us to improve all its aspects: its coverage (geographic and thematic), quality (disambiguation and semantics) and access (APIs)."; + url:PluginURL= new PluginURL("https://graph.openaire.eu","Learn more") compare(oldObject): any { let newObj= super.compare(oldObject); - console.log(newObj) return newObj; } } diff --git a/dashboard/plugins/components/suggested-repositories/plugin-suggested-repositories.component.html b/dashboard/plugins/components/suggested-repositories/plugin-suggested-repositories.component.html index a50f9341..ab8133aa 100644 --- a/dashboard/plugins/components/suggested-repositories/plugin-suggested-repositories.component.html +++ b/dashboard/plugins/components/suggested-repositories/plugin-suggested-repositories.component.html @@ -7,9 +7,9 @@ {{pluginObject.title}} - +
No datasources available