Commit Graph

353 Commits

Author SHA1 Message Date
Alex Martzios 4dfe5f989a update OpenAIRE Graph name 2023-02-23 14:28:02 +02:00
Alex Martzios 825e29b5af changes for FormGroup and FormBuilder 2022-12-15 13:00:31 +02:00
argirok 14b80fb1c3 update query for datasources (registries, journals, etc) 2022-04-15 16:59:41 +03:00
Konstantina Galouni 6c0724f026 Rename some result refine filter names and reorder them. 2022-03-17 15:13:07 +02:00
Konstantina Galouni 6759508fb6 [Library]: Fixes (major: Parsing of organizations in result landing) & Addition of "FOS" and "SDGs" in result refine filters and result landing pages.
1. searchFields.ts: Added fos & sdg refine filters for research results.
2. resultLandingInfo.ts: Added string arrays "fos" and "sdg".
3. HelperFunctions.class.ts: Added method for sdg sorting (splits value, keeps only number before dot and compares numerically).
4. searchResearchResults.service.ts: [Bug fix] when parsing "dateofacceptance", stringify it only if it has a value.
5. searchFilter.component.ts: When sorting filters, sort differently SDGs.
6. resultLanding.service.ts:
	a. [Bug fix] Fix in parsing subtitle.
	b. [Bug fix] Parsing of "Related organizations" was accidentally deleted when parsing of relations changed.
	c. Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
7. resultLanding.component.ts:
	a. [Bug fix] Do not make call for opencitations (deprecated).
	b. Updated method "hasPrimaryInfo()": Description is now array and added checks for organizations.
8. resultLanding.component.html: Display of "FOS" and "SDGs" separately from subjects.
9. showPublisher.component.ts: [Bug fix] Remove from html name of developer!
10. parsingFunctions.class.ts: Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
11. metrics.component.ts: [Bug fix] Default value of "metricsClicked" should be false.
2022-03-15 23:31:10 +02:00
argirok 24848d2bee search add a div to include image in the search bar - if needed 2022-03-08 15:29:52 +02:00
argirok 514cd0dd12 complete previous commit for
clean up search dataproviders for doiRawValue
2022-02-21 16:29:03 +02:00
argirok 497a19a60d apply changes for datasource search pages #7546 2022-02-16 18:43:20 +02:00
Konstantina Galouni 304276f3bc [Library]: Fixes in ORCID put-codes query & query dynamic menu only in development environment.
1. dataProvider.component.ts: Comment log for dataProviderInfo.fundedContent.
2. searchResult.component.ts: In initialize() method, before calling orcidService.getPutCodes, added more checks for type (result, publication, dataset, software, other).
3. navigationBar.component.ts: Call _helpContentService.getMenuItems only in development environment.
2022-02-16 11:40:05 +02:00
argirok 845db0a835 truncate text for open access mandate and collected from aggregator_name labels - better display in mobile 2022-01-03 16:10:15 +02:00
argirok 1475fb754b Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-11-18 12:42:32 +02:00
argirok f19f5e6367 Search pages:skip query parameter if value is empty 2021-11-18 12:42:12 +02:00
Konstantinos Triantafyllou 7ef741c205 Add logoUrl function in string utils and logoUrl pipe for HTML usage 2021-11-12 14:07:55 +02:00
Konstantinos Triantafyllou b9e6894ba1 Portal search result add getLogoUrl 2021-11-12 12:55:07 +02:00
Konstantinos Triantafyllou 02efeb4038 Portal search results fix hasPersmission method. Add private icon in hidden communities 2021-11-03 17:44:12 +02:00
Alex Martzios 045665ae10 Work in progress 2021-11-03 14:00:05 +02:00
Alex Martzios 1ca8d54296 Progress in showing the communities properly - CONNECT 2021-11-03 11:41:17 +02:00
Konstantinos Triantafyllou 5c7430ae7c Portal search card add uk-card class 2021-10-19 15:24:42 +03:00
Konstantinos Triantafyllou ff98d8187b Align portal search results to center vertically. Add Restricted label top right 2021-10-19 15:20:30 +03:00
Konstantinos Triantafyllou 0b3e699796 Portal search results remove link if user has not permission to visit a specific dashboard 2021-10-05 18:12:19 +03:00
argirok 81195135c2 enable impact factors for inspired-ris, show all featured datasets in enermaps featured tab 2021-09-07 13:13:06 +03:00
argirok 18dd1379ad changes for the fix in search pages - #6937 2021-08-13 15:48:41 +03:00
argirok 725d2aa7e3 Search pages: fix #6937- results per page change is not applied when the page or the keyword changes 2021-08-13 12:42:50 +03:00
argirok 3d413cde2d SEO - accessibility: In images add alt, add specific width and height, in links add <span class="visually-hidden"></span> with descriptive text - not visible (add class in library.css) 2021-08-10 13:46:33 +03:00
k.triantafyllou 08bf703186 [Library]: Move angular 11 to trunk. Remove no needed files. Delete angular upgrade branches
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61381 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 11:19:57 +00:00
argiro.kokogiannaki eee822bdeb [Library|Trunk]
SEO changes:
- ignore quick filter in search pages. don't add qf=true, the filter is NOT applied by default.
- add page in the canonical url
- keep order of params to have the same url in canonical no matter the order of the filters
- add prev/ next links

