Commit Graph

1155 Commits

Author SHA1 Message Date
Alex Martzios 4ad31e7b5c Merge 'develop' into 'recommendations-functionality' branch 2024-07-16 12:57:17 +03:00
Konstantina Galouni 403fe375e7 [develop | DONE | ADDED]: Added compact view functionality on search pages.
1. newSearchPage.component.html: Increase left margin of download button | Added button for compact view | In <search-result> added parameter "compactView".
2. newSearchPage.component.html: Added class fields "@Input() hasCompactView: boolean = false;", to show compact button or not and "public compactView: boolean = false;" to show compact or expanded view of each result.
3. searchDownload.component.ts: Changed download <button> to <a> with class "custom-view-button" | Set visuallyHidden to icon.
4. searchResult.component.ts: Added class field "@Input() compactView: boolean = false;".
5. searchResult.component.html: In <result-preview added parameter "compactView".
6. entity-actions.component.ts: Added class field "@Input() compactView: boolean = false;" | When compactView is true, hide action labels - show only icons.
7. result-preview.component.ts: Added class field "@Input() compactView: boolean = false;".
8. result-preview.component.html: When compactView is true, make margins smaller, show 1 line in title, hide funder budget, identifiers, website url, oai-pmh url, description, action oa routes and metrics labels, and added "compactView" parameter in <entity-actions>.
2024-07-09 17:11:55 +03:00
Konstantina Galouni 0bd8667667 [develop | DONE | CHANGED]: dataProviderInfo.ts: Renamed "EOSC Service Catalogue" to "EOSC Resource Hub" | environment.ts: Updated "eoscMarketplaceURL" property. 2024-07-02 00:46:57 +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 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 e463080109 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2024-06-28 11:51:17 +03:00
Konstantinos Triantafyllou 6b2e1c1025 [develop]: Fix import/export indicators tab title wasn't imported bug. 2024-06-28 11:51:09 +03:00
Konstantinos Triantafyllou 1747140063 [develop]: Add new types in portal types. 2024-06-27 15:36:38 +03:00
Konstantina Galouni 5faca0746c [develop | DONE | CHANGED]: dataProviderInfo.ts & organizationInfo.ts: Mark some fields as deprecated (not used anymore). 2024-06-20 15:28:22 +03:00
Alex Martzios 623debc846 [recommendations-functionality | DONE | CHANGED] move DareLAB APIs to environment properties 2024-06-20 14:14:13 +03:00
argirok 1b7179207d [develop | DONE | FIXED ] fix checks for deposit pages in explore 2024-06-13 10:57:19 +03:00
argirok beddd67d34 [pluginsFunctionality | DONE | CHANGED] clean up logs 2024-06-10 09:15:19 +03:00
argirok 4fffa9f06c Merge remote-tracking branch 'origin/develop' into plugins-functionality
# Conflicts:
#	utils/properties/environments/environment.ts
2024-06-10 09:11:08 +03:00
argirok d0adf442db [pluginsFunctionality | DONE | CHANGED] Deposit add page-enabled check to show links only if page is enabled, updates on the list of zenodo communities that contains master 2024-06-10 09:08:32 +03:00
Konstantina Galouni ca6f1fd751 [develop | DONE | FIXED]: result-preview.component.html: Added check, not to show acronym & title when they are the same. 2024-06-04 11:48:54 +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 f8186cb2ea [develop]: Fix check in belongsTo class. 2024-06-03 15:59:25 +03:00
Konstantinos Triantafyllou 2d9141d5c1 [master]: Update development monitor service. 2024-06-03 13:28:28 +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 ead1c8f903 Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-05-30 14:47:11 +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 43990dc582 [develop | DONE | FIXED]: [BUG FIX] showAuthors.component.ts: Remove non existing field from the condition. 2024-05-23 18:16:07 +03:00
Konstantina Galouni 632d11c82c [develop | DONE | FIXED]: showAuthors.component.ts: On destroy of component, delete all elements with "orcid-dropdown" class from "modal-container". 2024-05-22 16:50:58 +03:00
argirok 79b723e75c [develop | DONE | ADDED ] add coins icon 2024-05-22 14:40:42 +03:00
argirok e7bbe7a359 [plugins-functionality | DONE | ADDED ] add and delete custom plugins, edit plugin in distinct route, add prompt to go back to plugins list 2024-05-22 11:09:18 +03:00
Konstantina Galouni 633f3250ac Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-05-21 13:10:36 +03:00
Konstantina Galouni 8bcafd3026 [develop | DONE | FIXED]: smooth-scroll.ts: Accidental error by mistyping. 2024-05-20 15:24:04 +03:00
Konstantina Galouni f595ec5035 [develop | WIP | ADDED]: [DEVELOPMENT ONLY] Added level4 in browse Fields of Science (FoS)
1. smooth-scroll.ts: Get behavior from current navigation > extras > state.
2. fos.component: Display level 4 FoS and handle url fragments and page scrolling accordingly.
2024-05-20 15:04:56 +03:00
Alex Martzios e80df9f3b0 [recommendations-functionality | WIP] resultLanding page: add recommendations tab, 'back' button, recommendations SVG icon as code - fc4eos only 2024-05-16 10:14:42 +03:00
argirok 01554f58f5 [pluginsFunctionality | DONE | CHANGED] remove cache from plugins, configuration and helper services 2024-05-09 10:18:20 +03:00
Konstantinos Triantafyllou 6e96974364 Revert transition disable function 2024-05-01 15:59:48 +03:00
Konstantinos Triantafyllou b41357c4b8 [develop]: Add compose mail for develop personal-info 2024-04-30 17:09:23 +03:00
Konstantina Galouni aedc2e1f6f Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-04-23 16:59:13 +03:00
Konstantina Galouni 2cd8059794 [develop | WIP | FIXED]: showAuthors.component.ts: In uk-dropdown set [attr.container]="'#modal-container'" to always be on top of every other part of the page. 2024-04-23 16:58:48 +03:00
Konstantina Galouni 353ff67ea5 Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-04-23 16:03:00 +03:00
Konstantina Galouni e74dc1b58f [develop | DONE | FIXED]: showAuthors.component.ts: In uk-dropdown set "pos: bottom-right" and [attr.container]="modal ? '#modal-container' : false" - copy to clipboard is not fully functional. 2024-04-23 16:01:47 +03:00
Konstantina Galouni 22d0498f8a Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-04-22 17:19:46 +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
argirok 678908df5f Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-04-19 12:41:05 +03:00
argirok 68125b3577 [develop | DONE | CHANGED] Claims: keep both shortname and funderName, in cards show fundername. For unidentified, hide code and link 2024-04-19 12:09:00 +03:00
Konstantina Galouni 5f8988eac1 Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-04-16 16:19:21 +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 1613916dfd [on-push-strategy | DONE | CHANGED]: result-preview.component.ts: Set changeDetection: ChangeDetectionStrategy.OnPush | searchResult.component.ts & result-preview.component.html: Redraw html when needed with onPush strategy. 2024-04-16 10:23:07 +03:00
Konstantina Galouni c219c8370b [develop | DONE | REVERTED]: searchResult.component.ts & result-preview.component.html & result-preview.component.ts: Reverted changes regarding changeDetection: ChangeDetectionStrategy.OnPush - should be first introduced in another branch. 2024-04-16 10:07:31 +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
Alex Martzios 9b04260a60 [develop | DONE | FIXED] showAuthors: fix z-index bug for ocrid dropdown inside modal 2024-04-15 12:09:35 +03:00