Commit Graph

820 Commits

Author SHA1 Message Date
konstantina.galouni 204ac6eed6 [Trunk | Library]: searchFilter.component.html: [Bug fix] search in filters (in view all functionality) was not working - results were not filtered.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58179 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-04 16:44:50 +00:00
argiro.kokogiannaki 826de9f393 [Explore|Trunk]
Result Landing page:
	add type "result"
	add query for type result
	update result info with resulttype
	update urls when the result type is returned

	



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58176 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-04 14:29:50 +00:00
argiro.kokogiannaki 803826efd3 [Explore|Trunk]
New Search:
	search all: add back entites selection
	advanced search: 
		css changes for date field
		change result date query to " within "
		use new URL parameters - keep order
		




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58173 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-04 12:42:52 +00:00
argiro.kokogiannaki 2694761594 [Library|Trunk]
New search
        update keywords query: identify PID, specific query for each pid
        Entities selection: change select to angular material select

String utils - Identifiers: 
                add regex for more PIDs, create class Identifier 



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58164 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-03 14:32:43 +00:00
argiro.kokogiannaki c88ec8c54f [Library|Trunk]
New search:
        fix issue with quick selections

add Page URL resolver component: to properly redirect old  routes to new research outcomes search page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58156 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-28 10:05:59 +00:00
konstantina.galouni 1c7412cd63 [Trunk | Library]: searchOrganizations.component.ts: [Bug fix] links to organizations simple and advanced pages (not projects).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58149 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-26 15:11:34 +00:00
konstantina.galouni 468e6e4b9b [Trunk | Library]:
1. newSearchPage.module.ts: Use relative path for "RangeFilterModule" import.
2. newSearchPage.component.html: Remove <csv-download> from offcanvas (search filters in small screens) | Add "offcanvas-white" class together with "uk-offcanvas-bar" class (search filters in small screens).
3. searchFilter.component.html: Improve code for radio buttons | Add <label> in checkboxes and radio buttons to enable clicking on filter names.
4. searchPaging.component.ts: [Bug fix] remove "uk-flex uk-flex-middle" classes | Add check to hide paging (and its css) when not visible pages/results.
5. rangeFilter.component.html: Improve error messages & move them above buttons.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58148 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-26 15:01:16 +00:00
argiro.kokogiannaki 1909165ad8 [Library | Trunk]
Search Queries for datasources & organizations: add Compatibility 4.0



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58143 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-26 11:24:50 +00:00
argiro.kokogiannaki 6e7a46b7a9 [Library|Trunk]
Search:
	old datsource search pages & table view: remove map link

	new Datasource search page: 
		able to use it for different types (compatible, journal, registries)
		create a helper class for selecting proper query, filter, etc depending on the type
	
	Advanced form:
		remove [()] from html attributes	
		add check about showing advanced link & entites selection component
		when only one advanced filed is left, change its operator to and
		update according to the new UI
		Autocomplete: on blur clear keyword
	New Search PAge:
		Handle Quotted queries for field with equality operator "="


		
		
		


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58138 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-25 15:40:56 +00:00
konstantina.galouni 6bf56acf93 [Trunk | Library]: searchFilter.component.ts: [Bug fix] event emitters were commented in previous commit for testing.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58137 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-25 12:36:30 +00:00
konstantina.galouni 7f83094e4f [Trunk | Library]:
1. newSearchPage.component.ts: In year range filter show "from {year}" or "until {year}" if only one of the is selected.
2. searchFilter.component: (search redesign) 
	a. Do not show "+" after the values number if >=99
	b. In view more results are sorted by name
	c. Show always 6 more popular and all selected (all sorted by number).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58135 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 16:27:01 +00:00
konstantina.galouni d292a3e1ed [Trunk | Library]:
1. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts: Remove 'type' parameter from request.
2. newSearchPage.component.ts: 'type' parameter is added for every type (not only for results).
3. entitiesSelection.component.ts: [Bug fix] For content providers: value="dataprovider".
4. searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts: Initialize "csvParams" correctly according to queries built in search pages (search redesign).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58132 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:45:22 +00:00
konstantina.galouni 3fd4253ebc [Trunk | Library]:
1. properties/searchFields.ts: Range filter for results & projects renamed to "Year range".
2. string-utils.class.ts: "currentYear" field added.
3. rangeFilter.component: Margin & Placeholder fixes | Button for "This year", "Last 5 years", "Last 10 years" added.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58131 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:38:08 +00:00
konstantina.galouni b7d1f6bbb0 [Trunk | Library]:
1. advancedSearchForm.component.html & newSearchPage.component.html & searchDownload.component.ts & 
      searchPaging.component.ts & searchResultsPerPage.component.ts & searchSorting.component.ts & pagingFormatter.component.ts:
  Fix margin, padding and new view according to search redesign.