TimeOut interceptor: set it 3000 for server and 6000 for client



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61019 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-19 07:39:08 +00:00
argiro.kokogiannaki 6eed709019 [Library|Trunk]
- Remove inline argument for parsed contexts, projects, remove unused code with <mark> tag


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61002 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 15:21:46 +00:00
argiro.kokogiannaki bbdf705ea8 [Library |Trunk]
Search page: fix prefix initialization



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61001 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 10:02:50 +00:00
konstantina.galouni ea1795becc [Trunk | Library]:
1. newSearchPage.component.html: In search pages show warning message when there is an error (e.g. timeout) getting refine filters. 
	(do not hide message for not available filters when existingFiltersWithValues > 0 - when there are filters created by url)
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts:
	a. Set refine to true when there was an error in the previous refine query (searchPage.searchUtils.refineStatus != this.errorCodes.DONE).
	b. When there is an error getting refine filters, call searchPage.prepareFiltersToShow([], 0) (and prepareRangeFiltersToShow() for results and projects).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60992 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 14:22:08 +00:00
argiro.kokogiannaki 3d7a6e7260 [Library|Trunk]
Search page: 
	fix for undefined properties
	add page prefix as an input() attribute (for connect)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60986 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 07:18:34 +00:00
konstantina.galouni ac16d505d6 [Trunk | Library]:
1. newSearchPage.component.ts: [Bug fix] Initialize properties (Envproperties) in field definition, not in ngOnInit method (when parent called a method that needs property, may had not been initialized).
2. portal-search-result.component.html: Removed tooltip from description.
3. portal-search-result.component.ts: In method "_formatDescription()" call method "StringUtils.HTMLToString()" before cutting it.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60984 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-11 09:14:53 +00:00
argiro.kokogiannaki d97a4d6f69 [Library | Trunk]
Search pages: 
	updating canonical url with filters
	update title with filter values



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60976 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-28 15:54:30 +00:00
konstantina.galouni f7fe97900f [Trunk | Library]:
1. myOrcidLinks.component.ts: 
	a. Remove comments from file.
	b. Update and move on top of the page, message about green icons and when the data will be synchronized with ORCID.
	c. Align "Discover research results related to you" on the right side of title.
	d. [Bug fix] Set "baseUrl" with properties.myOrcidLinksPage.
2. orcid-work.component.ts: Show last update date in ORCID, on hover of Update button.
3. searchResult.component.ts: Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
4. env-properties.ts: Added property "myOrcidLinksPage?: string;".
5. result-preview.component.html: 
	a. Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
	b. Hidle "result.orcidUpdateDates" from results preview (this info is moved on hover of update button).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60875 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 08:31:05 +00:00
k.triantafyllou 01a6d0a22b [Library | Trunk]: Entities selection add enable all parameter
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60868 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-15 18:26:38 +00:00
k.triantafyllou deff0f595e [Library | Trunk]: Search page fix missing argument on queryChange
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60785 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 11:45:00 +00:00
argiro.kokogiannaki 3ef2e0168d [Library|Trunk]
Enermaps integration:
- parse enermaps id
- show in results and in landing (to be revised)
- add enermaps url property
- add function to query all results for community id/ context




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60783 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 09:17:00 +00:00
argiro.kokogiannaki 56081c33da [Library|Trunk]
- Cache Interceptor service: add explore home page search queries (stats numbers)
- Result Landing: enhance noindex filter (avoid common title/authors/abstract)
- Search module: remove unused module



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60750 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-30 11:50:15 +00:00
argiro.kokogiannaki d856aadf61 [Library|Trunk]
community service: keeps subscription is array, update clear method.
Advanced search: add check for selected fields array


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60730 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-26 15:45:30 +00:00
konstantina.galouni 4e5ccfa88b [new-UI | Library]:
1. no-load-paging.component.ts: [Bug fix] Added pipe "number" to totalPages.
2. searchProjects.service.ts: Nothing but removed a ";" which was double.
3. search-input.component.ts: 
	a. Added "bordered" class when input is focused (showSearch) or when a keyword exists (selected).
	b. Added "uk-visible@m" and "uk-padding-small" clases when showing selected keyword (padding is added so that border does not move).
4. icons.ts: Added icon "info" (from uikit).
5. string-utils.class.ts: Removed a console.log from "HTMLToString()" method.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60681 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 00:18:09 +00:00
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