Commit Graph

724 Commits

Author SHA1 Message Date
Konstantina Galouni 3ea0ee3d1e [develop | DONE | FIXED] resultLanding.service.ts: Parse services for relatedServices only when the portal is eosc, otherwise datasources only | resultLanding.component.html: For relatedServices, change label of tab and type of results depending on if the portal is eosc (service) or not (datasource). 2024-09-19 11:12:24 +03:00
Konstantina Galouni 99caf5aacc [develop | DONE | CHANGED] Renamed property "eoscMarketplaceURL" to "openScienceCloudURL" and added new property "eoscMarketplaceURL" (new value) | Updated current domain and marketplace domain from eosc-portal.eu to eosc-beyond.eu.
1. env-properties.ts: Added property openScienceCloudURL?: string.
2. environment.ts: Renamed property "eoscMarketplaceURL" to "openScienceCloudURL" and set value for new property "eoscMarketplaceURL".
3. dataProviderInfo.ts: Use properties.openScienceCloudURL instead of properties.eoscMarketplaceURL.
4. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: Updated method "eoscBackLink()" to use "properties.eoscMarketplaceURL" instead of static url "https://search.marketplace.eosc-portal.eu/".
5. parsingFunctions.class.ts: In eoscSubjects use "properties.eoscMarketplaceURL" instead of static url "https://search.marketplace.eosc-portal.eu/".
6. connectHelper.ts: In method "getCommunityFromDomain()", added check domain.indexOf('eosc-beyond.eu') != -1.
2024-09-11 21:04:03 +03:00
Konstantina Galouni 38f411b514 [develop | DONE | REMOVED]: resultLanding.module.ts: Removed unused import of SearchTabModule. 2024-09-10 00:36:06 +03:00
Konstantina Galouni 8d6c45abe3 [develop | DONE | CHANGED]: fos/fos.component.html & fos/fos.component.ts & landing-utils/fos.component.ts & ISVocabularies.service.ts & resultLanding.service.ts: hide L3 & L4 FoS. 2024-08-01 14:06:12 +03:00
Konstantina Galouni dd4d785d96 [develop | DONE | CHANGED]: [Performance improvement] resultLanding.component: Added fields "impactClicked" and "altMetricsClicked", to initalize and show the relative content only on click | entity-actions.component.ts: Added field "addThisClicked" to call <addThis> only on click. 2024-07-18 15:48:20 +03:00
Konstantina Galouni 7a18b65b40 [develop | DONE | CHANGED]: parsingFunctions.class.ts & showSubjects.component.ts: Removed checks for production environment - now show everything under keywords. 2024-07-11 16:35:19 +03:00
Konstantina Galouni 1401a68256 [develop | DONE | FIXED]: Initialize properties on field definition (files: displayClaims.component.ts & directLinking.component.ts & approved.component.ts & curators.component.ts & portals.component.ts & depositFirstPage.component.ts & searchResultsInDeposit.component.ts & statisticsTab.component.ts & citeThis.component.ts & deletedByInference.component.ts & organization.component.ts & project.component.ts & deletedByInference.component.ts & myOrcidLinks.component.ts & searchMyOrcidResults.component.ts & searchRecommendedResultsForOrcid.component.ts & searchResultsForOrcid.component.ts & searchAll.component.ts & advancedSearchForm.component.ts & searchDataProviders.component.ts & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts). 2024-07-02 13:51:15 +03:00
Konstantina Galouni 85657ceb61 [develop | DONE | CHANGED]: Parse research products versions from "children" field of the record, instead of querying explicitly.
1. resultLandingInfo.ts: Added field "children".
2. resultLanding.service.ts: Set children field.
3. resultLanding.component.html: In <deletedByInference> add parameter children.
4. result/deletedByInference/deletedByInference.component.ts: Parse children to initialize resultsPreview: ResultPreview[] and show versions accordingly.
2024-07-02 00:25:35 +03:00
Konstantina Galouni a8c2b2d0a3 [develop | DONE | CHANGED]: Parse organization versions from "children" field of the record, instead of querying explicitly.
1. organizationInfo.ts: Added field "children".
2. organization.service.ts: Set children field.
3. organization.component.html: In <organizationsDeletedByInference> add parameter children.
4. organization/deletedByInference/deletedByInference.component.ts: Parse children to initialize resultsPreview: ResultPreview[] and show versions accordingly.
2024-07-02 00:15:21 +03:00
Konstantina Galouni 1b70600397 [develop | DONE | CHANGED]: resultLanding.component.html: Hide usage counts per datasource from production | fos.component.html: Hide level 4 from keyword view too on beta and production (show only on dev). 2024-07-02 00:03:18 +03:00
Konstantina Galouni de793ab3ad [develop | DONE | ADDED]: Added relation between products (research product landing) and services (data sources - exclude service type).
1. result-preview.ts: Define interface RelationDatasource and added method "relationDatasourceConvert()".
2. resultLandingInfo.ts: Added fields "relatedServices" and "relatedServicesClassFilters".
3. resultLanding.service.ts: Call parsing for relations "dnet:result_datasource_relations".
4. parsingFunctions.class.ts: Added method "parseDatasources()".
5. resultLanding.component: Follow same schema for related research products (relatedResults) and related services (relatedServices), initialize relation fields and show them.
2024-07-01 23:35:47 +03:00
Konstantinos Triantafyllou 3a6b01ebe8 [develop | DONE]: Add isBottomIntersecting in layoutService and use is when it is needed. Add capitalize all in order to capitalize all words with whitespace separator. 2024-06-03 17:12:52 +03:00
Konstantinos Triantafyllou df2516f8f7 [develop | DONE]: Add belongs to all entities and add message in html. 2024-05-31 13:59:23 +03:00
Konstantinos Triantafyllou 65a60ddad1 [Develop | ADDED]: Add belongsTo configuration for all entities and initialize it in results. 2024-05-29 13:05:04 +03:00
Konstantina Galouni 59fc73bf4d [develop | DONE | FIXED]: In search results, only 1000 relations are fetched and shown - show messages.
1. result-preview.component.html: Added input parameter "resultTitle" to <entity-metadata>.
2. entity-metadata.component.ts: Added @Input() resultTitle: string = null; | When more than 1000 projects or organizations, show +more projects/partners and in modal, show message "Only 1000 Projects/ Partners of {result title} are shown here."
2024-05-28 16:34:16 +03:00
Konstantina Galouni cc6b5aeffe [develop | DONE | CHANGED]: Excluded (filter out) unidentified projects from search.
1. searchProjects.service.ts: Added filter &fq=(projectcode<>"unidentified") in methods "getProjectsforDataProvider()", "advancedSearchProjects()", "getProjectsForOrganizations()", "numOfSearchProjects2()".
2. organization.component.ts: In method call "searchProjectsService.getProjectsForOrganizations()" updated parameter for funder to be in fq instead of keyword query.
3. projects-in-modal.component.ts: In method "updateFilters()", format filterQuery to be in fq instead of keyword query.
4. entitySearch.service.ts: In method "search()", for type "project", added in the query &fq=(projectcode<>"unidentified").
2024-05-28 15:27:33 +03:00
Konstantinos Triantafyllou 1ac4365e05 [develop | DONE]: Add Role Utils with naming variables for roles 2024-05-28 12:21:37 +03:00
Konstantina Galouni 9722024643 [develop | DONE | FIXED]: relatedDatasourcesTab.component.ts: Show "top 100" message only if results are more than 90 & [BUG FIX] Use "collectedFromName" input and not a predefined static data source name. 2024-05-27 11:20:24 +03:00
Konstantina Galouni 019530c222 [develop | DONE | FIXED]: parsingFunctions.class.ts: In "parseEoscSubjects()" method, initialize subjects if needed. 2024-05-20 15:17:26 +03:00
Konstantina Galouni 1f4c0566c7 [develop | DONE | FIXED]: availableOn.component.ts: Removed environment check in <hr> shown in mobile under fulltext. 2024-05-20 15:16:00 +03:00
Konstantina Galouni ac46ecb997 [develop | WIP | FIXED]: parsingFunctions.class.ts: Added check if there are no classifiedSubjects. 2024-04-24 16:35:13 +03:00
Konstantina Galouni c5bd710621 [develop | WIP | CHANGED]: [BETA] parsingFunctions.class.ts: Show all subjects as keywords - updated method "parseAllSubjects()" to add classified subjects (by vocabulary) to the end of the keyword subjects list. 2024-04-24 16:06:45 +03:00
Konstantina Galouni ce87f0690d [develop | DONE | FIXED]: BUG fixes in orcid author modal | BUG fixes in search filters column.
1. mobile-dropdown.component.ts: Added makrForCheck() method call in "open()".
2. deletedByInference.component.ts: Added @Input() isMobile: boolean = false; & In <result-preview> set parameter [isMobile]="isMobile".
3. resultLanding.component.html: In mobile view, in <deletedByInference> set parameters [isMobile]="isMobile" and [modal]="alertModalDeletedByInferenceFS".
4. showAuthors.component.ts:
5. searchOrganizations.component.ts: [BUG FIX] In <new-search-page> set parameter [showRefine]="refineFields?.length > 0" to display filters or not.
6. newSearchPage.component.html: [BUG FIX] Updated checks for displaying refine filters column or not.
2024-04-22 17:14:46 +03:00
Konstantina Galouni 559220c77c [develop | DONE | CHANGED]: landing.module.ts: Removed TabPagingComponent from declarations and exports | deletedByInference.module.ts: Removed LandingModule from imports | resultLanding.module.ts: Import SearchTabModule | Deleted tabPaging.component.ts. 2024-04-16 13:25:54 +03:00
Konstantina Galouni cc43504306 [develop | DONE | ADDED]: Added method get calcCurrentMonth() to calculate and display current month of the project life, if status is on going (project has started and not yet ended). 2024-04-16 12:28:14 +03:00
Konstantina Galouni eeb63a2de9 [develop | DONE | CHANGED]: In search projects results, show funder name by default, and if not available, show funder short name.
1. searchResult.ts: Added field funderName: string; in class SearchResult.
2. result-preview.ts: Added field funderName: string; in class ResultPreview & in method "searchResultConvert()" set resultPreview.funderName = result.funderName;
3. searchProjects.service.ts: Added parsing of funderName.
4. result-preview.component.html: Show funderName and if not available, show funderShortname.
5. entity-metadata.component.ts: Added check for funders display.
2024-04-16 11:47:12 +03:00
Konstantina Galouni 6886df2caa [develop | DONE | CHANGED]: Alt attribute on images | Set changeDetection: ChangeDetectionStrategy.OnPush on result-preview.component.ts.
1. deletedByInference.service.ts: [Bug fix] Fixed author check.
2. sdg.component.html & quick-contact.component.html & fos.component.html: Added alt attribute on images.
3. result-preview.component.ts: Set changeDetection: ChangeDetectionStrategy.OnPush | Added get countDots().
4. result-preview.component.html: Changed how number of access routes dots is passed into a class (countDots) - needed for ChangeDetectionStrategy.OnPush.
5. orcid-work.component.ts: Added alt attribute on images | Added ChangeDetectorRef and call this.cdr.markForCheck(); on "getPutCode()", "saveWork()" and "deleteWorks()" - needed for ChangeDetectionStrategy.OnPush.
6. searchResult.component.ts: Rebuild previewResults object after getting orcidPutCodes to draw html again - needed for ChangeDetectionStrategy.OnPush.
7. newSearchPage.component.html: Removed uk-flex-wrap for number of results and uk-margin-medium-left from desktop sorting.
2024-04-15 17:11:38 +03:00
Konstantina Galouni 07569f24e1 [develop | DONE | FIXED]: resultLanding.component.html & searchResult.component.ts: Added checks for ORCID also for properties.dashboard == "irish". 2024-04-03 16:16:09 +03:00
argirok c64df20405 [develop | DONE | ADDED] add orcid-core module, without the routing - use it in other components instead of orcid module 2024-03-14 09:28:33 +02:00
Konstantina Galouni da3c2fccf2 [develop | DONE | FIXED]: Moved RoutingModule as first imported module with possible routing (advanced search projects & organizations were loading orcid routing instead of their own). 2024-03-04 17:02:33 +02:00
Konstantina Galouni 6a41954109 [develop | DONE | CHANGED & ADDED]: env-properties.ts & environment.ts: Added properties "rorURL", "isniURL", "wikiDataURL", "fundRefURL" | organizationInfo.ts: Added identifiers | searchOrganizations.service.ts & organization.service.ts: Parse identifiers (pid) [BETA ONLY] | organization.module.ts: Import ResultLandingUtilsModule (to call <showIdentifiers> | organization.component: Removed old unused code & Added <showIdentifiers> & In mobile added country and website url | parsingFunctions.class.ts: Added parsing for organization pids | showIdentifiers.component.ts: Added cases for organization pids & check if pid value is a url, do not add prefix. 2024-03-04 13:14:09 +02:00
Konstantina Galouni 00a5150042 [develop | DONE | FIXED]: [BUG FIX] resultLanding.component.ts: Get type of entity from route.snapshot.data.type. 2024-03-04 11:17:50 +02:00
Konstantina Galouni da4a5f3321 [develop | DONE | FIXED]: [BUG FIX] fundedBy.component.ts: Provenance should always get the label from the respective vocabulary - calculate everything in ngOnInit. 2024-03-04 11:15:40 +02:00
Alex Martzios 3e8ed4f504 [develop | DONE | CHANGED] remove tooltips from search page, add labels for entity metadata 2024-02-29 11:33:17 +02:00
Konstantina Galouni edf49c4019 [develop | DONE | CHANGED]: sdg-fos-suggest.component.ts: Added field "isOpen: boolean = false;" and check if isOpen to show modal content | resultLanding.component: Removed old unused code and old comments, updated and added more checks e.g. not load content of modals if they are not open. 2024-02-28 17:42:58 +02:00
Konstantina Galouni efa0f72cc3 [develop | DONE | CHANGED]: isRouteEnabled.guard.ts, freeGuard.guard.ts: Added @Injectable({providedIn: 'root'}) | Removed from providers PreviousRouteRecorderm, isRouteEnabled, LoginGuard AdminLoginGuard, PiwikService & removed from imports PiwikServiceModule. 2024-02-28 16:45:23 +02:00
Konstantina Galouni 17e237c179 [develop | DONE | CHANGED]: Added routing modules (in library files) in Landing pages and in ORCID pages - imported the routing.module.ts in module.ts. 2024-02-28 14:33:44 +02:00
Konstantina Galouni 50244801d6 [develop | DONE | CHANGED]: availableOn.component.ts: Removed environment check from fulltext links (display them also in production). 2024-02-21 13:54:53 +02:00
Konstantinos Triantafyllou 3204ba18ff [develop]: Fix showAuthors in modal. 2024-02-14 15:43:27 +02:00
Konstantinos Triantafyllou 6e2cf28aee [angular-16-irish-monitor]: Merge from develop 2024-02-12 14:53:07 +02:00
Konstantina Galouni b89278af70 [develop | DONE | CHANGED]: Do not request page help contents (helptexts) in EXPLORE. (FILES: displayClaims.component.ts & linkingGeneric.component.ts & dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts & newSearchPage.component.ts) 2024-02-08 14:19:26 +02:00
Konstantina Galouni 83de7adc09 Merging branch develop into angular-16-irish-monitor 2024-02-07 22:32:42 +02:00
Konstantina Galouni 09960fda9e [develop | DONE | FIXED]: availableOn.component.ts: Added field "@Input() inModal: boolean = false;" and display download sources when in modal - e.g. versions. | result-preview.component.html: Display download sources (<availableOn>) in versions (isDeletedByInferenceModal). 2024-02-07 21:12:43 +02:00
Konstantina Galouni aba199e10d [develop | DONE | FIXED]: [BUG FIX] resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Moved <schema2jsonld> outside any parent html tag - was missing from mobile screens. 2024-02-07 16:56:16 +02:00
Konstantina Galouni 75ecd0da5e Merge develop into angular-16-irish-monitor branch 2024-02-06 14:19:27 +02:00
Konstantina Galouni f63e7d72cc [develop | DONE | CHANGED]: availableOn.component.ts: Restored checks, not to display full-text link in production environment - reverted commit fa216cbc07. 2024-02-01 21:35:36 +02:00
Konstantina Galouni 6b5b7df8be [develop | DONE | DELETED]: Deleted legacy unused files mailPrefs.component.html, mailPrefs.component.ts, mailPrefs.module.ts, htmlProjectReport.component.ts, htmlProjectReport.module.ts. 2024-01-29 19:55:26 +02:00
Konstantina Galouni 5a23f6437d [develop | DONE | FIXED]: project.component.ts: In method "closeLoading()" added setTimeout of 300ms - too fast open and close of the loading modal and it couldn't close eventually. 2024-01-29 19:53:11 +02:00
Konstantina Galouni fa216cbc07 [develop | DONE | CHANGED]: availableOn.component.ts: Removed environment check from fulltext links (display them also in production). 2024-01-25 12:33:50 +02:00
Konstantina Galouni 1e41013e06 [develop | DONE | CHANGED]: showSubjects.components.ts: Removed subjects by Vocabulary for BETA & DEV environments & Updated how EOSC subjects are displayed | resultLanding.component: Added get method "hasSubjects" and updated checks to show subjects depending on environment. 2024-01-25 12:31:14 +02:00