Commit Graph

956 Commits

Author SHA1 Message Date
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 15272d2390 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/explore-services into new-theme 2022-07-05 17:49:13 +03:00
Konstantinos Triantafyllou b781a9973b Update libraries and change dev claims property to scooby 2022-07-05 17:49:01 +03:00
Alex Martzios 97612be256 update submodules 2022-07-05 12:33:09 +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