Commit Graph

680 Commits

Author SHA1 Message Date
Konstantina Galouni e0e319119f [Library | explore-redesign]: In small screens (mobile) open full screen modal when viewing all authors or all identifiers.
1. showAuthors.module.ts: Imported FullScreenModalModule.
2. showAuthors.component.ts & showIdentifiers.component.ts: Added @Input() isMobile: boolean = false; | Added <fs-modal> for view all authors, to trigger it when isMobile.
3. landing-header.component.ts: Added @Input() isMobile: boolean = false; | Pass input param isMobile to <showAuthors>.
4. resultLanding.component.html: Pass input param isMobile to <showSubjects>, <showIdentifiers>, <landing-header>.
2023-02-22 23:13:46 +02:00
Konstantina Galouni e93022c7dd [Library | explore-redesign]: Mobile redesign for organization landing complete and functional.
1. loadingModal.module.ts: Imported LoadingModule.
2. loading.component.ts:
   a. [Bug fix] loading icon (spinner) was not visible.
   b. Added inputs title: string, @Input() isMobile: boolean = false, @Input() classTitle: string = "uk-background-primary uk-light".
   c. Added html for small screens (mobile) when isMobile.
3. search-tab.component.ts: Added @Input() public isMobile: boolean = false and [class.uk-flex-column]="isMobile" to not show title and view all link in the same row when isMobile.
4. organization.module.ts: Imported FullScreenModalModule.
5. organization.component.ts & organization.component.html: Mobile redesign complete and functional.
2023-02-22 00:09:12 +02:00
Alex Martzios 94ddb1f017 update submodule 2023-02-21 19:13:31 +02:00
Konstantina Galouni a7e63f05ae [Library | explore-redesign]: Mobile redesign minor fixes for actions icons.
1. availableOn.component.ts: Make "arrow_right" and access right icons bigger in for mobile.
2. resultLanding.component.html: Set same ratio in all actions icons.
3. orcid-work.component.ts: Add margin small (not xsmall) when isMobile and landing.
2023-02-21 17:07:24 +02:00
Konstantina Galouni 4235621315 [Library | explore-redesign]: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions) and their contents.
1. availableOn.component.ts: Mobile redesign - open in full screen modal instead of drop | icons updated.
2. fos.component.ts: In mobile show {{title}} instead of hardcoded title.
3. resultLandingUtils.module.ts: Imported FullScreenModalModule.
4. deletedByInference.component.ts: Removed class "uk-list-divider" for <result-preview> - after redesign each result has its own bottom border.
5. orcid.module.ts: Imported FullScreenModalModule.
6. orcid-work.component.ts: Mobile redesign - Added full screen modals propagationFsModal and grantFsModal.
7. resultLanding.component.ts: Added citeFsModal, addThisFsModal, alertModalDeletedByInferenceFS and property public mobileContent: "info" | "metrics" | "actions" = "info".
8. resultLanding.component.html: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions).
2023-02-21 16:10:21 +02:00
Alex Martzios 08bc9741b8 update submodule 2023-02-21 15:06:49 +02:00
Alex Martzios 1dc6f9b1a4 update submodule 2023-02-20 19:29:39 +02:00
Konstantina Galouni b347ea300b [Library | explore-redesign]: Result landing redesign for small screens (mobile) - main info & tabs of main info.
1. fos.component.ts & sdg.component.ts: Added Beta badge and "View all" link.
2. fundedBy.component.ts: Added @Input isMobile and relative checks in html | Updated how projects appear in mobile | Added ng-template for #funder and #dropInfo.
3. relatedTo.component.ts: Added @Input isMobile and relative checks in html | Added uk-margin-small-bottom between communities in mobile.
4. showSubjects.component.ts:
   a. Added @Input isMobile and relative checks in html.
   b. Added @Input() viewAllSubjects: boolean = false, @Input() viewAllClassifiedSubjects: boolean = false, @Output() viewAllClicked  = new EventEmitter(); and methods "viewAllSubjectsClicked()", "viewAllSubjectsByVocabularyClicked()" to show subjects properly in mobile.
5. full-screen-modal.component.ts: Added method "backClicked()" and field public stayOpenInBack: boolean = false.
6. resultLanding.module.ts: Imported FullScreenModalModule.
7. resultLanding.component.ts & resultLanding.component.html: Redesign for small screens (mobile) for main info and its tabs (Summary, References, etc..).
2023-02-20 17:56:02 +02:00
Alex Martzios 35d59d4c4c update submodule 2023-02-20 16:34:25 +02:00
Konstantina Galouni 6199afde33 [Explore & Library | explore-redesign]: searchResearchResults.service.ts: [Bug fix] Fix parsing of hostedBy_collectedFrom (download from/source) - initialize, add journal and sort outside the loop. 2023-02-18 03:44:30 +02:00
Alex Martzios ed4edc1b9f update submodule 2023-02-17 19:08:52 +02:00
Alex Martzios 2c759d2f15 update submodules 2023-02-16 13:00:18 +02:00
Konstantina Galouni d4b9d4954e [Explore & Library | explore-redesign]: First update for direct linking according to redesign.
1. claimContextSearchForm.component.ts & claimProjectSearchForm.component.ts & claimResultSearchForm.component.ts: Added "@Input() public centerAlign: boolean = false".
2. claimContextSearchForm.component.html & claimProjectSearchForm.component.html & claimResultSearchForm.component.html: align search form to the center if centerAlign is true (in direct linking).
3. linkingGeneric.component.ts:
   a. Scroll to top smoothly when changing step.
   b. Added method "getEntityName()" to resolve entity name from entity type.
