Commit Graph

944 Commits

Author SHA1 Message Date
argiro.kokogiannaki 3061455f8a [Library | Trunk]
Dashboard Sidebar: 
	pass query params for search
	add is activeURL method
	add mini_Title to be visible in mini_sidebar view

New Search page: include  changes for dashboard search
		- filters on the right
		- selected filters on top of the results
		- make selected filters an ng-template




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59078 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 09:15:00 +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 0e26d955bc [Trunk | Library]:
1. curator.service.ts: Use "useLongCache" property for curators.
2. helper.service.ts: Use "useLongCache" property for helptexts.
3. env-properties.ts: Add "useLongCache" property.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59073 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:14:50 +00:00
konstantina.galouni 9f569ac4c4 [Trunk | Library]:
1. resultLanding.component.ts: Get provenanceAction vocabulary from ISVocabulariesService.
2. resultLanding.service.ts: Remove methods for "provenanceAction" vocabulary | [Bug fix] Do not stringify "dateofacceptance" when undefined.
3. ISVocabularies.service.ts: Add BehaviorSubjects for vocabularies | Add methods for provenanceAction vocabulary (called by result landing pages).
4. staticAutoComplete.module.ts: Remove ISVocabulariesService 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@59072 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:10:43 +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 5317506680 [Library | Trunk]: Change organization link base on property, on Projects
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59068 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 11:29:39 +00:00
argiro.kokogiannaki 979921c536 [Library |Trunk]
Landing: metrics charts -- > change size to 200 values


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59063 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:48:33 +00:00
k.triantafyllou db7bd35f62 [Library | Trunk]: Changes for adding search and langing pages to monitor dashboard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59060 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:37:17 +00:00
argiro.kokogiannaki 9b15bdcd39 [Library|Trunk]
range filter component:
	min, max year can be passed as input
	both start/ end year can be mandatory
	add directive to check if both fields are filled


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59057 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:16:58 +00:00
argiro.kokogiannaki 6df293c0b8 [Library|Trunk]
Stakeholder:
- add filteredApplied in indicator path.
- add IndicatorFilterUtils

Sidebar: enable search




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59055 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-07 13:50:49 +00:00
konstantina.galouni 650964f962 [Trunk | Library]: resultLanding.component.html & project.component.html: [Bug fix] On modal for linking, when linking option was clicked, modal was not closing.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59049 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-06 17:46:11 +00:00
k.triantafyllou 31a6159ae8 [Library ]
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59044 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-03 14:20:51 +00:00
argiro.kokogiannaki eb1f91160a [Library|Trunk]
Search: createKeywordQuery() add properly the operator when it is needed.

LAnding result: set properly the type when the route changes and it is result.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59042 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 15:53:43 +00:00
k.triantafyllou 34fbdcf44b [Library | Trunk]: Revert parameter to user Info back
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59041 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 15:02:14 +00:00
k.triantafyllou 885999c8ad [Library | Trunk]: Remove parameter from userInfo.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59040 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 14:51:58 +00:00
konstantina.galouni 09fa6aa94b [Trunk | Library]: availableOn.component.ts & result-preview.component.html: Improve view for hostedby elements (Download from section in landing page & result preview - e.g. in versions).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59039 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 09:54:36 +00:00
konstantina.galouni 71c1206619 [Trunk | Library]:
1. result-preview.ts & resultLanding.service.ts & deletedByInference.service.ts: Add "icon" field in HostedByCollectedFrom interface.
2. availableOn.component.ts: Access mode icons set at parsing (not here).
3. result-preview.component.html: Add access mode icon & remove external link functionality for collected from (provider).
4. parsingFunctions.class.ts: 
	a. When instance.hostedby has no name (or "Unknown Repository" or "other resources") and no name from "source" found, set url (first 30 chars) as name.
	b. Access mode icons set at parsing for HostedByCollectedFrom interface.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59038 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-01 12:11:57 +00:00
argiro.kokogiannaki 5157c3614c [Library|Trunk]
Result Landing: Fix issue reading the parameter id when the type changes. Read it based on the param name instead of the type.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59037 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-01 09:11:58 +00:00
argiro.kokogiannaki 2979275c17 [Library|Trunk]
communities:
	add const prodReadyCommunities 
	communities search results: in production show link to beta or prod based on the list of prodReadyCommunities


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59028 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-30 15:56:56 +00:00
k.triantafyllou 1a2d78e3ee [Library | Trunk]: Fix all content bug not shown
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59011 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 14:19:19 +00:00
argiro.kokogiannaki 80158a5249 [Library|Trunk]
Sidebar:
	add search link


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59010 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 13:35:49 +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
argiro.kokogiannaki 1b576e5a40 [Library | Trunk]
Search:
1. advanced link in home and /search/find
2. DOI issue in /search/find/
3. update of numbers in tabs when there is an error in /search/find/
4. order of filters in search outcomes
5. In Landingpages:  rename "Publication Summary" --> "Summary" kai "Related outcomes" --> "Related research"

