Commit Graph

47 Commits

Author SHA1 Message Date
argiro.kokogiannaki 4ea83f6ce8 [Library|Trunk]
NavbaR: 
- remove stakeholder
- remove search bar   



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61058 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-28 13:35:10 +00:00
k.triantafyllou 17d38d59a6 [Library | Trunk]: NavBar fix current route on html
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60841 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-12 15:35:49 +00:00
k.triantafyllou 773d4d81fc [Library | Trunk]: Set active menu add condition for fragment
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60840 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-12 15:33:39 +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
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
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 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 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
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 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
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
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
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 1aa854b72a [Library|Trunk]
navigation bar:
	add logo url also in big beta indication badge to fix z-index issue


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58582 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-30 12:26:25 +00:00
k.triantafyllou 97fdeb38c2 [Library | Trunk]: Add condition if community is connect add redirectUrl
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58580 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-30 10:33:21 +00:00
k.triantafyllou 9d69da41fd [Library | Trunk]: 1. Add project name as subtitle if acrony and name are existed. 2. Remove isClient condition, which made menu hidden on server mode.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58285 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-17 13:55:34 +00:00
k.triantafyllou 98c98e6625 [Library]: Add user management service and change all session methods with new ones.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57058 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-13 07:01:19 +00:00
argiro.kokogiannaki 4eb1a0a994 [Trunk|Library]
navbar: clean up imports



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56300 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-01 14:22:11 +00:00
argiro.kokogiannaki 84f7929b67 [Library|Trunk]
user component:
	show user info only when there is no error code
navBar:
	mark as active the current route
	add markAsActive property in  class MenuItem and mark root menu item only when it is set true.
	mark by default


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56199 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-25 13:26:24 +00:00
argiro.kokogiannaki e19ec379d0 [Library|Trunk]
Navbar:
	add home menu item --> show when the route is not the home, use a boolean attr to show it, by default is hidden




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56180 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-24 12:12:28 +00:00
argiro.kokogiannaki d76b8bf68f [Trunk|Library]
NavBaR:
	add search bar on menu - show in home page - by default is hidden


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56137 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-20 13:29:43 +00:00
argiro.kokogiannaki 504fdfaa3c [Library|Trunk]
Changes for Aggregator portal:
	use a customFilter in search pages, and pass it through the components
	for landing  pages check if a route is available in order to add linking and deposit links



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56059 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-12 14:13:56 +00:00
argiro.kokogiannaki f5d29ffc76 [Library|Trunk]
add cache in some services and pass properties as parameter

	initiate a searchResearchResultsService where it gets result type as parameter

	update navbar/bottom to get properties as parameter and remove attributes included in properties

	add spaces in search results & authors components



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55995 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 13:33:18 +00:00
argiro.kokogiannaki f8913dfdbd [Library|Trunk]
Merge into trunk branch angular7 rev 55729




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55964 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-03 13:20:36 +00:00
konstantina.galouni 8641787688 [Trunk|Library]
Fix error logs in Claims Pages and remaining components (approvedByCommunity, userEmailPreferences, navigationBar).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54848 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 14:00:43 +00:00
konstantina.galouni c6b84c171e [trunk]: Remove unnecessary logs from library.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54775 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:15:44 +00:00
argiro.kokogiannaki 549778c2eb Properties
add property environment
	remove unused property production mode
	in navbar and bottom use environment property to show links to beta or production
Images: remove old images


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54347 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-13 09:21:26 +00:00
argiro.kokogiannaki be9da138d5 Nav:
add homeurl boolean 
	if homeurl is true link to logo takes you to home page "/"
	for communities if no homeurl takes you to beta._id_.openaire.eu


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54207 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-07 12:36:19 +00:00
argiro.kokogiannaki ba1868051c Search/find
add placeholder text as Input
	remove the entity name from advanced search link

Bottom 
	add checks for routes enabled

Nav:
	remove checks for boolean inputs (have to be properly assign in app component)
	add checks for main menu items
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54206 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-07 11:07:19 +00:00
argiro.kokogiannaki d5b745fc65 Single Sign On: Changing cookie names, format, remove unused methods
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52451 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-12 11:15:42 +00:00
argiro.kokogiannaki 45725b69e4 menuItems for footer dynamically created
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52162 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-23 13:15:56 +00:00
argiro.kokogiannaki 1cd923a372 change any component that uses path to assets, change loading.gif to be property in a class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52004 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-11 11:33:50 +00:00
argiro.kokogiannaki 5139077569 add function for separeate roles in Session| add isCommunityRI method in community service and RIGuard || change admin guard to be only administrator | add claims curator guard|
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51526 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-27 08:22:55 +00:00
argiro.kokogiannaki 4f90bffe50 Context to community in display claims| showMenu Input for naviation Bar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51294 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-16 08:56:42 +00:00
argiro.kokogiannaki c43c57834c add properties json file , minor changes for navbar and login
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50591 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-05 15:13:55 +00:00
argiro.kokogiannaki 91b7c11f0a USe a json file to read properties | replace openaire Properties | parameterize menu (use params, community, ) | parameterize search pages (hide community information)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50586 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-05 13:14:59 +00:00
argiro.kokogiannaki 7be97877c6 parameterize menu items & login/out urls
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50286 d315682c-612b-4755-9ff5-7f18f6832af3
2018-01-11 15:20:43 +00:00
argiro.kokogiannaki 27794606e8 Clear some files | use new version of datatables for dataproviders tables
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50277 d315682c-612b-4755-9ff5-7f18f6832af3
2018-01-11 10:55:54 +00:00
argiro.kokogiannaki 86e750754b Commiting first draft of openaire library for angular portals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50169 d315682c-612b-4755-9ff5-7f18f6832af3
2017-12-19 12:53:46 +00:00