Commit Graph

822 Commits

Author SHA1 Message Date
Konstantina Galouni f22a0bc806 [Library | develop & Eosc Explore | develop]: Added font-family "Inter" to align with Marketplace | Updated how back button "Go to search" is build - combine referrer and the new url parameter "pv", which is expected to have the previous url path and params.
1. /assets: Added /media/fonts/inter folder with the "Inter" font-family.
2. eosc-custom.less: Override the default font family to use 'Inter', sans-serif.
3. routerHelper.class.ts: Added method "addQueryParam()" to add a query parameter in already existing or not object with parameters.
4. search-tab.component.ts & searchResult.component & projects-in-modal.component.ts & result/deletedByInference/deletedByInference.component.ts & organization/deletedByInference/deletedByInference.component.ts: Added @Input() prevPath: string = ""; and pass it to the appropriate children components.
5. result-preview.component & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Added @Input() prevPath: string = ""; and method "addEoscPrevInParams()" and call it when building queryParams of internal links.
6. metrics.component.ts: Added @Input() prevPath: string = ""; and use it when building internal urls.
7. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts:
   a. Added fields public referrer: string; and public prevPath: string;
   b. Read "pv" url property and get referrer.
   c. Added methods "addEoscPrevInParams()" and "eoscBackLink()".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html:
   a. Update "Go to Search" back link.
   b. Call "addEoscPrevInParams()" method when building queryParams of internal links.
   c. Pass "prevPath" to the appropriate children components.
