Commit Graph

458 Commits

Author SHA1 Message Date
Konstantina Galouni 991e05693e [Explore | angular-14]: angular.json: Updated optimization configuration to set "inlineCritical": false. 2022-10-03 16:22:08 +03:00
Alex Martzios 6485ee8cda update submodule 2022-10-03 15:45:12 +03:00
Alex Martzios 47e4543326 homepage: change tablet images' width to 100% 2022-10-03 15:28:44 +03:00
Alex Martzios 44a34c3a7a update submodule 2022-10-03 13:58:16 +03:00
Alex Martzios caae320794 create contact page and menu item entry, add correct admin emails for all environments, update submodules 2022-10-03 13:47:06 +03:00
Konstantinos Triantafyllou be7c535518 Disable critical inline css in server.ts 2022-10-03 12:40:35 +03:00
Konstantinos Triantafyllou d03db02103 Merge from angular 13 2022-09-29 10:49:10 +03:00
Konstantinos Triantafyllou e0e7361b21 Merge from angular-12 2022-09-29 10:48:01 +03:00
Konstantinos Triantafyllou 888c788ac8 Merge from master 2022-09-29 10:46:48 +03:00
Konstantinos Triantafyllou b5fc3c8606 Update library 2022-09-29 10:43:12 +03:00
Alex Martzios 9093e0932b fix for duplicating userMenuItems when clicking "User Information" 2022-09-28 17:13:30 +03:00
Alex Martzios 91b482e51e Update recaptcha to version 10.0.0 2022-09-26 16:59:06 +03:00
Alex Martzios b220fe81c3 update submodules to v14, add .angular folder to gitignore and after-build-clean, add pathMatch: 'full' to routing configuration 2022-09-23 16:04:13 +03:00
Alex Martzios 907b4e9512 update angular express engine to v14 2022-09-23 15:53:16 +03:00
Alex Martzios d0f24a40fd update angular material to v14 2022-09-23 15:52:25 +03:00
Alex Martzios 94a59dc5a6 update angular core and cli to v14 2022-09-23 15:51:21 +03:00
Alex Martzios 5dfa3b41c4 update submodules to v13 and remove renderModuleFactory from main.server.ts 2022-09-23 15:47:29 +03:00
Alex Martzios d9061a3df9 update angular express engine to v13 2022-09-23 15:44:16 +03:00
Alex Martzios 03904006a9 update angular material to v13 2022-09-23 15:43:12 +03:00
Alex Martzios c7e1d8bad5 update angular core and cli to v13 2022-09-23 15:42:09 +03:00
Alex Martzios e12935d8e4 update submodules to v12 2022-09-23 15:38:24 +03:00
Alex Martzios 0d1f48a9c6 update angular express engine to v12 2022-09-23 15:35:19 +03:00
Alex Martzios 2c0b650585 update angular material to v12 2022-09-23 15:34:05 +03:00
Alex Martzios 0e1236de9d update angular core and cli to v12 2022-09-23 15:31:38 +03:00
Alex Martzios c7a49ddac2 update submodule before angular upgrade 2022-09-23 15:29:33 +03:00
Konstantina Galouni b3001a7bfe [Library | new-theme]: dataProvider.component.ts & project.component.ts & resultLanding.component.ts: Small update on previous commit - Call detectChanges() method, after content is returned and processed, right after showLoading = false command. 2022-09-21 15:39:57 +03:00
Alex Martzios 956f0deb40 update submodule 2022-09-21 13:32:31 +03:00
Konstantina Galouni 13ad5f11d9 [Library | new-theme]: [Bug fix] navigationBar.component.html: Toggle button was hidden@l, but menu was hidden@m. - removed uk-hidden@m from #canvas id="tm-mobile", to be visible in small and medium screens. 2022-09-21 01:47:21 +03:00
Konstantina Galouni 89b51d9838 [Explore | Library | new-theme]: resources.service.ts & menu.ts & navigationBar.component.ts & navigationBar.component.html & app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead. 2022-09-20 18:00:20 +03:00
Konstantina Galouni a194132dfe [Library | new-theme]: parsingFunctions.class.ts: [Bug fix] Stringify each downloadName and collectedFromName. 2022-09-16 16:12:58 +03:00
Konstantina Galouni 39c1997967 [Library | new-theme]: Fixes in parsing of "eoscifguidelines" | Added EOSC Subject ("eoscifguidelines") in RESULT ADVANCED FIELDS (not in production for now).
1. resultLanding.service.ts: [Bug fix] Spelling error in parsing of "eoscifguidelines" field.
2. showSubjects.component.ts: [Bug fix] Do not show "EOSC" label in classified subjects, when no "eoscSubjects" parsed.
3. searchFields.ts: In RESULT_ADVANCED_FIELDS added "eoscifguidelines" | Added method "getResultAdvancedFields()", which does not include "eoscifguidelines" in "RESULT_ADVANCED_FIELDS" when environment == "production".
4. searchAll.component.ts & searchResearchResults.component.ts: Get searchFields.RESULT_ADVANCED_FIELDS from "getResultAdvancedFields()".
2022-09-09 00:46:44 +03:00
Konstantina Galouni f9cb73147c [Library | new-theme]: Do not show provenance value if no provenance vocabulary or if no label for this provenance value.
1. fundedBy.component.ts: Added local field "provenancesCalculated" to check for each provenance label only once and do not show provenance if no vocabulary or if not label for this value.
2. result-preview.component.ts: Do not show provenance if no vocabulary or if no label for this value.
3. HelperFunctions.class.ts: In method "getVocabularyLabel()" added parameter "returnIfNotFound: boolean = true" to return null if no vocabulary or if no label for this value, when it is false.
2022-09-09 00:35:11 +03:00
Konstantina Galouni 909a5a02eb [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
Konstantina Galouni 1c39dfdc3a [Library | new-theme]: #7963 - Parse field "eoscifguidelines" in result landing page to get eosc subjects.
1. resultLanding.service.ts: Added in parsing field "eoscifgiudelines" (resultLandingInfo.eoscSubjects).
2. parsingFunctions.class.ts: Added method "parseEoscSubjects()" | Method "checkAndAddEoscSubject()" updated - do not add eosc subjects in classifiedSubjects.
3. resultLanding.component.html: In <showSubjects> added [eoscSubjects]="resultLandingInfo.eoscSubjects".
4. showSubjects.component.ts: Added @Input() eoscSubjects: any[]; and show them as classifiedSubjects too.
2022-08-30 11:35:42 +03:00
Alex Martzios 96e80f6e82 update submodule 2022-08-29 16:18:13 +03:00
Alex Martzios 49e89a06a7 remove SharedModule and use library's instead, update submodules 2022-08-29 14:04:43 +03:00
Konstantina Galouni ed502e6f34 [Library | new-theme]: resultLanding.component.ts: [Bug fix] Added check if "resultLandingInfo.hostedBy_collectedFrom" is initialized | dropdown-filter.component.ts: [Bug fix] In method "isOpen()" added check if in client side. 2022-08-09 12:31:57 +03:00
Konstantina Galouni aa1175151f [Library | new-theme]: timeout-interceptor.service.ts: Increased server and client timeout time when environment != production. 2022-08-03 18:30:25 +03:00
Konstantina Galouni 53f6eb465c [Explore | Library | new-theme]: Added more refine filters in Repositories, Journals, Registries pages | Search & Datasource landing: Show not compatible datasources | Result Landing: get relations names by relationsVocabulary (dnet:relation_relClass.json).
1. env-properties.ts & environments/: Removed old properties searchLinkToEntityRegistriesDataProvidersTable and searchLinkToJournalsTable.
2. fetchDataproviders.class.ts & searchDataproviders.service.ts: Removed old unused methods related to subjects/ tables/ csv.
3. searchFields.ts: Added more refine filters in Repositories, Journals, Registries pages (COMPATIBLE_DATAPROVIDER_FIELDS, ENTITY_REGISTRIES_FIELDS, JOURNAL_FIELDS).
4. result-preview.component.ts: Added field @Input() deposit: boolean = false;
5. result-preview.component.html:
   a. Added link to landing page even for not compatible datasources.
   b. Added class "uk-label-danger" when compatibility = "not available" only when deposit=true.
6. searchResultsInDeposit.component.html: In <result-preview> added parameter deposit="true".
7. dataProvider.component.html:
   a. Added class "uk-label-danger" when compatibility = "not available".
   b. Show custom "Not yet registered" compatibility label when compatibility = "not available".
8. ISVocabularies.service.ts: Added methods for getting relationsVocabulary (dnet:relation_relClass.json).
9. resultLanding.service.ts & parsingFunctions.class.ts: When parsing relations, get relationName from relationsVocabulary.
10. resultLanding.component.ts: Get relationsVocabulary and pass it to "getResultLandingInfo()".
11. orcid-work.component.ts: When calling "getResultLandingInfo()", added null parameter for relationsVocabulary.
12. configuration.service.ts: [Bug fix] Added more checks in method "isPageEnabledByStateAsync()".
2022-08-03 18:21:14 +03:00
Konstantina Galouni fb4d6cbf05 [Explore | new-theme]: package.json: In dependencies, set uikit to 3.12.0 | Updated submodules. 2022-08-03 11:33:09 +03:00
Alex Martzios 9f51ef56bd update submodule 2022-08-02 16:53:15 +03:00
Alex Martzios f8feed0513 update submodule 2022-08-02 16:49:23 +03:00
Alex Martzios a2dd7a2864 update submodule 2022-08-02 15:42:45 +03:00
Alex Martzios 49c88f95ed update submodules 2022-08-02 14:55:44 +03:00
Alex Martzios efb297202f add z-index for tablet asset in homepage slider section 2022-08-01 17:23:07 +03:00
Alex Martzios a4d79e9407 update submodules 2022-07-29 12:24:29 +03:00
Alex Martzios c2aff4902e change homepage tablet asset 2022-07-29 09:30:13 +03:00
Alex Martzios e06cb59799 change tablet images for homepage slider section, add sdg/fos pages in sitemap 2022-07-22 12:26:57 +03:00
Alex Martzios 8f12fe89c4 progress on sliders' parallax - todo changes 2022-07-20 16:32:33 +03:00
Konstantinos Triantafyllou 8545a1cd7f Home: Change links on did you know section base on mocks and uk-button-text 2022-07-19 00:48:27 +03:00
Konstantinos Triantafyllou 1d16f6f651 Rename all css files to less. Import less from library instead of css 2022-07-18 18:59:32 +03:00
Konstantina Galouni 7b29884305 [Library | new-theme]: Organizations: Use openorgs identifier when available | In social sharing button and modal (landing) use OpenaireEntities.
1. organization.service.ts & searchOrganizations.service.ts: When "objIdentifier" starts with "openorgs____", set canonicalId and id to openorgs id.
2. dataProvider.component & organization.component & project.component: In button and modal for social media sharing, use name of entity by OpenaireEntities.
2022-07-12 13:20:28 +03:00
Konstantinos Triantafyllou b781a9973b Update libraries and change dev claims property to scooby 2022-07-05 17:49:01 +03:00
Konstantinos Triantafyllou 678429e740 Set up less theme 2022-06-27 12:46:08 +03:00
Konstantina Galouni eb7f4ebf55 [Library | new-theme]: Sorted Advanced filters alphabetically | Added "pid" in advanced filters for Datasource | Organization lannding: projects tab: Added number of selected values in funder filter.
1. projects-in-modal.component.ts: Added the missing number of selected values next to the filter name - on updateFilters() method, update filter.countSelectedValues.
2. searchFields.ts:
   a. Added pid in  DATASOURCE_ADVANCED_FIELDS.
   b. Added method "sortFieldsByName()" to sort fields by name and leave "q" filter (Any field) first.
3. searchAll.component.ts & searchDataProviders.component.ts & searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts: Added "this.searchFields.sortFieldsByName(this.fieldIds, this.fieldIdsMap);" to sort advanced fields alphabetically.
2022-06-23 17:30:45 +03:00
Alex Martzios 527ed03726 remove explore-assets/deposit folder and update submodules 2022-06-22 15:36:36 +03:00
Alex Martzios 9f01855797 remove <br> from home and SDGs page, fix PiwikService error 2022-06-22 14:53:56 +03:00
Alex Martzios dc898d673d add piwik & SEO services for SDGs and FOS pages 2022-06-21 14:27:41 +03:00
Alex Martzios 429ad98246 add metadata for SDGs and FOS pages 2022-06-21 14:08:21 +03:00
Konstantina Galouni fc317468c0 [Library | new-theme]:
1. orcid.service.ts: [Bug fix] In method "getOrcidWorks()", updated response type from <any[]> to <any> --> "bulk" object with an array inside is returned.
2. orcid-work.component.ts: [Bug fix] In method "getOrcidWorks()", parsing of bulk works fixed to not have problem when null response or error object inside bulk is returned.
2022-06-20 16:55:05 +03:00
Konstantina Galouni 539a79722f [Library | new-theme]: Bug fixes in orcid (when work was deleted from ORCID ui, problem in "View orcid work" button & on grant (when not granting, but click on logout, success notification was appearing) | Deleted unused code.
1. resultLanding.component.ts & resultLanding.service.ts: Deleted code related to Open Citations (unused and deprecated).
2. myOrcidLinks.component.ts & orcid-work.component.ts: [Bug fix] On method "openGrantWindow()", condition changed to show success notification if (ev.isTrusted && ev.origin == location.origin && ev.data == 'success') - notification was appearing on logout.
3. orcid-work.component.ts:
   a. In #workModal set large="true".
   b. [Bug fix] In method "getPutCode()", called in "View orcid work" button, added check and warning notification if response is null - used to open empty modal.
   c. [Bug fix] In handleError() method, messages fixed -- used to show ...with pids: {{title}}...
4. datasourcesHelper.class.ts: In method "getQueryPrefix()" deleted commented conditional code for the environment.
2022-06-20 15:56:30 +03:00
Alex Martzios 862846c467 update openaireLibrary 2022-06-20 14:12:57 +03:00
Konstantina Galouni 73067ebc6b [Library | Explore | new-theme]: Added a container for modals | Fixes in orcid modal | for journals and registries use common query for beta & prod.
1. app.component.ts: Added <div id="modal-container"></div>.
2. alert.ts: [Bug fix] Updated target container in modal to id #modal-container (get portal specific css and have a generic z-index).
3. datasourcesHelper.class.ts: In method getQueryPrefix(), have a common setting for beta & prod environments.
4. orcid-work.component.ts: In grant modal, removed uk-text-center class and added [overflowBody]=false.
2022-06-20 13:02:23 +03:00
Konstantina Galouni 17735ee3d4 [Library & common-assets | new-theme]: Fixes in landing for offcanvas right sidebar.
1. resultLanding.component.html: Moved offcanvas right sidebar outside grid (problem with upcoming new openaire theme - .less version).
2. landing-utils.css: [Bug fix]: In  .landing .uk-offcanvas .uk-dropdown, set left and right to auto (dropdown shouldn't go out of offcanvas).
2022-06-17 16:20:17 +03:00
Konstantina Galouni bfe9b0e36d [Library | new-theme]: explore-custom.css: Added .landing { --landing-text-primary-color: var(--explore-color); } to override text-primary-color in landing pages. 2022-06-17 15:11:55 +03:00
Konstantina Galouni 0a7bc27860 [Library & common-assets | new-theme]: z-index problems in landing pages & scrolling on page change in tabs and versions modals | Bug fix in projects tab of organizatio landing.
1. landing-utils.css: [Bug fix] z-indexes of uk-dropdown set to 981 (landing only), z-index of #main-tabs-div set to 978, z-index of graph_and_feedback set to 979.
2. showAuthors.component.ts: [Bug fix] Added @Input() isSticky: boolean = false; and when isSticky is true, do not show orcid info & dropdown for authors (z-index problem).
3. resultLanding.component.ts: Added scrolling in "References" and "External Databases" (bioentiites) tabs on page change.
4. resultLanding.component.html: [Bug fix] For the right sidebar, added inner <div class="uk-overflow-auto uk-height-1-1"> inside sticky - z-index problem.
5. result/deletedByInference.component.ts & organization/deletedByInference.component.ts: Added scrolling on page change.
6. projects-in-modal.component.ts:
   a. Added scrolling in "Projects" tab on page change.
   b. Show number of projects and pages always.
   b. [Bug fix] On filterChange(), set page=1.
7. landing-header.component.ts: Added parameter isSticky in <showAuthors>.
8. Added scrolling in "Related Data Sources" tab on page change.
2022-06-16 19:37:31 +03:00
Konstantina Galouni 008d77bb0c [Library | new-theme]: cache-interceptor.service.ts: [Bug fix] Updated urls in cachingRequests to include new refine fields and new ordering. 2022-06-15 14:59:38 +03:00
Konstantina Galouni 0e7e65b0b6 [Library | new-theme]: newSearchPage.component.html: Added in <loading> [ngClass]="'uk-height-medium uk-display-block uk-margin-xlarge-top'", to increase height when only loading is visible. 2022-06-15 13:35:57 +03:00
Konstantina Galouni 27724d081a [Library | new-theme]: showSubjects.component.ts: Bug fixes in subjects.
a. Updated "view all" functionality and how subjects by vocabulary are displayed.
b. Added setTimeout in ngAfterViewInit().
c. Added check in getKeys() if map is defined.
d. Added checks in <modal-alert> for subjects and subjects by vocabulary.
e. Set large="true" in <modal-alert> for subjects by vocabulary.
2022-06-15 13:32:22 +03:00
Konstantina Galouni 63a17cbf41 [common-assets & openaire-theme & Library | new-theme]: Updated class for graph color and moved to openaire.css | z-index fixes in dropdown and in landing pages.
1. dropdown.css: [Bug fix] Added z-index: 1 in uk-dropdown to prevent dropdown from being on top of menu.
2. text.css: Removed classes "text-orcid" and "text-argos" (moved to openaire-theme/css/openaire.css.
3. openaire.css: Removed class "graph" and added "text-graph", "text-orcid", "text-argos".
4. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html & newSearchPage.component.html: Use class "text-graph" instead of "graph" for graph color.
5. landing-utils.css: [Bug fix] Updated z-index of #graph_and_feedback to 980 (previous 979) to be on top of tabs in landing pages | background of #main-tabs-div was set twice.
2022-06-14 17:00:13 +03:00
Konstantina Galouni 0055ba021b [common-assets & openaire-theme | new-theme]: Moved css for class "view-more-less-link" from link.css to utils.css. 2022-06-10 15:08:48 +03:00
Alex Martzios bf2e77d7b9 update openaireLibrary repo 2022-06-10 14:56:43 +03:00
Alex Martzios f15705d6b1 update openaireLibrary repo 2022-06-10 11:17:56 +03:00
Konstantina Galouni a0f081d841 [Library & common-assets | new-theme]: min-width in landing right sidebar | fix in classified subjects display | tooltip for license in download from.
1. landing-utils.css: Added class .landing-right-sidebar-min-width { min-width: 360px; }.
2. resultLanding.component.html: In right sidebar added class "landing-right-sidebar-min-width".
3. showSubjects.component.ts: [Bug fix] Removed class "uk-flex-inline" from keys for loop div - so that each tag goes to a new line.
4. availableOn.component.ts: Added uk-tooltip for accessRight tooltip | On hovering licence, show in tooltip the whole value.
2022-06-09 17:51:58 +03:00
Konstantina Galouni 53591979f7 [Explore & Library & openaire-theme | new-theme]: Updated parsing of classified subjects by using a vocabulary | Added parsing of instance.license in Download from | Added feedback functionality for fos and sdgs in landing | #7509 Parsing both citations and references fields | In "view all/less" links added chervon-right icon with class "view-more-less-link".
1. fos.component.ts & sdg.component.ts: Added method "urlEncodeAndQuote()" to encode and then quote a string.
2. fos.component.html & sdg.component.html:
   a. "Beta" badge was updated to yellow uk-text-large.
   b. Link to the simple search page instead of the advanced and urlEncodeAndQuote the parameter used in url.
3. link.css: Added class "view-more-less-link" to set on ::after "chevron_right" icon (not underlined on hover) - used in "view all/more/less" links.
4. dataProvider.component.html & project.component.html & fundedBy.component.ts & relatedTo.component.ts & showIdentifiers.component.ts & showAuthors.component.ts: In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all".
5. feedback.component.html: Rename wording to be more positive: issues -> feedback, issue -> comment, report -> feedback.
6. feedback.component.ts: Added @Input() preSelectedField: string = ""; and set with it "field" on "addIssue()" (fos/sdg preselected for feedback).
7. availableOn.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. #7833 - Show instance.license information (as link when recognized as url, string otherwise).
8. landing-utils/fos.component.ts & landing-utils/sdg.component.ts:
   a. "Beta" word was updated to yellow uk-text-xsmall.
   b. In "view all/less" links added class "view-more-less-link".
   c. Added feedback functionality: link to feedback form.
9. showSubjects.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. Added "view all" functionality for classified subjects too.
10. resultLanding.component.html:
    a. In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all"
    b. Added feedback functionality: link to feedback form - preselect in feedback form fos/sdg.
11. resultLanding.component.ts:
    a. Added public feedbackPreSelectedField: string = ""; field.
    b. Added method "feedbackClicked()".
    c. [Bug fix] In hasPrimaryInfo() added check for classifiedSubjects.
    d. Renamed getProvenanceVocabularyAndResultLandingInfo() to getVocabulariesAndResultLandingInfo() and call also this._vocabulariesService.getSubjectsVocabulary().
12. parsingFunctions.class.ts:
    a. #7196 - Updated parsing of subjects in method "parseAllSubjects()".
    b. #7833 - In method "parseHostedBy_collectedFrom()", added parsing for "license" field.
13. orcid-work.component.ts: On calling method "this.resultLandingService.getResultLandingInfo()", added null parameter for subject vocabulary.
14. searchFilter.module.ts: Import IconsModule.
15. searchFilter.component.html: Removed +/- form "view all/less" links and added class "view-more-less-link".
16. result-preview.ts: Added "licence?: string" in HostedByCollectedFrom.
17. ISVocabularies.service.ts:
    a. Added "private subjectsVocabulary: BehaviorSubject<any> = new BehaviorSubject<any>(null);" field and methods "getSubjectsVocabulary()", "getSubjectsVocabularyFromService()".
    b. Commented this.clearSubscriptions() from "getProvenanceActionVocabularyFromServiceAsync()".
18. resultLanding.service.ts:
    a. On subjects parsing, use subjectsVocabulary.
    b. #7509- Added if/then/else case for parsing citations (new name: references).
2022-06-09 16:45:39 +03:00
Konstantinos Triantafyllou 58d45c9088 Home: Add searchable at search form. Fos: Create fos options for autocomplete 2022-06-09 16:23:01 +03:00
argirok 7962556b8f remove old properties file, remove metricsAPIURL from properties 2022-06-08 14:47:28 +03:00
Alex Martzios 8eeea3f913 change for SDGs card details 2022-06-07 12:19:35 +03:00
Konstantina Galouni a85c7781f2 [Explore | new-theme]: sdg.component: Use OpenaireEntities.RESULTS in cards. 2022-06-03 13:41:28 +03:00
Konstantina Galouni 1cbe7fd930 [Library | new-theme]: Create common methods to get entity name and entity file name from OpenaireEntities.
1. string-utils.class.ts:
   a. Added method "public static getEntityName(entityType: string, plural: boolean = false): string" to return OpenaireEntities name by entityType.
   b. Added method "public static getEntityFileName(entityType: string): string" to return OpenaireEntities file name by entityType.
2. directLinking.component.ts & dataProvider.component.ts & project.component.ts & resultLanding.component.ts & myOrcidLinks.component.ts & searchResearchResults.component.ts & result-preview.component.ts & search-tab.component.ts: Call StringUtils.getEntityName and StringUtils.getEntityFileName methods instead of checking if/then/else locally.
2022-06-03 13:01:56 +03:00
Konstantinos Triantafyllou 313daed2c9 Make some alignments in breadcrumbs in all pages. Home: On click event in dropdown of quickselections triggers focus in next input. 2022-06-02 17:46:39 +03:00
Alex Martzios 2434ef404d update openaireLibrary repo 2022-06-02 16:11:36 +03:00
Alex Martzios 28fc094785 update openaireLibrary repo 2022-06-02 15:17:45 +03:00
Konstantinos Triantafyllou f8098533aa Home: Stop propagation in dropdown click in order to stay open on inside click 2022-06-01 21:57:00 +03:00
Konstantinos Triantafyllou 11567b2593 Add focus next in home page search and activate dropdown when search is focused 2022-06-01 17:41:28 +03:00
Konstantina Galouni 9bf87f1f74 [Library | new-theme]: parsingFunctions.class.ts: Added method "checkAndAddEoscSubject()" which is called for all subjects (classified or not) and sets eosc subjects when the label is found in "eoscSubjects". 2022-05-31 18:08:05 +03:00
Konstantina Galouni 4fca82fa33 [Library | new-theme]: orcid-work.component.ts & result-preview.component.html: result-preview card, fix bottom for small screens - v2. 2022-05-31 15:37:16 +03:00
Alex Martzios 82111c1012 update submodule 2022-05-31 12:45:43 +03:00
Alex Martzios e13c30aac5 remove duplicate logo and update openaireLibrary repo 2022-05-30 17:57:12 +03:00
Alex Martzios 950c9656d2 update repos 2022-05-30 16:53:59 +03:00
Alex Martzios 46df3681f5 added new logos for homepage slider 2022-05-30 16:53:13 +03:00
Konstantina Galouni 945e2c6fc7 [Library & openaire-theme & Explore | new-theme]: Beta indication in fos & sdgs (search, landing, dedicated pages) | Fixes in offcanvas and search all page for small screens.
1. badge.css: [NEW] Css file for uk-badge added.
2. import.css: Added @import "structure/badge.css";
3. fos.component.html & sdg.component.html: Added beta badge on top left of the title.
4. landing-utils/fos.component.ts & landing-utils/sdg.component.ts: Added [Beta] in title.
5. searchFields.ts: In sdg and fos RESULT_FIELDS, added [Beta] in their names.
6. offcanvas.css: [Bug fix] In rule .offcanvas .uk-offcanvas-bar added "max-width: 100vw", so that offcanvas does not exceed the screen width.
7. searchAll.component.html: Added some classes in <advanced-search-form> and uk-slider to be better displayed in small screens (form within page with some horizontal margins and arrows in slider).
2022-05-30 15:36:33 +03:00
Konstantina Galouni 0b53cea58a [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters.
1. dataProvider.component.ts: [Bug fix] Allow also ?pid url parameter, query accordingly and set canonicalUrl to use it in seoService and scema2jsonld.
2. dataProvider.component.html: Set canonicalUrl into URL of <schema2jsonld> | Use <landing-header> instead of <showTitle>.
3. dataProvider.service.ts: Set url for querying a datasource by pid (if ?pid in landing url param) and parse also the whole record, the objIdentifier and the relcanId.
4. landing-header.component.ts: Added @Input() isSticky: boolean = false; to set less margins when sticky.
5. resultLanding.component.html: Use <landing-header> instead of <showTitle>.
6. resultLanding.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
7. metrics.service.ts: Removed console.log.
8. searchDataproviders.service.ts: Added parsing for relcanId.
9. dataProviderInfo.ts: Added relcanId, objIdentifier, record.
10. result-preview.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
11. string-utils.class.ts: Renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
12. [SITEMAPS] extractUrlsFromSearch.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
13. newSearchPage.component.ts: [Bug fix]
   a. entityType for datasources is "dataprovider".
   b. Added service filter options only when entityType == "service".
2022-05-30 10:39:10 +03:00
Alex Martzios 9406ad8152 add changes for FOS/SDGs url and breadcrumb 2022-05-25 09:08:41 +03:00
Alex Martzios 0a160b4f54 add openaireEntities and update submodule repo 2022-05-23 12:53:06 +03:00
Alex Martzios 74ce69909f uncheck research products categories by default 2022-05-20 12:36:29 +03:00
Konstantina Galouni 131bec9d17 [Library | new-theme]: Improvements & Do not show "Add to ORCID" button in search datasources with pids.
1. dataProvider.component.ts: In method "searchRelatedDatasources()", size can be always 0 (refine query).
2. advancedSearchForm.component.html: [Bug fix] Make all the button line clickable and functional in advanced search form.
3. result-preview.component.ts: Added get method "isResultType()" which checks if result.resultType is result, publication, dataset, software, other.
4. result-preview.component.html: [Bug fix] Call <orcid-work> (add/remove from ORCID buttons) only for results - check for identifiers is not enough, now datasources also have pids.
2022-05-19 19:08:04 +03:00
Alex Martzios a156e359f4 update openaireLibrary 2022-05-19 13:13:21 +03:00
Alex Martzios 29a321c302 redesign tweaks 2022-05-18 14:29:06 +03:00
Konstantina Galouni 40700daf24 [Explore & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. app.component.ts: [Bug fix] First menu item under "Search", set to OpenaireEntities.RESULTS.
2. searchFields.ts: Renamed OpenaireEntities.DATASOURCE to "Data source".
3. addThis.component.ts: [Bug fix] Check for showing warning was missing a not (!).
2022-05-18 12:31:46 +03:00