2. searchDownload.component.ts: Remove 'type' parameter in request (in next commit, type is added from search pages).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58130 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:33:34 +00:00
konstantina.galouni e11f388087 [Trunk | Library]:
1. resultLanding.service.ts & searchResearchResults.service.ts: [Bug Fix] When parsing title, we stringify it. Make sure we do not stringify values: undefined.
2. searchResearchResults.service.ts: Changed "sortby" parameter to match /resources2 api format (search redesign).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58128 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:19:16 +00:00
k.triantafyllou a069ef9546 [Library | Trunk]: Add alt metrics api url.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58121 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-20 13:50:59 +00:00
argiro.kokogiannaki 0200a0922c [Library|Trunk]
New Search:
	add search All component 
	update Search pages to work from search all component



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58115 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-19 15:35:48 +00:00
konstantina.galouni 64df17d834 [Trunk | Library]: Filters according to new UI/UX design.
1. utils/rangeFilter/: range filters added to describe year range queries (currently used in types: result & project).
2. utils/properties/searchFields.ts: 
	'uniqueValue: boolean' changed to 'filterType: string' with value among: null (if this is not a range/refine filter), radio, checkbox, range.
	RANGE_FIELDS added for each type needed.
	'fieldHasUniqueValue()' method renamed to 'getFieldFilterType()' method.
	'getFieldParam()' method added.
3. utils/properties/searchFields.ts & services/servicesUtils/refineResults.class.ts & searchPages/searchUtils/searchHelperClasses.class.ts
   & searchPages/dataProviders/ & searchPages/searchDataProviders.component.ts & searchPages/searchOrganizations.component.ts: 'filterType' field is used.
4. searchPages/searchProjects.component.ts & searchPages/searchResearchResults.component.ts: Initialize and use in calculations range filters.
5. searchPages/searchUtils/searchFilter.component: Update filters to match redesign & use them everywhere (not special case if search or deposit).
6. searchPages/searchUtils/newSearchPage.component: Update filters to match redesign and add range filters.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58105 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-17 14:19:14 +00:00
k.triantafyllou c004a7939f [Library | Trunk]: Fix entity type in parse results.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58102 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-14 15:08:54 +00:00
argiro.kokogiannaki 9da07c3568 [Library|Trunk]
New Search pages:
	1. update queries to use new method in API /resources2?type={publications,datasets,software,other,projects,organizations, datasources}
	2. add Entities Selection component and add it Simple, Advanced pages
	3. Quick Selections update: add check for enabled entities 
	4. Update simple search form and advanced according to the mocks



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58093 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-13 14:44:51 +00:00
argiro.kokogiannaki cce694ca7f [Library|Trunk]
New Search:
	Create pages for project, organizations, datasources
	Add checks in new search page 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58073 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-11 14:56:20 +00:00
