Commit Graph

156 Commits

Author SHA1 Message Date
k.triantafyllou edee649e7c [Library | Trunk]: Create search-input component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60208 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 15:40:51 +00:00
argiro.kokogiannaki 42e0f4673b [Library|Trunk]
Navbar: uk-toogle to close
usermenu: add active menu link



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60206 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 14:14:44 +00:00
argiro.kokogiannaki 346067ec5d [Library|Trunk]
nav bar: fix active item/subitem route


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60205 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 13:54:07 +00:00
argiro.kokogiannaki c19b346dc7 [Library|Trunk]
Fixing menu drop down issue: couldn't open again after clicking a link inside the dropdown (had to move the pointer away first)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60204 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 11:30:53 +00:00
k.triantafyllou 3e1a5d0868 [Library | Trunk]: Add lock icon on disabled inputs
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60182 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-23 16:06:31 +00:00
argiro.kokogiannaki 8e4c151640 helper service: for monitor routes /_alias_/search_route split to remove alias
input: add check aboutlabel for checkbox
SideBar: add uk-bav-parent for sub menus


Piwik:
	- Search-download: get piwikId as input
	- Search page: pass piwik id in search download component
	- project landing - pass piwik id

Dashboard- Admin tools:
	- remove Guards from modules
	- add subscriptions array and unsubscribe them
	- read properties directly from file
	- update links to be relative



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60170 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-18 15:09:38 +00:00
argiro.kokogiannaki 276a6c7fca [Library|Trunk]
- add checks for admin tool response
- use property for admin portal url


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60040 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-07 10:22:24 +00:00
argiro.kokogiannaki 074cb003e0 [Library|Trunk]
NavigationBar: remove unused variables, use header url and route for the beta indicator


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59999 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-01 11:16:24 +00:00
k.triantafyllou b37eb7dbf8 [Library | Trunk]: Fix logo on navbar of mobile. Fix footer on mobile
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59993 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-30 17:33:28 +00:00
k.triantafyllou 8d82140ab9 [Library | Trunk]: Fix error interceptor to logout only in 401. Fix navbar on mobiles to be transparent
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59967 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-25 17:32:20 +00:00
argiro.kokogiannaki 2b90952d2a [Library| Trunk]
-Mock admin tool responce set: 
	Portal class: initiate a mock class object, based on the disabled entities and pages
	method to set it in the subject of configuration service
-Add property useHelpTexts, add don't allow requests for helptexts when it is set to false
-Fix issue with filter: when QF is selected and try to select/unselect the filter


Aggregator:
-navbar: remove topbar for aggregators

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59966 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-25 17:12:31 +00:00
argiro.kokogiannaki 8d9420e4a1 [Library|Trunk]
properties: remove reading properties from route data

