From 79c8741cf24e426ee538654a638b31bcc9136cef Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 23 Dec 2020 16:21:03 +0000 Subject: [PATCH] [Explore | trunk] - package.json remove unused dependencies - update/ correct beta properties git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@60184 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/angular.json | 1 - explore/package.json | 2 -- explore/src/app/app.component.ts | 4 ++-- explore/src/environments/environment.beta.ts | 6 +++--- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/explore/angular.json b/explore/angular.json index e58d4c7a..0a6cc22b 100644 --- a/explore/angular.json +++ b/explore/angular.json @@ -167,7 +167,6 @@ "assets": [ "src/assets", "src/robots.txt", - "src/sitemap.xml", { "glob": "**/*", "input": "src/sitemaps", diff --git a/explore/package.json b/explore/package.json index fa9980a7..27acc8f4 100644 --- a/explore/package.json +++ b/explore/package.json @@ -55,7 +55,6 @@ "@nguniversal/module-map-ngfactory-loader": "^6.0.0", "@types/express": "^4.16.1", "angular-datatables": "^4.4.1", - "citation-js": "^0.3.4", "clipboard": "^1.5.16", "core-js": "^2.4.1", "datatables.net": "^1.10.19", @@ -65,7 +64,6 @@ "prom-client": "^11.3.0", "ts-md5": "^1.2.0", "tslib": "^1.9.0", - "wikidata-sdk": "^5.2.9", "ng-recaptcha": "^3.0.5", "zone.js": "^0.8.26" }, diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 7a725a4b..3a0d7d2f 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -91,7 +91,7 @@ export class AppComponent { this.properties = this.propertiesService.envSpecific; this.configurationService.initCommunityInformation(this.properties, this.properties.adminToolsCommunity); this.feedbackmail = this.properties.feedbackmail; - if(this.properties.environment == "production") { + if(this.properties.environment == "production" || this.properties.environment == "development") { this.subscriptions.push(this.route.queryParams.subscribe(data => { this._meta.updateTag({content: 'all', name: 'robots'}); })); @@ -129,7 +129,7 @@ export class AppComponent { //TODO add check for research results route this.menuItems = [ { - rootItem: new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find"], {}), + rootItem: new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find"], {qf:true}), items: [ new MenuItem("", "Research Outcomes", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {qf:true}), new MenuItem("", "Projects", "", "/search/find/projects/", false, ["project"], ["/search/find/projects"], {}), diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts index 97b4987b..2acb8e9b 100644 --- a/explore/src/environments/environment.beta.ts +++ b/explore/src/environments/environment.beta.ts @@ -50,7 +50,7 @@ export let properties: EnvProperties = { userInfoUrl: "https://beta.services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken=", - logoutUrl: "https://beta.services.openaire.eu/explore-login/openid_login", + logoutUrl: "https://beta.services.openaire.eu/explore-login/openid_logout", cookieDomain: ".openaire.eu", @@ -105,8 +105,8 @@ export let properties: EnvProperties = { searchLinkToAdvancedOrganizations: "/search/advanced/organizations", searchLinkToAdvancedResults: "/search/advanced/research-outcomes", - lastIndexInformationLink: "https://www.openaire.eu/aggregation-and-content-provision-workflows", - showLastIndexInformationLink: false, + lastIndexInformationLink: "https://beta.openaire.eu/aggregation-and-content-provision-workflows", + showLastIndexInformationLink: true, widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", claimsInformationLink: "https://beta.openaire.eu/linking", lastIndexUpdate: "2020-05-11",