argiro.kokogiannaki 32e65be516 [Library|Trunk]
New search page:
	Search research outcomes page:
		 1. add selection for result types
		 2. add Open Access as quick filter
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58072 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-11 11:58:51 +00:00
k.triantafyllou 8b6b61f9c3 [Library | Trunk]: 1. New view for search results. 2. Add highlight component but currently is not enabled. 3. Change access mode value from classid to classname
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58064 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-07 13:05:07 +00:00
k.triantafyllou efa6527a18 [Library | Trunk]: Some changes on sidebar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58061 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-06 13:34:37 +00:00
argiro.kokogiannaki 7bcb79955d [Library|Trunk]
New search page:
	Clean up the code
	remove queryParams - use parameterNames/Values instead
	buildPageURLPArams: don't return URL path
	remove method updateBaseURLParam
	create method prepareSearchPage: gather in one method all  initializations required for search page
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58055 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-04 16:33:46 +00:00
argiro.kokogiannaki 908712ed50 [Library|Trunk]
Search Pages:
	when refine filters have no result, Show them on the left
	create filters using the URL params



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58052 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-04 13:27:42 +00:00
argiro.kokogiannaki 07bdf020ba [Library|Trunk]
Create new search page with unified simple and advanced search pages
	- use  advanced search form 
	- add fields/ code in advance form to support simple view
	- add links for research result search pages in properties
	- searchResearchResults.service: add refine fields in advanced search



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58045 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-31 15:12:51 +00:00
argiro.kokogiannaki 95122e54a7 [Library|Trunk]
Advanced Search pages:
        remove EventEmitter queryChange 
        Clean up goTo function 
        add documentation
        remove unused functions/valiables



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58030 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-29 12:25:39 +00:00
argiro.kokogiannaki 100d120018 [Library|Trunk]
Simple search pages:
	remove EventEmitter queryChange 
	Clean up goTo function 
	add documentation
	remove unused functions/valiables



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58029 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-29 12:07:22 +00:00
k.triantafyllou 659fab0b1b [Library | Trunk]: Loginguard check userinfo, not token
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58028 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-29 10:20:53 +00:00
k.triantafyllou b510d104d2 [Library | Trunk]: Show authors create a copy to clipboard function and change orcid field from code to input with name=code.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58027 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-28 16:20:54 +00:00
k.triantafyllou 0e8aec9eac [Library | Trunk: Add b2note component and enable it on development mode]
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58025 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-28 14:09:32 +00:00
argiro.kokogiannaki 105e67d626 [Library|Trunk]
Jsonld: truncate description to 5000 - add '...' 
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58013 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-22 11:01:42 +00:00
konstantina.galouni bbc045a366 [Trunk | Library]:
1. showIdentifiers.component.ts: Rename "Related identifiers" to "Identifiers".
2. organization.component.html & organization.component.ts & resultLanding.component.html & resultLanding.component.ts: Rename "Original versions" to "Other versions".
3. resultLanding.component.html & resultLanding.component.ts & resultLanding.service.ts & resultLandingInfo.ts: 
	Remove accordion "Software" from the bottom of the page (implementation of mining that used to return them, is removed).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57989 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-17 14:15:23 +00:00
k.triantafyllou 91b0b75246 [Library | Trunk]: Fix a bug on input component. Change dashboard user mini
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57979 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-14 19:49:17 +00:00
konstantina.galouni afd964abcb [Trunk | Library]: organization.component & resultLanding.component: Text bug: "Original sources" renamed to "Original versions".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57971 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-13 11:27:54 +00:00
argiro.kokogiannaki 7a7fd23d32 [Library|Trunk]
Dashboard Sidebar: add badge


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57962 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-09 14:33:34 +00:00
k.triantafyllou 26f9807cd5 [Monitor Dashboard | Trunk]: Fix a bug on layout service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57951 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-24 09:37:00 +00:00
argiro.kokogiannaki d88d36d1e3 [Library|Trunk]
dashboard:
	keep only modules for common pages, without import  routing module
	remove routing modules


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57949 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 16:34:51 +00:00
k.triantafyllou 89fe8e71b8 [Library]: Shared moudle from library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57945 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 15:54:57 +00:00
k.triantafyllou cd11ead730 [Library | Trunk]: Move Option to input component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57941 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 15:17:35 +00:00
k.triantafyllou eee4f0807e [Library | Trunk]: Change getUserInfo to be suitable for guards too.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57939 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 15:09:17 +00:00
argiro.kokogiannaki 66375c1a1d [Library|Trunk]
Dashboard:
	move shared components under library


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57937 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 13:59:56 +00:00
argiro.kokogiannaki 66e46004b8 [Library| Trunk]
dashboard:
	move sidebar under library
	use menuItems class & add new fields needed


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57935 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 12:52:26 +00:00
k.triantafyllou 7737db5778 [Library | Trunk]: User Management service: Add a lock to allow only one call for get user info.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57933 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-23 10:18:57 +00:00
argiro.kokogiannaki 80a5c6e489 [Library| Trunk]
Transfer admin tool components in library & update the theme 
        - divHelpContent
        - helpTexts
        - pages



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57928 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-20 11:38:13 +00:00
k.triantafyllou 00fc8806c8 [Library | Trunk]: Add capitalize function on string utils
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57926 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-20 11:03:48 +00:00
argiro.kokogiannaki e955a799e5 [Library| Trunk]
Transfer admin tool components in library & update the theme 
        - divId
        - entity
        - portals/communities



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57916 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-18 15:14:21 +00:00
k.triantafyllou 75a9265c23 [Library]: Create click module and moved click outside there. Add long click directive
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57886 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-15 13:16:08 +00:00
k.triantafyllou a5d082d260 [Library | Trunk]: Fix a bug on user management service; Make dropdown on user menu same with indicator cards dropdown
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57885 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-15 12:44:20 +00:00