4. linkingGeneric.component.html: Redesign in direct linking:
   a. Hidden stepper.
   b. Title before search form
   c. Back button instead of breadcrumb.
   d. Search form aligned to the center.
   e. In basket, no tabs, but source on top of link source to.
   f. Button to Step 3 renamed to "Summarise".
5. HelperFunctions.class.ts: In methods "scroll()" and "scrollTo()" added parameter "smooth: boolean = false" for smooth scroll.
6. tsconfig.json: Commented "angularCompilerOptions": { "strictTemplates": true}.
2023-02-15 23:56:16 +02:00
Alex Martzios c1bb343097 add strictTemplates: true option in angularCompilerOptions (VS Code needs this for proper angular-language features to work), update submodules 2023-02-13 15:52:22 +02:00
Alex Martzios cbf1a5c6d6 update submodule 2023-02-08 11:43:59 +02:00
Alex Martzios 1389b9d934 add new property for BIP charts API, update submodules 2023-02-08 11:21:49 +02:00
Alex Martzios 0623defdb6 start on result landing mobile redesign, update submodules 2023-01-24 15:33:37 +02:00
Alex Martzios d2bfe2560c update submodules 2023-01-23 16:19:14 +02:00
Konstantina Galouni a1f9e47874 [Explore] Updating libraries... 2023-01-18 23:15:17 +02:00
Alex Martzios 2d8de7b5a5 update submodules 2023-01-13 15:57:40 +02:00
Alex Martzios b5bf06b7f2 tweaks for subnav styling, update submodules 2023-01-13 08:32:47 +02:00
Konstantina Galouni 0377810717 [Explore | master & Library | angular-14]: composer.ts: [Bug fix] Add parenthesis around ternary operator in method composeEmailForExplore() - empty or wrong body | contact-us.component.html: Added #captchaElem in <re-captcha> | contact-us.component.ts: Added ViewChild for captchaElem and added method "resetRecaptcha()" | contact.component.html: Added #contactUs in <contact-us> | contact.component.ts: Added ViewChild for contactUs and call contactUsComponent.resetRecaptcha() on reset method. 2023-01-10 02:25:03 +02:00
Alex Martzios a02255548d update submodules 2023-01-09 18:35:48 +02:00
Alex Martzios 3a3a503c70 update submodules 2022-12-20 15:27:42 +02:00
Konstantina Galouni d715e0a281 [Library | angular-14]: loading.component.ts: [Bug fix] In ngOnDestory changed to document.getElementById("modal-container"). 2022-12-16 17:21:37 +02:00
Konstantina Galouni 448a67b9fb [Library | angular-14 & Explore | master]: Updated request to Crossref for bulk uploaded DOIs in linking | Added link for more information to joomla article (Canada's request).
1. sdg.component.html: Added link for more information to joomla article (Canada's request).
2. timeout-interceptor.service.ts: Excluded from timeout interceptor  properties.searchCrossrefAPIURL and properties.searchDataciteAPIURL.
3. searchDatacite.service.ts: In method "getDataciteResultByDOI()", for requests coming from file uploaded in linking added timeout to 20 sec, and for other requests timeout similar to the interceptor (6 sec for production, 12 otherwise).
4. searchCrossref.service.ts: In method "searchCrossrefByDOIs()", added timeout similar to the interceptor (6 sec for production, 12 otherwise) | Added method "searchCrossrefByDOI()", called for requests coming from file uploaded in linking.
5. bulkClaim.component.ts: Call new API method for Crossref requests for DOIs | Fixed tooltip to appear.
2022-12-16 09:59:48 +02:00
Konstantina Galouni e04f0af2e2 [Explore]: home.module.ts: Removed arrow_right icon from iconsService.registerIcons and from import. 2022-12-13 11:07:16 +02:00
Konstantina Galouni 44ee139a1a [Library | angular-14]: resultLanding.component.ts: [SEO] Added more keywords in "title_authors_words" (method checkIfAllowed()), to not index records containing them in the title or authors. 2022-12-05 12:36:53 +02:00
Konstantina Galouni 200c84044a Updating common-assets 2022-11-30 18:01:45 +02:00
Konstantina Galouni 7bc1cb7f24 [Explore | angular-14] environment.ts: Property claimsAPIURL updated in development. 2022-11-30 17:27:26 +02:00
Konstantina Galouni 446f0df950 Updating libraries... 2022-11-29 23:53:07 +02:00
Konstantina Galouni 42d002f6ff [Explore | angular-14]: environment.ts: Updated loginUrl, userInfoUrl, logoutUrl properties (19080 port). 2022-11-29 23:51:59 +02:00
Alex Martzios a9733427e8 reintroduce numbersComponent in homepage, update submodules 2022-11-08 14:32:44 +02:00
Konstantina Galouni 4b6a383154 [Library]: #7883 - searchResearchResults.service.ts: Added parsing for C1-C5 classes | result-preview.component.less: Added css rules for C1-C5 classes in <measure> (influence/popularity) 2022-11-07 17:14:01 +02:00
Konstantina Galouni 75fdfe1491 Merged origin/master into angular-14 branch 2022-11-07 13:10:52 +02:00
Konstantina Galouni cb7de49f89 Updated libraries 2022-11-07 13:07:44 +02:00
Konstantina Galouni 93abf84ee4 Updated libraries 2022-11-07 13:06:01 +02:00
Alex Martzios b01e3f8ca8 create fos/sdg components to call library components in order to use extra parameters, update submodules 2022-11-03 16:05:26 +02:00
Alex Martzios 89ace01826 remove fos/sdg assets, vocabulary and components from explore project, update submodules 2022-11-03 12:22:18 +02:00
Alex Martzios 9d755ff1db tweak options for footer observer 2022-11-01 13:36:36 +02:00
Alex Martzios ab302e040f remove options from footer observer 2022-11-01 13:27:21 +02:00
Alex Martzios a358686a3d remove help button when reaching footer by scroll, update submodules 2022-11-01 11:29:40 +02:00
Alex Martzios b3ac3b3391 help button: release at the bottom, update submodules 2022-10-31 14:01:13 +02:00
Konstantina Galouni 732e96512d [Library]: timeout-interceptor.service.ts: #8186 - Added properties.claimsAPIURL in TIMEOUT_WHITELIST to exclude claims requests from timeout interceptor. 2022-10-26 13:49:01 +03:00
Konstantina Galouni 578b79b1c2 Merged with origin/master 2022-10-26 00:11:48 +03:00
Konstantina Galouni cbdfada293 Updated libraries 2022-10-25 23:52:56 +03:00
Alex Martzios 4d35658d05 update submodules 2022-10-25 17:22:06 +03:00
Konstantina Galouni e6cfab5646 [Explore]: fos.component.html: Updated doi link of SciNoBo. 2022-10-19 18:57:36 +03:00
Konstantina Galouni 120774c414 [Library]: claimResultSearchForm.component.html & claimProjectSearchForm.component.html & claimContextSearchForm.component.html: Set tooltip=true in search input form. 2022-10-18 15:55:16 +03:00
Alex Martzios 55bd190ec8 FOS page: add horizontal navigation tabs for mobile/tablet 2022-10-18 15:31:37 +03:00
Konstantina Galouni 25a92c827c [Explore & Library]: home.component.html & advancedSearchForm.component.html & claimContextSearchForm.component.html & claimProjectSearchForm.component.html & claimResultSearchForm.component.html: Increased width of search forms and fixed width of each step of stepper input. 2022-10-18 15:28:04 +03:00
Konstantina Galouni 2faf2202fe Merge branch 'master' of code-repo.d4science.org:MaDgIK/explore-services 2022-10-12 16:37:12 +03:00
Konstantinos Triantafyllou 4db4795a04 Change inverse text primary 2022-10-12 16:36:37 +03:00
Konstantina Galouni 285c65e3f2 [Explore]: orcid-work.component.ts: [Bug fix] Added [size]="'small'" input to <loading> | environment.ts: Updated port of orcidAPIURL (standalone service). 2022-10-12 16:36:33 +03:00
Alex Martzios 6380311b1e add fixed contact/help button 2022-10-12 15:31:34 +03:00
Konstantinos Triantafyllou dc1f947d7a Fos: Change search-modifier, make some page alignments and add observer to handle scroll 2022-10-12 12:25:47 +03:00
Alex Martzios 98effe34a0 update FOS page, change to new uoa-admin-tools duffy port 2022-10-10 17:20:51 +03:00
Konstantina Galouni 0c0ba653cc Updating openaireLibrary 2022-10-05 17:59:11 +03:00
Konstantina Galouni a3d560a984 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 16:13:55 +03:00
Konstantina Galouni 3e2e4beeca Merge remote-tracking branch 'origin/angular-12' into angular-13 2022-10-04 16:13:11 +03:00
Konstantina Galouni 92bc0cc3be Merge remote-tracking branch 'origin/master' into angular-12 2022-10-04 16:12:21 +03:00
Konstantina Galouni 0bf674b4c0 [Explore]: home.component.html: For small screens, set style="width: 70%;" for tablet and scrolling images. 2022-10-04 16:11:05 +03:00
Konstantina Galouni e3cd34e44d Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 15:42:50 +03:00
Konstantina Galouni 44d2febceb Merge remote-tracking branch 'origin/angular-12' into angular-13 2022-10-04 15:42:14 +03:00
Konstantina Galouni ccdff2198e Merge remote-tracking branch 'origin/master' into angular-12 2022-10-04 15:41:12 +03:00
Konstantina Galouni fe9275a329 [Explore]: home.component.html: Added margin large left on the scrolling text of black section and gave it more space (3-4 instead of 2-3). 2022-10-04 15:39:17 +03:00
Konstantina Galouni de3adf74d5 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 13:57:02 +03:00
Konstantina Galouni 73726abeca Updating libraries 2022-10-04 13:56:53 +03:00
Konstantina Galouni d68b2f9cc8 Merge remote-tracking branch 'origin/angular-12' into angular-13 2022-10-04 13:55:06 +03:00
Konstantina Galouni 1ac1c4b727 Updating libraries 2022-10-04 13:54:53 +03:00
Konstantina Galouni c756fb2eb5 Merge remote-tracking branch 'origin/master' into angular-12 2022-10-04 13:52:14 +03:00
Konstantina Galouni 61ba030f68 Updating libraries 2022-10-04 13:51:49 +03:00
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
Konstantina Galouni 41b3db27a6 [common-assets & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. addThis.component.ts: [Bug fix] Increased timeout to 4 sec and fix check (sometimes innerText was undefined).
2. searchMyOrcidResults.component.html: [Bug fix] Removed uk-animation-fade from results and added uk-scrollspy.
3. showAuthors.component.ts: [Bug fix] Fixed copy to clipboard - data-clipboard-target was not working because we have multiple clipboards in the same page (reverted code to old way of copying).
4. timeout-interceptor.service.ts: Reverted timeout time for client.
5. utils.css: Added custom css for .orcid-dropdown input (orcid dropdown in authors).
2022-05-17 12:15:15 +03:00
Alex Martzios e4e2c0aeba make graph-section image more responsive 2022-05-17 11:40:21 +03:00
Alex Martzios f00aa33dda lowercase last 's' of SDGs button 2022-05-17 11:20:29 +03:00
Alex Martzios 6b0fe12bca tweak for hero section's input width 2022-05-17 11:17:41 +03:00
Alex Martzios f3c18b7779 revert homepage hero section tweaks 2022-05-17 10:44:26 +03:00
Alex Martzios 1d27a50be3 homepage - hero section tweaks 2022-05-17 09:44:05 +03:00
Konstantina Galouni 3be9891320 [Explore & Library | new-theme]: Updates of paging in claims and orcid links pages | Fixes for server side rendering.
1. fos.component.ts & sdg.component.ts: [Bug fix] Added properties.domain as prefix in request for vocabulary - Network error on server.
2. displayClaims.component.html: Used <results-and-pages> before results and <paging-no-load> after results.
3. searchMyOrcidResults.component.html: After results use <paging-no-load>.
4. displayClaims.module.ts & searchMyOrcidResults.module.ts: Imported NoLoadPaging.
5. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: [Bug fix] Fixed checks in ngAfterContentChecked, not to run on server.
6. dataProvider.service.ts: Added check if there are subjects.
7. orcid-work.component.ts: [Bug fix] On search view, add classes uk-button uk-button-link in orcid actions.
8. newSearchPage.component.ts: Removed console.log.
2022-05-17 00:31:28 +03:00
Alex Martzios b18a4d0229 update openaireLibrary 2022-05-16 14:07:45 +03:00
Konstantinos Triantafyllou 27a1ea7029 Add explore logo as SVG 2022-05-13 15:46:23 +03:00
Alex Martzios 5366439647 content changes based on Natalia's suggestions 2022-05-13 14:52:10 +03:00
Konstantinos Triantafyllou 6fe5f8763f Add errorLink property 2022-05-12 12:25:10 +03:00
Alex Martzios 9bd05cf1e2 update to the correct fos icon file 2022-05-09 16:23:43 +03:00
Konstantina Galouni ae11528b5c [Library | new-theme]: Updated look of message when errorCodes.NONE in <errorMessages>.
1. projects-in-modal.component.ts: Use OpenaireEntities in <errorMessages>.
2. errorMessages.component.ts: Updated look of message when errorCodes.NONE: large, meta text which is center and middle aligned instead of alert.
2022-05-06 12:27:24 +03:00
Konstantinos Triantafyllou 02de663dd2 Add condition for observer to avoid server error 2022-05-06 10:53:02 +03:00
Konstantina Galouni 4a6d39d4e9 [Library & common-assets | new-theme]:
1. landing-utils.css: Deleted .landing-background-default-color (replaced in html with uk-background-default).
2. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Updates and fixes for redesign.
   a. #graph_and_feedback outside margins and checks (invisible when no info).
   b. [Bug fix] margin-top of center column fixed (uk-sticky-placeholder was adding space).
   c. [Bug fix] Show again right sidebar when screen becomes medium+.
   d. [Bug fix] Added grid in labels.
3. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: Added ResizeObserver and updated how graph_offset is calculated | Added graph_height field to set margin-top of center column.
4. project.component.ts: In getFileNameType() use OpenaireEntities.
5. organization.component.ts:
   a. In contentTypes field added type file names from OpenaireEntities
   b. Added field contentFileName.
   c. Added field shouldSticky and observer for "bottom" to stop sticky title & tabs when bottom is in viewport.
6. dataProvider.component.ts: Added field "provenanceUrls" and method "getProvenanceUrls()" to flatten all urls from dataProviderInfo.provenance.
2022-05-05 20:54:01 +03:00
Konstantina Galouni b924e564bb [Library | new-theme]: Use OpenaireEntities in search pages
1. newSearchPage.component.html: In graph and feedback, replace uk-text-muted with uk-text-meta and add uk-margin-large-top.
2. datasourcesHelper.class.ts & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts: Use OpenaireEntities for result type names.
2022-05-05 20:35:08 +03:00
Konstantina Galouni ec2482e6af [Library | new-theme]:
1. searchDataproviders.service.ts & searchProjects.service.ts: Updated parsing of description (like in services for landing, use ParsingFunctions.parseDescription()).
2. searchFields.ts: Added in OpenaireEntities enum values for type names in files.
3. open-aire-jsonld-converter.service.ts:
   a. Updated parsing of description in methods convertProject() and convertDatasource() - use ParsingFunctions.parseDescription().
   b. In convertDatasource() method set "otherUrl" (not push it) in sameAs (on next commit, dataprovider landing sents all provenance urls as array).
4. jsonld-document-serializer.service.ts: [Bug fix] Added check in "serializeDescription()" method.
2022-05-05 20:29:55 +03:00
Alex Martzios 20e1e5d735 homepage tweaks and new images 2022-05-05 15:29:29 +03:00
Alex Martzios 620360fa94 tweak for homepage - scroll animation 2022-05-05 13:45:07 +03:00
Konstantinos Triantafyllou 9734b93f7a Add mutation observer to handle active text in scrolling section 2022-05-05 11:33:01 +03:00
Alex Martzios 47a96f93f4 general tweaks after Aristotelis call 2022-05-05 09:32:39 +03:00
Konstantina Galouni bbfa79c8c9 [Explore & Library & common-assets | new-theme]: No animation in sticky tabs | Tabs stop being sticky when bottom component is in viewport | Updates in powered by bottom message | Updates in statistics in datasource landing.
1. landing-utils.css: Commented transition ease-out in #main-tabs-div.
2. app.component.ts: Added id="bottom" in <bottom>.
3. newSearchPage.component.html: Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
4. metrics.component.ts: Add classes "uk-text-small uk-text-meta" in "Powered by".
5. resultLanding.component.html & project.component.html & dataProvider.component.html:
   a. Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
   b. Add uk-sticky attribute in id="main-tabs-div" only if shouldSticky is true (bottom is not in the viewport).
6. resultLanding.component.ts & project.component.ts & dataProvider.component.ts: Added fields shouldSticky and observer, check in ngAfterViewInit() if bottom is intersecting and kill the observer in ngOnDestroy().
7. statisticsTab.component.ts: Added customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply" in <i-frame>.
8. showAuthors.component.ts: [Bug fix] In "View less authors" make only the link clickable, not the whole row.
2022-05-04 18:09:35 +03:00
Konstantina Galouni 9ab56f02fb [Library | new-theme]: resultLanding.component.html & project.component.html & dataProvider.component.html: Removed old unused html code. 2022-05-04 14:04:28 +03:00
Konstantina Galouni a87fc8da43 [Library | new-theme]: In result, project, dataprovider landing pages use type names from OpenaireEntities.
1. dataProvider.component.html: Use type names from OpenaireEntities | Added missing bottom <helper> and graph_and_feedback_template for small screens.
2. dataProvider.component.ts: Use type names from OpenaireEntities | stickyHeader = false when queryParams change.
3. project.component.html: Use type names from OpenaireEntities.
4. project.component.ts: stickyHeader = false when queryParams change.
5. resultLanding.component.html: Use type names from OpenaireEntities | In  #relation_in_tab, use common component for input instead of mat-select.
6. resultLanding.component.ts:
   a. Use type names from OpenaireEntities.
   b. Added relatedClassFilters: Option[] and use it in input for #relation_in_tab.
   c. stickyHeader = false when queryParams change.
7. resultLanding.module.ts: Imported InputModule.
8. orcid-work.component.ts: Use type names from OpenaireEntities.
9. result-preview.component: Use type names from OpenaireEntities.
2022-05-04 13:57:14 +03:00
Alex Martzios b5815a9bc7 update submodules 2022-05-04 12:48:44 +03:00
Konstantina Galouni acd8db71cc [Library | new-theme]: metrics.component.ts: Round large numbers in metrics | Use type names from OpenaireEntities. 2022-05-03 14:25:09 +03:00
Konstantina Galouni 341cacef2f [Explore & Library | new-theme]: Dataprovider landing page redesign.
1. environments/: Added "fairSharingURL" and "eoscMarketplaceURL".
2. env-properties.ts: Added properties:  fairSharingURL?: string, eoscMarketplaceURL?: string
3. searchFields.ts: In OpenaireEntities added type names also in singular.
4. statisticsTab.component.ts: Use type names from OpenaireEntities.
5. relatedDatasourcesTab.component.ts: Updated paging and align of columns according to mocks | Use type names from OpenaireEntities.
6. dataProvider.module.ts: Added iconsService.registerIcons([graph]).
7. dataProviderInfo.ts:
   	a. "description" type changed from string to string[]
   	b. #7718: Added field provenance: Map<string, {"url": string[]}>;
   	c. export class DataproviderProvenance with "provenance" field with info foreach provenance type.
8. dataProvider.service.ts: Updated parsing for description and originalId (provenanve) (#7718).
9. dataProvider.component: Redesign of datasource landing page.
2022-05-03 14:22:53 +03:00
Konstantina Galouni a949dd191d [Library | new-theme]: project.component.html: Small fixes in project landing redesign. 2022-04-28 16:53:49 +03:00
Konstantina Galouni 115d25e85f [common-assets | new-theme]: landing-utils.css: Removed rules related to .uk-progress (updated and moved to openaire-theme in progress.css). 2022-04-28 16:52:19 +03:00
Konstantina Galouni 1554f2f15f [Library | new-theme]: Redesign of project landing page and small upadates on result landing and common components.
1. addThis.component.ts: Updated social icons of addThis.
2. landing-header.component.ts: Added "uk-text-small" in subtitle.
3. metrics.component.ts: Added method "clickedMetrics()" to set "metricsClicked" | Added metricsClicked and metrics.infos conditions for loading table or iframes | Added customContainerClass and customIframeClass in <i-frame>.
4. project.component: Updated project landing page according to UI redesign.
5. project.module.ts: Import LoadingModule, IconsModule, InputModule.
6. project.service.ts: Use parsingFunctions.parseDescription.
7. projectService.module.ts: iconsService.registerIcons([link, graph]).
8. resultLanding.component.html: Small fixes in ui | Added right arrow on tooltips of actions that are links to other pages | Display of description updated as innerHtml (#7345).
9. orcid-work.component.ts: Added flex=true in <icon>.
10. input.component.ts: Added disabled?: boolean in Option interface and show disabled options as muted.
11. projectInfo.ts: Updated description to be string[] instead of string.
12. iframe.component.ts: Added @Input() customContainerClass: string = ""; and @Input() customIframeClass: string = "";
13. search-tab.component.ts: Updated according to redesign | Update "getEntityName()" to return values from OpenaireEntities.
14. tabs.component.ts: Added "uk-height-1-1" in custom tabs | In #mytabs::before set left:0.
2022-04-28 12:13:06 +03:00
Konstantina Galouni 846c7966f0 [openaire-theme | master]: text.css: Added .text-argos | variables.css: Added variable --argos-color: #17BEBB; 2022-04-28 12:08:39 +03:00
Alex Martzios ddb189303b finish explore homepage - need to check some things with aristotelis and remove old code frm comments 2022-04-27 15:36:42 +03:00
Konstantina Galouni 104256eefb [Explore & Library & Common Assets | new-theme]: Updates related to result landing redesign.
1. fos.component.css: Removed rule "mark.highlighted" and ".custom-bottom-border" updated with variables.
2. feedback.component.html: Updated width of email input for small screens.
3. parsingFunctions.class.ts: In "parseAllSubjects()" method, comment otherSubjects and push them in subjects.
4. showIdentifiers.component.ts: Updated classes in <modal-alert>.
5. showSubjects.component.ts: "Subjects by Vocabulary" and "Subjects" separated & view more functionality added in "Subjects".
6. resultLanding.component:
	a. Added button and modal for <addThis> (share in social media).
	b. View more functionality for related organizations.
	c. Graph and feedback section sticky.
	d. Added checks for summary tab and right sidebar.
	e. In small screens made right sidebar offcanvas.
7. resultLanding.module.ts: Updated iconsService.registerIcons to register link, graph, quotes.
8. orcid-work.component.ts: Added visually-hidden in icon buttons for landing | Updated classes in <modal-alert> and use buttons of alert instead of custom.
9. no-load-paging.component.ts: Use new component <results-and-pages> for results and pages number and set uk-flex-right in <paging-no-load> (default is center).
10. cookie-law.css: In ".cookie-law-wrapper" increased z-index from 100 to 1000.
11. showAuthors.component.ts: Removed shadow from search button | Updated classes in <modal-alert>.
12. icons.ts: Added "quotes" svg.
13. alert.ts: Updated modal to have header - body - footer (theme was updated too) | classTitle input set default to "uk-background-primary-opacity" | @Input() overflowBody: boolean = true; added to add overflow in body.
14. paging.module.ts: Added ResultsAndPagesNumComponent in declarations and exports.
15. pagingFormatter.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them.
16. pagingFormatterNoLoad.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them | Set customClasses default to "uk-flex-center".
17. tabs.component.ts: Updated margins/ paddings | Added @Input() offsetForSticky:number=0; to compare with the top distance for isSticky.
18. resultsAndPagesNum.component.ts: [NEW] Component to show number of results, number of pages and current page (used in paging).
19. landing-utils.css:
	a. Moved variables in .landing instead of :root.
	b. Added variable --landing-light-color-rgb: var(--light-color-rgb);
	c. Added glass filter in #graph_and_feedback.
	d. Set z-index of #main-tabs-div and #graph_and_feedback to 979 (default 980 caused problems with metrics box).
	e. Added padding-bottom: 80px and margin-top: 80px in .landing-sections.
	f. Added top rule for #right-sidebar-switcher.
	g. Added custom width rules for .landing-left-sidebar-width.
20. css-rules.txt: Added cookie-law-wrapper: 1000 info for z-index
21. explore-custom.css: Added variable --background-primary-rgb: var(--explore-color-rgb);
2022-04-20 17:40:18 +03:00
Alex Martzios bd7d3dccb0 progress on homepage 2022-04-20 14:30:34 +03:00
argirok 6564620ddd Update menu items with OpenaireEntities names 2022-04-20 10:33:52 +03:00
Alex Martzios d0ee809a03 progress on homepage, update submodules 2022-04-20 09:29:40 +03:00
argirok 7be057c722 stepper update css 2022-04-19 16:33:26 +03:00
Konstantinos Triantafyllou a32e7f0433 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/explore-services into new-theme 2022-04-19 11:16:36 +03:00
Konstantinos Triantafyllou dec5268b83 Add quick selections in home page 2022-04-19 02:10:50 +03:00
Alex Martzios 3603c2ab00 changes on 'remove' label close-button 2022-04-18 15:34:19 +03:00
Alex Martzios 53eda3a026 tweaks on fos/sdg pages 2022-04-18 14:25:32 +03:00
Konstantinos Triantafyllou c24859fed3 Update libraries. Add as label secondary explore's color 2022-04-18 11:29:51 +03:00
Konstantina Galouni c887dc1c66 [Library & common-assets | new-theme]: Updates for redesign.
1. availableOn.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external icon to links and updated accessright icons.
2. citation.class.ts: Added fileFormatOptions: Option[] to use it in input options.
3. citeThis.component.ts: Updated select inputs using "input" from InputComponent | Updated copy to clipboard button to link.
4. citeThis.module.ts: Import InputModule.
5. fos.component.ts: Updated class of title to "uk-text-light-grey".
6. fundedBy.component.ts: Updated class of title to "uk-text-light-grey" and updated links with uk-text-emphasis class.
7. landing-header.component.ts: Increase authorsLimit to 7 | Changed class of "under curation" to uk-text-primary (used to be custom class).
8. metrics.component.ts: Updated in clickOutside event.
parsingFunctions.class.ts: Updated open, closed and unknown with icon names instead of paths to svgs (download accessright icons).
9. relatedTo.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external for links.
10. resultLandingUtils.module.ts: Inport AlertModalModule (to open modal).
11. sdg.component.ts: Updated class of titlte to "uk-text-light-grey".
12. showIdentifiers.component.ts: Added view more functionality.
13. showPublisher.component.ts: Updated custon-external class.
14. resultLanding.module.ts: registerIcon link.
15. resultLanding.component.html: Updated css for result landing and commented annotations (b2note).
16. orcid-work.component.ts: Updated orcid action button for landing page.
17. orcid.module.ts: registerIcons orcid_add and orcid_bin.
18. customOptions.class.ts: [Bug fix] [By Kostis] registryOptions() was not returning properly httpHeaders.
19. showAuthors.component.ts: Updated css
20. icons.ts: Export svgs orcid_add, orcid_bin, link.
21. alert.ts: Removed margin from title.
22. result-preview.component.html: Title of results set to <h2> and uk-h6 and when links to uk-link-heading | accessRightIcon for hostedBy_collectedFrom.
23. result-preview.module.ts: Imported IconsModule.
24. landing-utils.css: Updates in landing css & css of landing-action-button & added backdrop filter missing rules.
25. utils.css: Updated class orcid-clipboard-wrapper and renamed to clipboad-wrapper | Update class .custom-external to set in content with code instead of name and updated not to underline it on hover
26. library.css: Added class .default-dropdown with max-width: 500px;
2022-04-16 10:47:30 +03:00
Konstantinos Triantafyllou 04cd27042e Add new advanced-seach-input in home page 2022-04-16 00:53:24 +03:00
Alex Martzios caad9e3349 add links to FOS items, changes on SDG json file and page 2022-04-15 16:32:14 +03:00
Alex Martzios cb4b3334be finish fos page - search functionality 2022-04-14 18:05:47 +03:00
Alex Martzios 99bdbb72f8 update openaireLibrary repo 2022-04-13 09:43:44 +03:00
Alex Martzios de0c5e2e3f update images on sdg page, highlight search result on fos page, newsletter link fix on footer 2022-04-13 09:42:37 +03:00
Konstantina Galouni 1b88f0924f [Library & common-assets| new-theme]: Fixes in custom-external.
1. resultLanding.component.html: [Bug fix] In EGI Notebook, uk-text-uppercase should be in text (custom-external icon could not be loaded).
2. resultLanding.component.ts: Removed unnecessary log.
3. result-preview.component.html: Added properly "custom-external" class.
4. utils.css: In class "custom-external", set verical-align: super.
2022-04-12 16:52:49 +03:00
Konstantina Galouni 791dcccca6 [Library | new-theme]: resultLanding.component.html: Linking action button updated to redirect to direct linking page. 2022-04-12 15:20:44 +03:00
Konstantina Galouni 8b672939ac [Library | new-theme]: showIdentifiers.component.ts: Optimize imports and use uk-text-meta class | showPublisher.component.ts: Use uk-text-small and uk-text-meta classes. 2022-04-12 15:05:53 +03:00
Konstantina Galouni 5c3b14e9f7 [Library | new-theme]: resultLandingInfo.ts: Added export interface Context and set in ResultLandingInfo class contexts: Context[]; | parsingFunctions.class.ts: In method "parseContexts()" use interface Context. 2022-04-12 15:01:45 +03:00
Konstantina Galouni 1968c9add2 [Library | new-theme]: showAuthors.module.ts: Imported AlertModalModule | showAuthors.component.ts: When authors > 2*threshold, open them in modal & Replaces "view all ... authors" with "+ ... Authors" & updated orcid dropdown according to new theme | landing-header.component.ts: Use "uk-text-small" everywhere and removed @Input() small & change authorLimit from 30 to 3 & removed "small" input from <showAuthors>. 2022-04-12 14:51:55 +03:00
Konstantina Galouni 883cd8fac3 [Library | new-theme]: orcid.module.ts: Removed IconsService | orcid-work.component.ts: Updated icons (remove -> delete & preview -> visibility) & grouped tooltips wherever possible (background css not ready) & Removed unused css & Updated orcid buttons for landing page & [Bug fix] Update how "isLoggedIn" is calculated (userManagementService.getUserInfo() instead of Session). 2022-04-12 14:36:31 +03:00
Konstantina Galouni d13123cfc0 [Library | new-theme]: metrics.component.ts: Replaces old custom class "space" with "uk-margin-small-left" | metrics.component.css: Css updated to move mertics widget and its arrow in a new position (not ready). 2022-04-12 14:21:55 +03:00
Konstantina Galouni 6fcd822b36 [Library | new-theme]: searchSorting.component.ts & newSearchPage.component.html: Removed ":" after "Sort by" and "Results per page placeholders | result-preview.component.html: Use class uk-text-meta instead of uk-text-muted. 2022-04-12 14:12:45 +03:00
Konstantina Galouni 61550cc1c5 [openaire-theme | Trunk]: Small additions in css of theme.
variables.css: [NEW] Added variable --orcid-color: #A6CE39;
text.css: Added rules for classes "uk-text-xsmall" and "text-orcid".
2022-04-12 13:27:52 +03:00
Alex Martzios d845a618ea progress on fos search functionality 2022-04-07 16:20:10 +03:00
Konstantina Galouni 4b5d6ac98b [Library | new-theme]: rangeFilter.component: [Bug fix] In range filters, years were not updating & errors were not properly displayed | search-input.component.ts: Remove styleUrls (file is deleted). 2022-04-05 20:08:11 +03:00
Konstantina Galouni 826db1af73 [Library | new-theme]: Delete fromYearAfterToYear.directive.ts, inValidYear.directive.ts, rangeYearsRequired.directive.ts directives from rangeFilter folder (validator functions moved to string-utils.class.ts (previous commit)). 2022-04-05 16:50:49 +03:00
Konstantina Galouni 191b9c7a9a [Library | new-theme]: In range filters, use reactive form (formGroup) instead of template driven form (ngModel) & update inputs using new "input" component & move validators in string-utils.class.ts. 2022-04-05 16:45:39 +03:00
Konstantina Galouni e20e9c61e6 [Library & Common-Assets | new-theme]: 1st version of restructure of result landing page according to redesign | Bug fix in method "hasMetrics".
1. landing-header.component.ts: Remove from <showTitle>, isH1 input.
2. metrics.component.ts: On metrics error, emit also "pageViews: 0".
3. showTitle.component.ts: Remove "isH1" input property and add in title class uk-h5 always.
4. resultLanding.component.html: Redesign (currently broken) of result landing page.
5. orcid-work.component.ts: Remove label "Add to / Remove from ORCID".
6. import.css: Import "landing-utils.css".
7. landing-utils.css: Comment all existing css rules and add new.
2022-04-04 12:14:54 +03:00
Alex Martzios e4a9f8be64 finish SDGs component functionallity and styles and start on FOS component 2022-03-31 14:57:13 +03:00
Alex Martzios da544109aa create sdg component and add sdg img assets 2022-03-30 17:19:40 +03:00
Konstantinos Triantafyllou b2e9a76170 Create new branch for explore new-theme. Initialize variables, css and angular.json 2022-03-30 13:01:55 +03:00
Konstantina Galouni cc062d3938 [Library | Trunk]: ISVocabularies.service.ts: Make url to vocabularies sdg.json and fos.json absolute with domain prefix. 2022-03-29 17:14:00 +03:00
Konstantina Galouni 2fa81dd7c9 [Library | Trunk]: resultLanding.component.html: Add links to advanced search foreach FOS and SDG subject. 2022-03-29 16:55:04 +03:00
argirok d533a904ed add project sitemaps 2022-03-24 12:57:58 +02:00
argirok dbe76e472f update the values of fos/sdg vocabulary 2022-03-24 12:57:33 +02:00
argirok d6c4788fbb Merge branch 'master' of code-repo.d4science.org:MaDgIK/explore-services 2022-03-18 13:14:28 +02:00
argirok a8f3421fb8 add fos/sdg in advanced search, add autocomplete methods, add initial json files 2022-03-18 13:14:07 +02:00
Konstantina Galouni ea9d4d73c8 [Library]: searchFields.ts: In previous commit changed name of "resulthostingdatasourceid" used in advanced search (Hosting Content Provider --> Source), instead of "resulthostingdatasource" used in refine filters (Content Provider --> Source). 2022-03-17 16:13:55 +02:00
Konstantina Galouni ad1f68ca68 Rename some result refine filter names and reorder them. 2022-03-17 15:13:07 +02:00
Konstantina Galouni 5d21dde264 [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 dd862df6b2 complete previous commit for
clean up search dataproviders for doiRawValue
2022-02-21 16:29:03 +02:00
argirok 7c87a1343e apply changes for datasource search pages #7546 2022-02-16 18:43:20 +02:00
Konstantina Galouni 34f4637ff9 [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
Alex Martzios a6d5f793fb update submodule repos 2022-02-04 13:02:18 +02:00