Commit Graph

2703 Commits

Author SHA1 Message Date
Konstantina Galouni afcbb07a24 [develop-filters | DONE | ADDED]: Added structures for grouping and ordering search filters.
1. searchFields.base.ts: Added RESULT_FIELDS_ORDERED and PROJECT_FIELDS_ORDERED.
2. searchResearchResults.component.ts: Set and initialize orderedFields and orderedFilters and pass them to <new-search-page>.
3. newSearchPage.component.html: If there are orderedFilters, show filters from this structure.
2023-12-14 18:23:28 +02:00
Konstantina Galouni d9c7d35e57 [develop-filters | DONE | CHANGED]: Get 7 top values for each filter (minRef) and on view all click, query for top 100 for a specific filter.
1. searchResearchResults.service.ts & searchProjects.service.ts & searchOrganizations.service.ts & searchDataproviders.service.ts: In advanced search method added parameter minRef: boolean = false and if true, add in request url "&minRef=true" to query for top 7 values.
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: By default query filters with minRef=true | Added method "filterRequestedAll()" to be called on view all click of a filter.
3. searchHelperClasses.class.ts: Added in Filter public countAllValues?: number = -1; (-1: all filters not yet requested, 0: request failed) and public isOpen?: boolean = false; (checks if view all filter is clicked).
4. searchFilter.module.ts: Imported LoadingModule.
5. searchFilter.component.ts & searchFilter.component.html: Updated process on view all click.
6. newSearchPage.component.ts: Added method "filterToggled()".
7. newSearchPage.component.html: Bind filterToggled method to <search-filter> output.
2023-12-14 18:14:57 +02:00
Konstantina Galouni 0768248bde [develop | DONE | CHANGED]: refineResults.class.ts: Missing change from pre-previous commit for static filters. 2023-12-14 17:35:53 +02:00
Konstantina Galouni d15ce5522e [develop-filters | DONE | CHANGED]: refineFieldResults.service.ts: In method "getAllRefineFieldResultsByFieldName()", added size=0 in request url. 2023-12-14 17:32:42 +02:00
Konstantina Galouni b0a67be290 [develop-filters | WIP | CHANGED]: Added static refine fields.
1. searchFields.base.ts: Added RESULT_STATIC_FIELDS/ DATASOURCE_STATIC_FIELDS and RESULT_STATIC_FIELD_VALUES/ DATASOURCE_STATIC_FIELD_VALUE and updated in RESULT_FIELDS type to static for resultbestaccessright, and added type and in DATASOURCE_FIELDS added eosctype.
2. staticAutoComplete.component.ts: Added @Input() public fieldValues; and added check not to query for values when static (fieldValues exists).
3. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: Added parameters for static fields in <new-search-page> and initialized them properly.
4. advancedSearchForm.component.html: Added parameter fieldValues to <static-autocomplete>.
5. advancedSearchForm.component.ts: Added method "public getFieldValuesForId(id: string)".
6. newSearchPage.component.html: Added parameter fieldValues to <advanced-search-form> and show static filters view case.
7. newSearchPage.component.ts: Added static filters - initialize them properly and make code for static filters more dynamic.
2023-12-14 17:30:29 +02:00
Konstantina Galouni d587aaefe2 [develop-filters | DONE | CHANGED]: refineResults.class.ts: Removed check includeValue (for unidentified and Undetermined values) from "parse()" method | searchFilter.component.ts: In "ngOnChanges()" method updated check for filtering out filter values - check for unidentified, Undetermined, unknown (lowercase), not available (lowercase) 2023-12-14 14:24:03 +02:00
Konstantina Galouni 01eabb74f3 [develop-filters | DONE | CHANGED]: searchFilter.component.ts: In method "_formatTitle()", remove number of filter values from filter name. 2023-12-14 14:16:46 +02:00
Konstantina Galouni 84bf8cdebe [develop | DONE | FIXED] parsingFunctions.class.ts: Updated urls for eoscSubjects (eoscif guidelines). 2023-12-12 11:59:25 +02:00
Konstantinos Triantafyllou 7b2b3c6cc4 [develop | FIXED | DONE]: Fix copy indicator to clipboard. 2023-12-12 10:10:22 +02:00
argirok 49c0569ff8 [develop | DONE | FIXED] : Claims: fix check about status when there is a direct index insertion job 2023-12-08 14:36:42 +02:00
argirok faf0598e10 [develop | DONE | FIXED] : remove final / from zenodoCommunities url 2023-12-08 14:35:27 +02:00
Konstantina Galouni 9913da1f43 [develop | DONE | FIXED]: refineResults.class.ts: Removed unused import FieldDetails. 2023-12-06 13:53:06 +02:00
Konstantina Galouni 3bda71b818 [develop | DONE | CHANGED]: Added file searchFields.base.ts to be extended by existing SearchFields class (searchFields.ts file) - searchFields.ts will be replaced by custom file if needed in angular.json. 2023-12-06 13:50:11 +02:00
argirok 6daf729374 [develop | DONE | CHANGED] : String utils - urlPrefix add check in case url is null 2023-12-01 17:13:16 +02:00
argirok f537920702 [ DONE | ADDED] String utils - Identifiers: consider valid ORCID the full url, add getRawORCID method 2023-12-01 16:16:25 +02:00
Konstantinos Triantafyllou 5eed3ce431 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-11-30 23:03:46 +02:00
Konstantinos Triantafyllou ab4d715454 [develop]: Result preview add modifier class and hover behaviour. 2023-11-30 23:03:39 +02:00
Konstantina Galouni c7c1aec26e [develop | DONE | CHANGED]: Updated parsing and display for usage counts per data source to show datasource names.
1. resultLandingInfo.ts: Added field datasourceName: string in interface MetricPerDatasource.
2. parsingFunctions.class.ts: In method "parseMeasures()", updated parsing for usage counts per data source (countsPerDatasource) to parse datasourceId and datasourceName from datasource field of response (split by ||).
3. resultLanding.component.html: On display of countsPerDatasource in table, show datasource names.
2023-11-27 18:10:37 +02:00
Konstantina Galouni fa61b8bef4 [develop | DONE | CHANGED]: numbers.component.ts: Added in Numbers field "mergedFundersSize", and on init method call refine query for research products (results), to merge refine queries of research products and projects and set the mergedFundersSize (all funders that have research products, or have >1 project). 2023-11-24 16:59:55 +02:00
Konstantina Galouni 7cd9516493 [develop | DONE | CHANGED]: refineFieldResults.service.ts: In method "getRefineFieldResultsByFieldName()" added in keys "funder", to get (refine query) all funders for research products and projects in autocomplete (advanced) search. 2023-11-24 16:57:35 +02:00
Konstantina Galouni 54e0181560 [develop | DONE | FIXED] numbers.component.ts: Updated method called in refine query to get funders of projects from "getRefineFieldsResultsByEntityName()" to "getAllRefineFieldResultsByFieldName()" to be able to get more than 100 funders each time. 2023-11-24 13:18:22 +02:00
Konstantina Galouni ff34511a9c [develop | DONE | CHANGED]: refineFieldResults.service.ts: Added method "getAllRefineFieldResultsByFieldName()" to get all values of a specific refine field (not just first 100) | In method "getRefineFieldResultsByFieldName()" changed key:string to keys:string[] to be able to define multiple fields to query for all their values - creted helper method "fieldIncludesAnyOfTheKeywords()". 2023-11-24 11:44:23 +02:00
Konstantina Galouni 1f872d2beb [develop | DONE | ADDED]: searchSorting.component.ts: Added sorting options by impact-based indicatos in PRODUCTION as well. 2023-11-23 09:42:38 +02:00
Konstantina Galouni 4155027e87 [develop | DONE | FIXED]: alert.ts: Fixed margins and paddings in buttons of uk-modal-footer. 2023-11-21 12:59:17 +02:00
Konstantinos Triantafyllou 054d7ff51e Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-11-16 11:36:51 +02:00
Konstantinos Triantafyllou 58274c537b [develop | DONE]: Move indicators.less into common assets 2023-11-16 11:36:41 +02:00
argirok 5b0c207150 [develop | DONE | FIXED] : re-add properties for services 2023-11-15 17:39:03 +02:00
argirok f0c37512c3 [develop | DONE | FIXED] : show again enermaps tab in result landing 2023-11-15 17:34:15 +02:00
Konstantina Galouni 51bd7efcbe [develop | DONE | FIXED] entitiesSelection.component.ts: Added faircore4eosc in adminToolsPortalType check to include entities according to the configuration. 2023-11-13 20:22:01 +02:00
argirok 293be5e1d2 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-11-13 13:34:48 +02:00
Konstantina Galouni 7f9117eccb [develop | DONE | CHANGED]: data sources landing: Get and parse number of collected fulltexts from a new stats api.
1. env-properties.ts: Added property pdfStatisticsAPIURL?: string;
2. environment.ts: Added pdfStatisticsAPIURL property in all environments.
3. dataProvider.service.ts: Uncomment method "getCollectedFulltexts()".
4. dataProvider.component.ts: Call method "getCollectedFulltexts()" instead of "getDataProviderAggregationStatus()".
2023-11-10 19:44:15 +02:00
Konstantina Galouni 68c352d3d2 [develop | DONE | CHANGED]: In deposit page, move "Go to repository" button to top, aligned with the title when possible.
1. searchResultsForOrcid.component.html & searchMyOrcidResults.component.html: Removed [promoteWebsiteURL]="true", since this should be true only in deposit cards.
2. searchResultsInDeposit.component.ts: Added @Input() isMobile: boolean = false;
3. searchResultsInDeposit.component.html: Set parameter [isMobile]="isMobile" to <result-preview>.
4. newSearchPage.component.html: Set parameter [isMobile]="mobile" to <deposit-result>.
5. result-preview.component.html: In deposit cards align on the right of the title the "Go to repository" button and in mobile screens show it on the top right of the card.
2023-11-08 22:40:04 +02:00
Konstantina Galouni 32a34d5a12 [develop | DONE | ADDED]: Added parsing and display for usage counts per data source.
1. resultLandingInfo.ts:
   a. Commented out deprecated fields from interface Measure.
   b. Added interface MetricPerDatasource.
   c. Added in interface Measure, countsPerDatasource?: MetricPerDatasource[];