Linking:
get communities but not hidden ones



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59003 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 11:10:32 +00:00
k.triantafyllou 8cbb28284c [Library | Trunk]: Remove unused import
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58991 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-25 09:52:54 +00:00
k.triantafyllou 409231cef6 [Library | Trunk]: Add setItem to localStorage for directLink.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58989 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-24 18:20:19 +00:00
k.triantafyllou 16b1903d3c [Library | Trunk]: Add new contact fields for monitor contact
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58982 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-23 20:50:46 +00:00
konstantina.galouni 3c2cc0708b [Trunk | Library]: stakeholder.service.ts: Monitor change - in "deleteElement()" method add parameter "childrenAction: string = null" to add options:
- delete default element and all elements based on this default (and their contents).
	- delete default element and for all elements (and theis contents) based in this default remove connection with this default which is deleted.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58979 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-23 08:27:56 +00:00
argiro.kokogiannaki dae898b5ac [Library|Trunk]
Project Service: fixed issue in parsing #5682



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58959 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-18 11:48:46 +00:00
k.triantafyllou ddcfab668e [Library | Trunk]: Full page slider add new arrows
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58955 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-17 14:31:31 +00:00
konstantina.galouni 9338c43a23 [Trunk | Library]: resultLanding.component: Load <citeThis> component, only if button to open modal is clicked (this will load javascript for cite this when needed) - improve performance.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58951 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-17 10:32:32 +00:00
k.triantafyllou 0c60a35955 [Library | Trunk]: Some changes on sliders
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58949 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-17 10:27:04 +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 a5e0a64938 [Library | Trunk]: Full page slider add param for initial state
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58941 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-16 17:07:32 +00:00
argiro.kokogiannaki b819a68e96 [Library|Trunk]
Landing pages: add check for openaire id

Search Page: support quoted queries only if the number is even



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58940 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-16 16:42:51 +00:00
k.triantafyllou b310eb4e64 [Library | Trunk]: Create full page slider component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58919 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-15 19:02:44 +00:00
k.triantafyllou b7e29a6139 [Library | Trunk]: Fix load environment on properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58907 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-12 14:37:40 +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 2f55ac32f1 [Library|Trunk]
Change Topic.iconUrl to icon


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58900 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-12 09:56:38 +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
k.triantafyllou 99421068ab [Library | Trunk]: Add subject to contact is form.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58891 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 17:03:03 +00:00
argiro.kokogiannaki 4ac1861a39 [Library|Trunk]
Sidebar:
	add beta badge in sidebar
	add svg icons



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58889 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 16:59:00 +00:00
k.triantafyllou 76af144f41 [Library | Trunk]: Get properties from enviroment
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58888 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 16:13:47 +00:00
k.triantafyllou 7a42282e45 [Library | Trunk]: Make EnvProperties interface and make all fields optional. Set domain property on properties service.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58882 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 13:53:48 +00:00
k.triantafyllou 159e443648 [Library | Trunk]: Add iconUrl to topic
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58880 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-11 10:11:05 +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
k.triantafyllou 0c7953b710 [Library | Trunk]: Session methods change condition if user is undefined not not equal to null, to avoid error on server
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58873 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-10 09:21:12 +00:00
k.triantafyllou 4b3467b621 [Library | Trunk]: Portal search result: Some html changes to fit in small screens
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58868 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-09 08:57:05 +00:00
k.triantafyllou 5efde8bc99 [Library | Trunk]: Localstorage service typo fixed
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58866 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-05 16:29:06 +00:00
k.triantafyllou cd62e76fcb [Library | Trunk]: Dashboard inpout fix a bug with required
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58864 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-05 14:48:12 +00:00
k.triantafyllou 034fbe3931 [Library | Trunk]: 1. Change name of communitesSearchResults to PortalSearchResults. 2. Add method on string utils to check if a word exists on a text. 3. Add description on stakeholder and create StakeholderInfo which extends Stakholder
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58860 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-05 12:56:28 +00:00