Commit Graph

314 Commits

Author SHA1 Message Date
konstantina.galouni 127c489da4 [Trunk | Library]:
1. resultLanding.component.html & result-preview.component.html: Show orcid buttons in all environments (production too) | in <orcid-work> added "resultTitle" property.
2. myOrcidLinks.component.ts: Added "getPersonalDetails()" method and link to advanced research outcomes page, filtered by user's name (if personal details from ORCID fails, use name from AAI - getUserInfo).
3. searchMyOrcidResults.module.ts: Removed PagingModule and added NoLoadPaging.
4. searchMyOrcidResults.component.ts: Added method "totalPages()" to calculate pages in paging.
5. searchMyOrcidResults.component.html: 
	a. Added <no-load-paging> (instead of custom paging with <paging-no-load>).
	b. In <orcid-work> added "resultTitle" property.
	c. Fix widths of grid inside card for result preview and orcid buttons.
6. orcid-work.component.ts:
	a. Added "resultTitle" @Input property, to show it in notifications, instead of pids.
	b. Updated messages for errors and for multiple put-codes.
	c. Use "danger" notifications instead of "warning" when an error occurs.
	d. For search and my orcid links pages, in orcid buttons, use <icon> for icons | For landing page, updated icons in orcid buttons.
	e. Added message "The action will affect your real ORCID iD." in tooltips, when environment == 'beta'.
	f. Removed property "procedurePaused" and its usage replaced by "currentAction".
	g. [Bug fix] For search pages, added "uk-align-right", in order orcid button not to take width for the whole line.
	h. [Bug fix] In method "getOrcidWorks()" check "Session.isLoggedIn()" was missing.
7. orcid.component.ts: If personal details from ORCID fails, use name from AAI - getUserInfo.
8. orcid.module.ts: Added IconsModule and registered icons: add, remove, preview, refresh in IconsService.
9. searchResult.component.ts: Call "orcidService.getPutCodes()" in all environments (production too).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60619 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 01:40:53 +00:00
argiro.kokogiannaki cca8a3c7f3 [Library|Trunk]
Enermaps datasets: 
	apply changes in search  results components to be able to add custom title and add an image if available.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60612 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-10 10:41:38 +00:00
argiro.kokogiannaki bc10ab48c8 [Library | trunk]
SearchDataProvidersComponent: update variable for index info


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60607 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-08 15:52:51 +00:00
argiro.kokogiannaki 8f917a2e2e [Library|Trunk]
- remove search table view
- preview result: support projects urls with funder and grant id
- Search page changes:
	-clean up variables about showing graph info
 	- add variable about download results

Comment unused components that import datatables



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60605 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-08 15:32:33 +00:00
k.triantafyllou 7ce7dc18cd [Library | Trunk]: Add urlPrefix on portal results
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60581 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-04 13:24:20 +00:00
konstantina.galouni 584e3a0b16 [Trunk | Library]:
1. env-properties.ts: Added properties "orcidTokenURL", "orcidClientId".
2. orcid-work.component.ts & myOrcidLinks.component.ts: Set tokenUrl using properties.orcidTokenURL and properties.orcidClientId (not local strings).
3. searchMyOrcidResults.component.ts: Remove check for "development" environment (Menu is not added in production).
4. searchResult.component.ts: Parse previewResult.identifiers to set previewResult.orcidPutCodes only when environment is not "production" and portalType is "explore".
5. result-preview.component.html: Show ORCID dates or <orcid-work> only when environment is not "production" and portalType is "explore".
6. resultLanding.component.html: Show <orcid-work> only when environment is not "production" and portalType is "explore".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60494 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-24 20:33:37 +00:00
argiro.kokogiannaki 8a315f3963 [Library|Trunk]
Track Downloads:
- add the type of report (filename) in the url - to separate the different actions
- Organization: add piwik track in 2 reports that was missing
- Add track download for citations



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60406 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 12:50:02 +00:00
konstantina.galouni 66645f70f2 [Trunk | Library]:
1. newSearchPage.component.ts: 
	a. For filter with type "identifier", build params by calling createKeywordQuery() method (currently useless - authorid filter will be changed to type "identifier" on following commits).
	b. [Bug fix] EncodeURI the identifier.id of identifiers.