2023-04-20 20:06:53 +03:00
Konstantinos Triantafyllou 9025836af4 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-04-04 16:49:13 +03:00
Konstantinos Triantafyllou 4c328efa3a Merge branch 'monitor-production' into develop 2023-04-04 16:48:46 +03:00
Konstantinos Triantafyllou 133fdfbff2 Fix number pipe round in order to avoid round in numbers < 1000. Extend pipe to accept number in string format instead of number. 2023-04-04 16:48:05 +03:00
Konstantinos Triantafyllou 7ecb56ec98 Add getFos and getSDGs in vocabulary service and use it in the related components. 2023-04-03 12:53:40 +03:00
Konstantinos Triantafyllou c275d96e19 Merge branch 'connect-admin-production' into develop 2023-03-27 15:56:58 +03:00
Konstantinos Triantafyllou 18f95b7e13 Update URL validator regex in order to allow www2. 2023-03-27 15:56:42 +03:00
Konstantinos Triantafyllou a9f31d8307 1. Add notifications in user-mini in mobile 2023-03-24 17:13:33 +02:00
Konstantinos Triantafyllou 31d52de0e8 Merge branch 'monitor-production' into develop 2023-03-23 09:18:34 +02:00
Konstantinos Triantafyllou 4fa36bdd43 Fix server error in alert.ts where UIkit event handler is defined. 2023-03-23 09:18:19 +02:00
Konstantinos Triantafyllou 5bcc25fe84 Merge changes from monitor-production 2023-03-21 14:05:21 +02:00
Konstantinos Triantafyllou 8d3a83821b Modal: Add uikit close event, in order to catch click outside close events. 2023-03-21 14:00:47 +02:00
Konstantina Galouni b25c6dd2f7 [Library | develop & EOSC Explore | master]: Redirect to eosc search for any page except landing | If property adminToolsPortalType is eosc, open search links to OpenAIRE Explore in a new tab.
1. home.component.html: Commented everything.
2. home.component.ts: Commented everything and added redirect to EOSC search.
3. app.component.ts: Commented <navbar>.
4. app-routing.module.ts: Removed unused routes | For any route other than landing, redirect to home page.
5. index.html: Removed BETA badge | Updated title from "Search OpenAIRE" to "Search EOSC".
6. errorPage.component.ts & relatedDatasourcesTab.component.ts & showAuthors.component.ts & search-tab.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab.
7. fos.component.ts & sdg.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab | If property adminToolsPortalType is eosc, do not show "feedback/suggest" link.
8. open-aire-jsonld-converter.service.ts: If property adminToolsPortalType is eosc, do not add fos and sdgs as doc.isPartOf.
2023-03-09 10:54:03 +02:00
Alex Martzios 39a2549681 change path of vocabulary fos/sdgs 2023-02-08 11:31:47 +02:00
Konstantinos Triantafyllou da144c1c77 Round pipe: Make it HTML in order to add class in number's size 2023-01-13 11:33:53 +02:00
Konstantinos Triantafyllou 4cd5bcd12b Number round: Add decimal argument in order to be dynamic 2023-01-11 15:51:55 +02:00
Konstantinos Triantafyllou eddd7e00b9 Number round: Add level of round and round to 1 decimal 2023-01-11 15:35:13 +02:00
Konstantina Galouni 062f1a23c4 [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
Konstantinos Triantafyllou 92488d015b Add number-rounf pipe 2022-12-21 13:37:16 +02:00
Konstantina Galouni f91c3ba0fb [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 ce4b9273e0 [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
Konstantinos Triantafyllou 437a5fa50d Smooth scroll: Fix headerOffset in mobile 2022-12-09 18:17:06 +02:00
Konstantinos Triantafyllou 2492f737b8 1. Change message in role verification if an error is occurred. 2. Add isCurator in create a category. 3. Hide delete section if it not permitted and make manage roles visible to curators and superAdmins 2022-12-09 18:01:18 +02:00
Konstantina Galouni acdba43c8b [Connect Admin | Trunk & Library | angular-14]: Allow curators with profile to be invisible in the Gateway | Dynamically align custom menu.
1. CuratorInfo.ts: In Curator class added visible: boolean = true;
2. personal-info.module.ts: Imported MatSlideToggleModule.
3. personal-info.component.ts: Added slider to set curator profile to visible or invisible (default to visible).
4. menu.ts: In Menu class added field "featuredAlignment: MenuAlignment;" | Added enum MenuAlignment.
5. menu.component: Updated title "Menu settings" | Added "Menu Alignment" setting, to set if custom menu will be left, center or right alligned | Added notification when menu visibility changes.
6. help-content.service.ts: Added "alignMenu()" method to align custom menu dynamically.
2022-12-09 16:43:36 +02:00
Konstantinos Triantafyllou b256147682 Merge remote-tracking branch 'origin/angular-14' into mobile 2022-12-07 11:33:42 +02:00
Konstantina Galouni f3f395d15a [Library & EOSC Explore | angular-14]: environment.ts: Updated properties | searchFields.ts: Updated type of "eoscifguidelines" field to "keyword" from "refine" (to be discussed) | home.component: [Bug fix] Fixed after it has been checked error (disableSelectChange() method added). 2022-12-05 14:43:53 +02:00
Konstantinos Triantafyllou 25e332a512 Add footer icons in icons-library. Make some UI fixes in footer and adjust mobile view 2022-12-02 13:01:26 +02:00
Konstantina Galouni 508dac6c4d Merge origin/master into angular-14 branch 2022-11-29 14:13:29 +02:00
Konstantina Galouni 05c950c60d [Library]: searchFields.ts: Changed "type" of "eoscifguidelines" field from "keyword" to "refine", to get dynamically the available values for the eosc subjects. 2022-11-29 14:05:53 +02:00
Konstantina Galouni e9e2ee9f3a [Library]: [Bug fix] Strip html tags for titles and descriptions and show them as innerHTML.
1. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts & orcid-work.component.ts: Commented unused @ViewChild fields.
2. dataProvider.service.ts & project.service.ts & resultLanding.service.ts: Strip html tags from title.
3. resultLanding.component.ts: [Bug fix] resultLanding.description is string, not array.
4. orcidWork.ts: [Bug fix] resultLanding.description is string, not array & strip html tags from description.
5. refineFieldResults.service.ts: In method "getSearchAPIURLForEntity()", for entityType "result" set suffix to "results/".
6. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Strip html tags from title | Do not cut description (multi line ellipsis is used in html).
7. jsonld-document-serializer.service.ts: [Bug fix] resultLanding.description is string, not array.
8. result-preview.component.html: Show description as innerHTML to properly display special characters.
2022-11-28 19:22:01 +02:00
Konstantina Galouni f935e81959 [Library | EOSC Explore]: Updated styles | Updated link to Marketplace for EOSC::RO-crate | Bug fix in description of results versions | Removed timeout from reports.service.ts.
1. home.component.html: Added blue banner, white logo, aligned search form to the center and updated fonts according the new EOSC Marketplace.
2. parsingFunctions.class.ts: Updated link to Marketplace for eosc subject EOSC::RO-crate.
3. resultLanding.component.html: Updated how links to Compatible EOSC Services are displayed.
4. searchAll.component.html: Updated paddings and margins in search form of Search all page.
5. navigationBar.component.html: Set burger menu icon to light color if dark background.
6. advancedSearchDataProviders.component.ts & advancedSearchOrganizations.component.ts & advancedSearchProjects.component.ts & advancedSearchServices.component.ts & searchResearchResults.component.ts & searchDataproviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts & searchServices.component.ts & search.component.ts: Set in searchForm, dark=true.
7. aggregators.ts: In eoscInfo, updated logoUrl and removed customCss of AggregatorInfo.
8. app.component.ts: Set header.darkBg: true.
9. Added eosc-custom.less file.
10. styles.less: import eosc-custom less file, instead of portal-custom.css.
11. deletedByInference.service.ts & result-preview.ts: [Bug fix] Parse description of versions properly.
12. reports.service.ts: Copy fix from angular-14 branch - do not timeout to 10000.
2022-11-28 14:37:37 +02:00
argirok 95152eef04 don't close modal when transfer button is pushed. let it open and hide transfer button 2022-11-11 11:04:52 +02:00
argirok 806f0185b8 Enable Orcid S&L for aggregator 2022-11-09 13:41:33 +02:00
Konstantina Galouni 97c350dfec [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
Konstantinos Triantafyllou ed20502959 Helper Functions: Add routerMatcher function in order to add more than one path in route configuration. 2022-11-07 16:55:27 +02:00
Konstantina Galouni 17212458eb Merge remote-tracking branch 'origin/master' into angular-14 2022-11-07 13:02:57 +02:00
Konstantina Galouni cb57b78351 [Library]: searchResult.ts & result-preview.ts: Added field objId: string; | searchResearchResults.service.ts: Set in parsing objId | result-preview.component.html: Updated link to Bip Finder - use objId (openaire id) instead of id (pid related). 2022-11-07 12:55:55 +02:00
Konstantinos Triantafyllou 7bae3b1ebb Add hasInternalSidebar variable in layout service. Sidebar: Fix keep enable subItem on parent close. 2022-11-04 16:35:10 +02:00
Konstantinos Triantafyllou cdffb018b6 Merge remote-tracking branch 'origin/master' into angular-14 2022-10-24 16:37:14 +03:00
Konstantinos Triantafyllou b0e77b17a9 Slider Tabs: Make some fixes for static type. Changes resources methodology items for new routes. Delete see how it works 2022-10-24 16:37:05 +03:00
Konstantina Galouni cea34c6bba Merge remote-tracking branch 'origin/master' into angular-14 2022-10-20 17:27:35 +03:00
argirok d399f40ad6 Data transfer: move transfer button in the modal footer 2022-10-17 12:42:01 +03:00
argirok ea935df5b7 Data transfer: revert changes to show login in the 1st step 2022-10-14 13:32:11 +03:00
argirok cf1d3984ec Data transfer: minor layout changes in the browse 2022-10-14 13:18:13 +03:00
Konstantinos Triantafyllou 8677e9dcd5 Merge branch 'master' into angular-14 2022-10-12 16:41:16 +03:00
Konstantinos Triantafyllou 09706515ba Search Input: Add icon position and focus state 2022-10-12 12:23:24 +03:00
Konstantina Galouni 911614fb94 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-05 17:57:04 +03:00
Konstantina Galouni 73466653d2 Merge remote-tracking branch 'origin/master' into angular-12 2022-10-05 17:36:36 +03:00
argirok ef97747596 update datatransfer browse functionality
add new properties, add datatransferAPI in the error interceptor
2022-10-05 16:52:04 +03:00
Konstantina Galouni ce842a39c6 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 13:56:24 +03:00