Aggregator: add aggregator checks in navbar, entities selection and as adminToolsPortalType



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59899 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-18 16:06:27 +00:00
k.triantafyllou bbcb780ef8 [Library | Trunk]: Move input component from dashboard to library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59831 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 17:57:32 +00:00
k.triantafyllou 57c0da003a [Library | Trunk]: 1. FIx menu active items base on routes. 2. Add input to role verification
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59829 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 17:49:20 +00:00
argiro.kokogiannaki 1d5c753ff6 [Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from  the component that uses them (clearSubscriptions())




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59816 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-11 14:43:13 +00:00
argiro.kokogiannaki 0283df0b52 [Library|Trunk]
-add check about active menu



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59788 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 16:47:23 +00:00
k.triantafyllou 7db42368ec [Library | Trunk]: Change sidebar, add some icons
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59728 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-31 15:44:19 +00:00
argiro.kokogiannaki 5ccca64ee0 [Library|Trunk]
Admin tool pages:
        updates after migration
        css updates after theme change
	portal: add piwik id

Navbar: optionto enable/disable sticky animation


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59726 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-30 14:01:44 +00:00
k.triantafyllou a1bccfe527 [Library | Trunk]: Change manager and members page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59718 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-29 14:20:41 +00:00
k.triantafyllou 6a66668533 [Library | Trunk]: Remove header for portals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59595 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-14 11:36:18 +00:00
k.triantafyllou 4a13a473ab [Library | Trunk]: Remove explore from navigation bar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59591 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-14 11:18:29 +00:00
k.triantafyllou f7beca6a6e [Library | Trunk]: Remove community from navigation bar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59588 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-14 10:13:33 +00:00
k.triantafyllou fb84b102c0 [Library | Trunk]: Navigation Bar: add Header interface
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59585 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-14 09:54:21 +00:00
k.triantafyllou 8b9af0edc2 [Library | Trunk]: Change headings on library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59575 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-13 19:04:50 +00:00
argiro.kokogiannaki 32bfeebaa2 [Library |trunk]
NavigationBar component:
	- fix logo link issue
	- fix burger menu issue
	- mobile version should show logo in the middle



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59540 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-09 12:49:12 +00:00
konstantina.galouni c3a87883d9 [Trunk | Graph]: app.component.html & navigationBar.component.ts: Change "portal" parameter in <navbar> to "graph" (app) and include "graph" in portal checking to initialize (navigationBar).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59519 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-08 14:12:12 +00:00
argiro.kokogiannaki 4467b01559 [Library|Trunk]
Navbar: create an object header with all information about logo - title
	{ route: string, url: string, title: string, logoUrl: string, logoSmallUrl:string, position:'left'|'center'|'right' , badge: boolean };
	this will replace community, stakeholder objects



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59509 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-06 08:12:14 +00:00
k.triantafyllou bd41180c74 Fix reload location after login logout
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59457 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-23 10:15:39 +00:00
argiro.kokogiannaki 43ffddc480 [Library|Trunk]
apply in all pages domain and baseLink changes (part 3)




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59418 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 13:26:15 +00:00
argiro.kokogiannaki 7526ef56e3 [Library|Trunk]
properties changes: 
	domain:
	  -is https://{explore,connect,monitor, etc}.openaire.eu 
	  -initialized in environment files
	  -reset for communities in EnvironmentSpecificService
	baseLink: is the prefix after the domain / or /dahsboard for monitor_dashboard
apply in all pages domain and baseLink changes

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59411 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 07:57:42 +00:00
argiro.kokogiannaki a9cb541994 [Library|Trunk]
jsonld parser: complete fix with description as a number instead of  string


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59402 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-16 13:27:13 +00:00
k.triantafyllou c87f16dac3 [Library | Trunk]: 1. Add fragment on menu items. 2. Add footer option for fp-slider. 3. Add sushilite porperty
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59388 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-15 13:53:18 +00:00
argiro.kokogiannaki 78fed00f1d [Library|Trunk]
Project Landing:
	avoid double message "Nosummary available"
	enhance project meta and jsonld description



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59375 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-15 10:01:19 +00:00
k.triantafyllou 4d48dad56e [Library | Trunk]: Change contact us base on usege-counts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59365 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-14 15:08:34 +00:00
argiro.kokogiannaki d471f09a3b [Library|Trunk]
menu.ts - isTheActiveMenu (): check if route or part of the route is the active




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59288 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-17 11:03:39 +00:00
argiro.kokogiannaki 33424ff671 [Library|Trunk]
jsonld fix: if description is a number .substr function didn't work


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59283 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-14 11:12:34 +00:00
argiro.kokogiannaki 99198fb0d9 [Library|Trunk]
Domain:
	properties -->  domain: change it to https:// + domain (needed fro jsonld)
	getCommunityFromDomain function: split to remove the https://


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59248 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-11 12:39:55 +00:00
argiro.kokogiannaki aa54f9460e [Library|Trunk]
Claims: remove unused field from method (completes previous commit)

Deposit: remove zenodo button class - add uk-button-primary

JSonld: update methods to get searchRoute (in case different from /search/find)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59243 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-10 15:14:48 +00:00
k.triantafyllou e3ea7dc45a [Library | Trunk]: Get dark from parameter
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59227 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-06 11:10:17 +00:00
k.triantafyllou 6ea9cce2a8 [Library | Assets]: Add dark parameter on user-mini and navbar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59221 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-05 13:27:13 +00:00
argiro.kokogiannaki 3828670514 [Library|Trunk]
JSONLD:
-Home page: 
-Add description in Website with search action
-In every search page add description based on the filters
-In (project, content provider, organization) landing add description if available otherwise use the title
-In project add id in funder entity

Autocomplete: create event emitter to update entity or refine result label (used in jsonld)

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59152 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 12:41:08 +00:00
argiro.kokogiannaki fd27e88386 [Library|Trunk]
JSONLD changes: 
	Add id in every jsonld
	Home page: 
		remove search action from Organization
		Add description in Organization
		Add Website with search action
	Add Organization and Website in every page
	In every search page add is part of the Website
	In result landing (Type Dataset) when there is no description add title in description
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59134 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 13:59:09 +00:00
konstantina.galouni 5c9575ab7a [Trunk | Library]:
1. configuration.service.ts: Use "useLongCache" property for communityFull | Add BehaviorSubject for communityFull | Add filtering methods to check if route is enabled from communityFull info.
2. isRouteEnabled.guard.ts: Get properties from environment (no service needed) | Foreach route do not query API but check if enabled by communityFull info (BehaviorSubject).
3. search.component.ts & searchAll.component.ts & entitiesSelection.component.ts & quick-selections.component.ts & navigationBar.component.ts & bottom.component.ts: 
	Get communityFull info from state (call configurationService.communityInformationState) | Add subscriptions in array to unsubscribe in ngOnDestroy.
	quick-selections.component.ts: Add "uk-disabled" class when needed in <form> elements.
4. resultLanding.module.ts & navigationBar.module.ts & bottom.module.ts & entitiesSelection.module.ts & quick-selections.module.ts: 
	Remove ConfigurationService from providers (singleton service, providedIn: 'root').


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59074 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:19:30 +00:00
konstantina.galouni 05f3635d28 [Trunk | Library]:
1. showIdentifiers.component.ts: [Bug fix] Replace <li> tag with <div> (component is not inside <ul> element).
2. cookie-law.html: [Bug fix] Add missing closing <div> element.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59071 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:06:57 +00:00
k.triantafyllou d07a30b5ca [Library | Trunk]: 1. Contact us css changes. 2. Search for monitor. 3. Landing for monitor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59007 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 13:15:52 +00:00
k.triantafyllou b4e5d797a5 [Library | Trunk]: FP Slider: Add navigation menu on the left
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58944 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-16 19:59:51 +00:00
k.triantafyllou 1044737f9d [Library | Trunk]: Remove dashboard menu on usage-statistics.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58902 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-12 13:22:04 +00:00
argiro.kokogiannaki 24b204f8b3 [Library|Trunk]
Update link to beta monitor



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58894 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-12 09:32:01 +00:00
konstantina.galouni c20391f3fc [Trunk | Library]:
1. src/assets/common-assets/common/custom.css: Add 'font-display: swap;' in '@font-face' css rules - improve performance.
2. dataProvider.component.html & organizations.component.html & project.component.html & resultLanding.component.html: Add check if 'indexUpdateDate' is initialized.
3. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: 
	Initialize 'indexUpdateDate' and tabs counts only if "typeof document !== 'undefined'" (javascript is enabled) - improve performance.
4. resultLanding.component.ts: Get "provenanceActionVocabulary" and "altMetrics" only if "typeof document !== 'undefined'" (javascript is enabled) - improve performance.
5. organization.component.ts: [Bug fix] Get 'indexUpdateDate' from service (not properties) if available.
6. project.component.ts: [Bug fix] Call 'getProjectInfo()' only once (was called twice).
7. project.service.ts: [Bug fix] Add check for rels.rel.to.class=="hasParticipant" (when not array).
8. metrics.component.ts: Get metrics if "typeof document !== 'undefined'" (javascript is enabled) | Show charts only if user clicked on metrics badge | Do not set "width" for <i-frame> elements.
9. iframe.component.ts: Add case when only height is sent as input.
10. searchDataProviders.component.ts & searchOrganizations.component.ts: [Bug fix] Set "firstLoad" to false after getting results (was asking refine filters in paging too). 
11. search-tab.component.ts: [Bug fix]: In method "getEntityName()" add cases when 'entityType == "project"' and 'entityType == "dataprovider"' and fix case when 'entityType == "result"'.
12. navigationBar.component.ts: [Bug fix] Do not initialize navbar inside route.queryParams subscription - !!! check it carefully when deployed in all portals !!! .


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58874 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-10 11:05:59 +00:00
argiro.kokogiannaki 36c797b14b [Library|Trunk]
Dashboard:

Layout service: add mini menu option, front page option
Sidebar: updates accorrding to the new mocks



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58836 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-04 11:21:32 +00:00