Commit Graph

7 Commits

Author SHA1 Message Date
Konstantina Galouni e9e2ee9f3a [Library]: [Bug fix] Strip html tags for titles and descriptions and show them as innerHTML.
1. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts & orcid-work.component.ts: Commented unused @ViewChild fields.
2. dataProvider.service.ts & project.service.ts & resultLanding.service.ts: Strip html tags from title.
3. resultLanding.component.ts: [Bug fix] resultLanding.description is string, not array.
4. orcidWork.ts: [Bug fix] resultLanding.description is string, not array & strip html tags from description.
5. refineFieldResults.service.ts: In method "getSearchAPIURLForEntity()", for entityType "result" set suffix to "results/".
6. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Strip html tags from title | Do not cut description (multi line ellipsis is used in html).
7. jsonld-document-serializer.service.ts: [Bug fix] resultLanding.description is string, not array.
8. result-preview.component.html: Show description as innerHTML to properly display special characters.
2022-11-28 19:22:01 +02:00
Konstantina Galouni 2261f4ae6f [Library | new-theme]: orcidWork.ts: [Bug fix] When no resultLandingInfo.types, set work['type'] according to resultLandingInfo.resultType | icons.ts: [Bug fix] Remove unnecessary classes in orcid_add and orcid_bin icons - class had always the value of the first loaded icon (less problem). 2022-09-07 14:08:01 +03:00
argirok dccf62d445 Update Abstract to be an array - fix issue with B2Find missing information 2022-02-14 17:04:09 +02:00
konstantina.galouni a856f29fc3 [Trunk | Library]:
1. orcidWork.ts: When description is >5000 characters, do not send it to ORCID work.
2. orcid.component.ts: When redirecting to /orcid by ORCID UI (source in not "openaire"), do not query for new tokens if user already has valid tokens in OpenAIRE.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60480 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-23 15:50:37 +00:00
konstantina.galouni 889a58cb37 [Trunk | Library]:
1. myOrcidLinks.component.ts:
	a. Added title "My ORCID links".
	b. Set page metadata (_meta, _title).
2. orcid.component.ts: Set page metadata (_meta, _title).
3. orcid-work.component.ts: move ORCID icon (iD), after word "ORCID".
4. orcidWork.ts: 
	a. Do not map OpenAIRE type "Film" to ORCID type "artistic-performance".
	b. For each result, map first OpenAIRE type, which is not "other" (if exists).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60466 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-20 09:23:59 +00:00
konstantina.galouni fb458253d4 [Trunk | Library]:
orcid-work.component.ts: Updates and fixes | Add UI for "pageType=='my_search'" (my orcid links page).
orcid.component.ts: 
	a. Update component to get ORCID tokens and redirect back to the appropriate page. 
	b. When called by ORCID UI (no source parameter), call method "orcidService.getPersonalDetails()" to redirect to advanced search research outcomes, filtered by name.
	c. Remove unused code.
orcid.module.ts: import ResultLandingUtilsModule.
orcid.service.ts: 
	a. Add methods "getLocalWorksByPids()", "getUserOrcid()" and "getPersonalDetails()".
	b. Fixes and imporovements in request responses.
	c. Separate /local from /orcid methods in orcid service (/local query only DB while /orcid query ORCID API).
orcidWork.ts: 
	a. Add method "mapType()" to map OpenAIRE result types to ORCID work types.
	b. [Bug fix] Parse resultLandingInfo.dateofacceptance correctly into year, month, day.
	c. [Bug fix] Capitalize author.orcid to set "contributor-orcid].path.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60392 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:01:55 +00:00
konstantina.galouni 948831e201 [Trunk | Library]: Add /orcid folder with files, for adding-removing works and getting orcid tokens for user.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60230 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 18:23:31 +00:00