2. parsingFunctions.class.ts: In method "parseMeasures()", added parsing for usage counts per data source (countsPerDatasource).
3. resultLanding.component.html: Display countsPerDatasource in table (metrics tab > usage tab) if there is any.
2023-11-08 16:57:56 +02:00
Konstantina Galouni 0d75307c76 [develop | DONE | CHANGED]: parsingFunctions.class.ts: Remove old schema parsing for impact based indicators (old was A, B, C - new is C1-C5). 2023-11-08 14:12:50 +02:00
Konstantina Galouni 3aff9ee76e [develop | DONE | ADDED] openaireLibrary - environment.ts: Added common properties searchLinkToService, searchLinkToServices, searchLinkToAdvancedServices. 2023-11-07 13:32:05 +02:00
Konstantinos Triantafyllou 06a2ae16ee [develop | DONE]: Set header-height to 0px instead of 0 in layout service 2023-11-03 16:52:52 +02:00
Konstantinos Triantafyllou 87e3c903a8 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-11-02 11:31:09 +02:00
Konstantinos Triantafyllou e38a772bf3 [develop | DONE]: Move manage stakeholders to library 2023-11-02 11:30:59 +02:00
argirok 3e656de39c [develop | WIP] : Properties: add again clientManagementUrl property 2023-11-02 09:19:24 +02:00
argirok 0c0ef48b49 [develop | WIP] : Properties: remove wrong import, add more properties related to admin portal 2023-11-01 17:49:01 +02:00
argirok 59d64b74e7 [develop | WIP] :update common properties - add connect related ones + claims api url 2023-11-01 16:35:46 +02:00
argirok 7399cd9ea6 [develop | WIP] add common properties in library file, delete unused properties 2023-11-01 14:27:54 +02:00
argirok 6ce2b75ee6 [develop | WIP | UPDATED] add common properties in library file, delete unused properties 2023-11-01 14:26:09 +02:00
Konstantinos Triantafyllou 5af67f7385 [develop | FIXED]: Fixed width of indicators page in admin. 2023-10-30 17:58:54 +02:00
Konstantinos Triantafyllou aaf970fae4 Merge pull request 'Update to Angular 16' (#16) from angular-16 into develop
Reviewed-on: #16
2023-10-30 10:57:25 +01:00
Konstantina Galouni 5184ffad19 [angular-16 | DONE | ADDED] env-properties.ts: Added "faircore4eosc" in type Dashboard and type PortalType. 2023-10-30 11:22:20 +02:00
Konstantina Galouni 35b893e05e [angular-16 | DONE | FIXED]: In queries of results by pid, do not include pidtype restriction (some handle pids are resolved by doi regex, but no results returned for pidtype exact "doi"). 2023-10-30 10:53:19 +02:00
Konstantinos Triantafyllou 9af2fac9a0 [angular-16 | DONE | FIXED]: Create group was hidden for curators because of new dynamic types. 2023-10-27 17:49:31 +03:00
Konstantinos Triantafyllou 64e8919925 Merge pull request 'angular-16-community-projects-availableSince' (#15) from angular-16-community-projects-availableSince into angular-16
Reviewed-on: #15
2023-10-26 15:47:34 +02:00
argirok fcc130b530 [angular-16-community-projects-availableSince | DONE | UPDATE] : don't show router link and result actions (for the community projects case where the id is set to '-1') 2023-10-26 16:29:05 +03:00