2. searchResult.component.ts: [Bug fix] Add check if result.identifiers.get("doi").
3. showIdentifiers.component.ts: [Bug fix] Add comma "," and "..." when needed.
4. showPublisher.component.ts: [Bug fix] Add class "uk-display-inline-block" for not breaking "Sherpa/ RoMEO" icon from text.
5. resultLanding.service.ts: [Bug fix] Set resultLandingInfo.title to title with classid=="main title" (requested in ticket #6342).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60397 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:33:36 +00:00
konstantina.galouni f57e7d4d60 [Trunk | Library]:
1. [NEW] Added folder and files for "recommend-orcid-links".
2. searchResearchResults.component.ts: Added input fields "usedBy", "orcidQuery", "identifiers" (needed for recommend orcid links page).
3. newSearchPage.component.html: Add cases for "usedBy=='orcid'" | call <orcid-result> component when "usedBy == 'orcid'".
4. newSearchPage.module.ts: Import "SearchResultsForOrcidModule".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60395 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:26:47 +00:00
konstantina.galouni ba229df685 [Trunk | Library]:
deletedByInference.component.ts: In <result-preview> add property "showOrcid" set to "false".
resultLanding.component.html: 
	a. Show <orcid-work> always (user is logged in or not and if there are no identifiers).
	b. Add class "half-opacity" in button and text for annotations when not user is logged in or there is no pid.
resultLanding.component.ts: Remove "loggedIn" field as it is duplicate (the other is "isLoggedIn").
advancedSearchForm.component.html: Show input form for filters with type "keyword" and [NEW] type "identifier".
loading.component.ts: Add boolean property "top_margin" to add or not class "uk-margin-small-top" on spinner.
result-preview.component.html: 
	a. Show <orcid-work> component even when user is not logged in.
	b. Fix widths for bottom line of result preview.
	c. Add "orcidCreationDates" and "orcidUpdateDates" in bottom line when available (in my orcid links page).
result-preview.component.ts: Add "showOrcid" property.
result-preview.ts: Add fields "orcidUpdateDates: string[]" and "orcidCreationDates: string[]".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60393 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:05:37 +00:00
argiro.kokogiannaki ce1b7a2c86 [Library|Trunk]
Piwik: download give the current url instead of the blob url. Remove url parameter from trackDownload()

Metrics: add usage counts link in the logo


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60280 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 15:28:08 +00:00
k.triantafyllou 3ac191b39c [Library | Trunk]: Paging bold numbers
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60278 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 14:36:06 +00:00
konstantina.galouni eb4a1f13f6 [Trunk | Library]:
1. error-interceptor.service.ts: Add "properties.orcidAPIURL" in UNAUTHORIZED_WHITELIST.
2. resultLanding.component.html: If result has identifiers and user is logged in, call <orcid-work>.
3. resultLanding.module.ts: Import OrcidModule.
4. searchResult.component.ts: If user is logged in, call "orcidService.getPutCodes()" and set orcidPutCodes of previewResults.
5. searchResults.module.ts: Add "OrcidService" in providers.
6. searchResearchResults.service.ts: In method "parseResults()", call "this.parsingFunctions.parseIdentifiers(resData['pid'])" to set identifiers.
7. customOptions.class.ts: Change method return type: "public static registryOptions(): any" --> public static registryOptions(): {}". (caused problem in return type of services (e.g. HttpEvent<string> instead of string).
8. searchResult.ts: Add field "identifiers: Map<string, string[]>".
9. env-properties.ts: Add field "orcidAPIURL".
10. result-preview.component.html: 
	a. If result has identifiers and user is logged in, call <orcid-work>.
	b. In bottom line with impact factors and orcid, add class "result-preview-bottom" (set color to #747474 (like muted text) when not on hover).
11. result-preview.component.ts: Add field "loggedIn" and check on init if user is logged in (via Session).
12. result-preview.module.ts: Import OrcidModule.
13. result-preview.ts: Add field "orcidPutCodes" | In method "searchResultConvert()", set resultPreview.identifiers with all identifiers (not only dois).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60231 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 18:30:25 +00:00
argiro.kokogiannaki e772594e93 [Library | Trunk]
Search: Quick filter will be applied if no other value is selected or it is disabled. - Not only in the first load



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60229 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 17:32:15 +00:00
k.triantafyllou 8e76890a1c [Library | Trunk]: Fix manage on research results
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60228 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 16:10:05 +00:00
argiro.kokogiannaki 584fd7bcaf [Library|Trunk]
Search: fix? margins in selected filters



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60227 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 15:54:33 +00:00
argiro.kokogiannaki 6f76ccd97b [Library | Trunk]
Search:
-fix: remove selected type filter did nothing
-fix: weird margin for selected filters



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60224 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 14:28:37 +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
konstantina.galouni e7de14592d [Trunk | Library]: searchResult.component.ts: Remove check if environment is not production when requesting impact factors (show them in production from now on).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60146 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-15 17:08:31 +00:00
argiro.kokogiannaki 0df3f39609 [Library|Trunk]
Search all bug- freezing form: missing events to update disableForms. update search pages

Piwik Service: add check about piwik ID	



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60132 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-15 12:45:02 +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
k.triantafyllou 928053be8c [Library | Trunk]: Portal result fix logo preview if it is uploaded
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60024 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-03 14:59:26 +00:00
argiro.kokogiannaki 605644eb16 [Library|Trunk]
- update guard is community: check domain or community parameter
- remove onchanges 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60014 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 15:26:35 +00:00
k.triantafyllou ff5c88b0b0 [LIbrary | Trunk]: Portal search results, move logo to the center of his div
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60011 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 09:26:36 +00:00
konstantina.galouni 89acbac1c0 [Trunk | Library]
1. subscribe.service.ts: [Bug fix] In method "initIsSubscribedToCommunity()" and "isSubscribedToCommunity()" in api path /{portalType} changed with /community.
2. newSearchPage.component.html: Use updated icon "search.svg" (not .png).
3. contact-us.component.html: In contact us form rows change "uk-margin-top" to "uk-margin-medium-top".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60008 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-02 08:41:00 +00:00
argiro.kokogiannaki f82709b062 [Library|Trunk]
Connect - communities search : 
	- remove check for productionready communities
	- add check for custom filter
	- update openaire link in table view - remove graph info



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59990 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-30 16:55:28 +00:00
argiro.kokogiannaki a106ba9b82 [Library|Trunk]
-Sidebar: preserve parameters for specialMenuItem
-Datasource landing: add target blank for external link
-Indicators:
	-Rename IndicatorWidth to IndicatorSize
	-Add height
	- default value is medium
-Search:
	- remove baselink for filter links -> page not found

- Index Info service: method to get last date for statistics




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59979 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-27 10:42:30 +00:00
argiro.kokogiannaki 8d4198caca [Library|Trunk]
- Filters issue with quick filter: revert to previous code, value should be url encoded
- Custom Filter: always Show the value of the custom filter
- update message for link in explore portal
- Search pages - add indexUpdateDate, update link to index info




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59971 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-26 14:33:37 +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
k.triantafyllou 2d66fc7ff8 [Library | Trunk]: Quick Selections on entity click change checkbox
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59945 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-24 08:53:22 +00:00
argiro.kokogiannaki fa25562aea [Library|Trunk]
Add custom filter parameters when switching from simple to advanced search pages or change entities


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59938 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-23 16:08:36 +00:00
k.triantafyllou 8082d64ec0 [Library | Trunk]: Remove uk-position-cover from search pages search form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59902 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-18 17:10:29 +00:00
argiro.kokogiannaki 18311e557d [Library|Trunk]
- Search page - custom filter: add filter value when the custom filter doesn't exists in refine values - this allows to remove it if there are no results

- quick selections: add check for aggregator




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59901 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-18 17:04:41 +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
argiro.kokogiannaki 8569010477 [Library|Trunk]
Search Filters fix:
- make them work for static filters (e.g datasource pages)
- make it work when new filter is substring of selected filter (e.g 'Registry'  & 'Registry of repositories')
- make it work with and without quotes

SEO:
- datasource landing add description in meta tags
- result landing make h2 the title in other versions (only one H1 per page)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59820 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-12 09:51:34 +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
konstantina.galouni 9367777fb0 [Trunk | Library]: newSearchPage.component.html: Add one more check for showing filters correctly (add filter only when values are more than 0).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59785 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 11:03:42 +00:00
konstantina.galouni e72a0fffdd [Trunk | Library]: searchFilter.component.html: Disable and mute links when value number is 0.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59784 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 11:00:36 +00:00
k.triantafyllou 9f9d580761 [Library | Trunk]: Stakeholder results: Fix link
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59782 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 09:37:41 +00:00
argiro.kokogiannaki 2716235881 [Library| Trunk]
- create timeout interceptor
- update urls for cache interceptor (&fields=country)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59741 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-02 17:11:31 +00:00
k.triantafyllou a0f14dbb10 [Library | Trunk]: Fix visibility for stakeholders search page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59739 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-02 16:55:05 +00:00
k.triantafyllou 1e6e1118f0 [Library | Trunk]: Fix image-front-bar in search-all
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59682 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 18:19:32 +00:00
k.triantafyllou e91237a48b [Library | Trunk]: Fix image-front-bar in search page. Remove subject from connect contac
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59680 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 18:04:56 +00:00
argiro.kokogiannaki d575051508 [Library|Trunk]
Search - fix issues after filters as href
	- keep result types when page, sort, size changes
	
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59653 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 15:11:40 +00:00
konstantina.galouni f1e46be3cc [Trunk | Library]:
1. contexts.service.ts: Add BehaviorSubject for getting communities (with status) only once (providedIn: 'root') - used by searchResearchResults.component.ts & claimContextSearchForm.component.ts.
2. claimContextSearchForm.component.ts & claimContextSearchForm.module.ts: Use 'getPublicCommunitiesByState()' instead of 'getPublicCommunities()' (contexts.service.ts) | Do not import in module (singlet$
3. refineResults.class.ts: In 'includeValue()' add checks if name is empty or undefined (do not include filter value in that case).
4. searchResearchResults.component.ts: For 'community' filter, add query for getting communities with public status and filtering values accordingly (timeout 300ms after filters request is over).
5. searchResearchResults.component.ts: & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts:
        Add methods "filtersReturned()" and "resultsReturned()" - when refine or search query returns with no results or page is out of bounds, stop the other query and initialize statuses and values 
                (stop loading when we know there are no results).
6. newSearchPage.component.html: Improve some checks to better display filters and results (out of bounds message, loading for filters, etc..).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59648 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 14:47:54 +00:00
argiro.kokogiannaki 136e79f3bb [Library|Trunk]
Filters as href: When refine filter changes remove the page parameter, so the refine will run again




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59643 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 13:49:53 +00:00
argiro.kokogiannaki 8d1d852008 [Library|Trunk]
- add more checks about resultTypes
- filters as href: chnage to page 1 when adding/removing filter




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59637 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 12:08:14 +00:00
argiro.kokogiannaki 76c9977a54 [Library|Trunk]
Search: fix result types initialization - show only for results


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59636 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 11:21:37 +00:00
argiro.kokogiannaki 9818056509 [Library|Trunk]
Keyword Search: check for reserved words to avoid error 500 in search service


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59635 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 10:21:37 +00:00
argiro.kokogiannaki 2901fe8e48 [Library|Trunk]
- QuickSelection component:
	- change resultTypes to a Filter
	- use search-filter compoonent to show the types
	- add actionRoute property
- Action route:
	- add in filters and range filters,
	- set it true in search pages, false for filters in claims




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59632 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 09:11:15 +00:00