Commit Graph

948 Commits

Author SHA1 Message Date
Konstantina Galouni bb6707cc0d [Library | data-transfer-v2]: transferData.component.ts: Added class field "s3UrlRegex" and updated s3 regex to accept any url starting from s3://, https://, http://, www. 2023-03-10 14:54:15 +02:00
Konstantina Galouni e02ac38b7c Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-03-09 11:13:42 +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
Konstantina Galouni 029db9f52e [Library | data-transfer-v2]: transferData.component.ts: Scroll to message not only if transfer status was successful. 2023-03-07 15:43:49 +02:00
Konstantina Galouni cde97c09b9 [Library | data-transfer-v2]: transferData.component: Updated destination url check - for s3, protocol starts with s3://, not https://. 2023-03-07 13:17:36 +02:00
Konstantina Galouni ed856076d4 [Library | data-transfer-v2]: transferData.component.ts: Check we are on client side to open the modal | [Bug fix] In error message. 2023-03-03 15:12:26 +02:00
Alex Martzios 67714f6ac4 redesign project landing for mobile view, add embed tooltip for entity-actions component and project landing, minor fix for resultLanding metrics tab 2023-02-23 13:09:42 +02:00
Konstantina Galouni 44825c5985 [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
Konstantinos Triantafyllou fb55c9483d Remove width class from link to tooltip, added by mistake in entity-actions 2023-02-22 14:55:19 +02:00
Konstantinos Triantafyllou 63b466fdaf 1. Fix uk-drop in available on. 2. Entity metadata: Add bullet with css in order to avoid empty content. 3. Add Deposit and embed in actions of entity-actions. 2023-02-22 14:43:31 +02:00
Konstantina Galouni 4aa350ff2b [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
Konstantinos Triantafyllou 256f8162e6 Full screen modal: Change title and icons size on mobile 2023-02-21 15:14:25 +02:00
Konstantinos Triantafyllou fc9e77b887 [Library | explore-redesign]: Fixes on FoS and SDGs suggest modal (checked existing subjects, added loading) - In FoS fixed scrolling, search and final response of selected fields.
1. composer.ts & resultLanding.component.ts: Removed "and Technology" from "Fields of Science" typename.
2. resultLanding.component.html: Bind (suggestClicked) to <fos> instead of (feedbackClicked).
3. input.component.ts: [Bug fix] Added check in "filter()" method if option.label.
4. sdg-selection.component.ts: [Bug fix] Set this.loading = false; inside subscribe.
5. fos.component.ts: In title, updated FOS to FoS.
6. sdg-fos-suggest.module.ts: Imported LoadingModule.
7. sdg-fos-suggest.component.ts: Show loading when sending email | Do not initialize <sdg-selection> and <fos-selection> before subjects have value (this way inputs of existing fos/sdgs are checked).
8. fos-selection.component.ts:
   a. Added @Input() inModal: boolean = false; to set activeSection, when inModal, instead of navigating with fragment.
   b. [Bug fix] Set this.loading = false; inside subscribe.
   c. Call this.setObserver(); both in ngOnInit and when keyword changes.
   d. Updated threshold of observer from 0.25 to 0.1 (large FoS categories were never triggered on scrolling, because less than 25% of their content was visible).
   e. Updated fosOptions to Map<string, boolean> to track easily checked inputs and updated getSelectedSubjects() accordingly.
9. fos-selection.component.html: In search-input of keyword no options are needed | Updated ngModel of checkbox inputs.
10. cache-interceptor.service.ts: Added check if (!properties.useLongCache) to skip cache.
2023-02-21 02:47:23 +02:00
Konstantinos Triantafyllou 3d296f3234 Add organizations in entity-metadata 2023-02-20 18:17:30 +02:00
Konstantina Galouni 6947890c20 [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
Konstantinos Triantafyllou 9715de74d2 Create entity-actions and add all result actions in it. Add filters-toggle in advanced search for mobile. Add funders and subjects in entity-metadata. Change authors view less 2023-02-20 16:59:07 +02:00
Alex Martzios 23bfc3af3d changes for sdg/fos selection and suggest components 2023-02-20 16:34:12 +02:00
Konstantina Galouni 1ca647f56e [Explore & Library | explore-redesign]: Updated component for suggest SDGs or FoS.
1. alert.ts: Added previous button option.
2. composer.ts: Set feedback values in body | Make method "composeEmailForSdgsSuggestion()" generic to send feedback for either SDGs or FoS. - TODO: Rename method.
3. sdg-selection.component: Added some checks | Added method "getSelectedSubjects()".
4. sdg-fos-suggest.component: Updated component for suggestion | Send suggested subjects to composer | Add modal here | Make file generic for FoS or SDGs suggestion.
5. resultLanding.component: Updated how <sdg-fos-suggest> is called | Moved SDGs / FoS suggest modal inside <sdg-fos-suggest>.
2023-02-18 10:52:24 +02:00
Konstantinos Triantafyllou 238aafd552 Change results preview. Add hosted by, metrics in search results. Create entity-metadata for entity medata. 2023-02-17 19:40:05 +02:00
Alex Martzios 75ad00db3f create new component for handling SDG suggestions 2023-02-17 19:08:44 +02:00
Konstantinos Triantafyllou 0a1e0fbd8a Add measures and hosteby collected from in search result objects 2023-02-16 16:33:40 +02:00
Konstantina Galouni 38a8802d7e [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
Konstantina Galouni b34f1cdfbf Merge remote-tracking branch 'origin/angular-14' into data-transfer-v2 2023-02-14 01:15:01 +02:00
Konstantina Galouni 95a87dcefd [Library | data-transfer-v2]: Use new transfer API to get destinations, do the transfer, request status of transfer | Updated messages and checks for buttons. 2023-02-13 19:39:08 +02:00
Alex Martzios 6551fc73d3 Merge branch 'angular-14' into explore-redesign 2023-02-08 11:42:22 +02:00
Alex Martzios 39a2549681 change path of vocabulary fos/sdgs 2023-02-08 11:31:47 +02:00
Alex Martzios beebd6c6d7 progress for landing pages redesign 2023-02-08 11:21:16 +02:00
Konstantinos Triantafyllou 57eac1b08b Change my-tabs with new class landing-tab 2023-01-27 14:42:09 +02:00
Konstantinos Triantafyllou 03b28d57d5 Merge from angular-14 2023-01-25 11:53:32 +02:00
Alex Martzios c58bc15a74 progress on all landing page types 2023-01-23 16:19:00 +02:00
Alex Martzios 95de86e767 progress in result landing page 2023-01-13 15:57:26 +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
Alex Martzios c1fa0889ee progress in landing page (new metrics, tweaks for new action-bar) 2023-01-13 08:32:16 +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
Alex Martzios 871c45c480 progress on result-landing page and used components within it 2023-01-09 18:35:28 +02:00
Konstantina Galouni 3c20944aec [Library | data-transfer-v2]: transferData.component: Get destinationOptions from API (/storage/types). 2023-01-05 19:14:26 +02:00
Konstantina Galouni 161052d97c Merge remote-tracking branch 'origin/angular-14' into data-transfer-v2 2023-01-04 13:36:54 +02:00
Konstantina Galouni 50543311f2 [Eosc Explore & Library | data-transfer-v2]: environment.ts: Updated eoscDataTransferDestinations to be like api response. | transferData.component: Updated destinationOptions and selectedDestination according to the updated eoscDataTransferDestinations. 2023-01-04 13:27:49 +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 7666b55b6c Data transfer: add input for destination URL, inputs for destination authorization
add destination  authorization header in parser
2022-11-11 13:56:58 +02:00
argirok ce4b358ce9 add access token in parser method 2022-11-11 12:28:07 +02:00
argirok 8e22fe60b0 Data transfer: remove checks for only zenodo dois 2022-11-11 11:55:15 +02:00
argirok 764b92ae66 Eosc data transfer:
- add and use separate property for login url
- use new API url
2022-11-11 11:20:02 +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
Konstantina Galouni 6b28663496 Merge remote-tracking branch 'origin/master' into angular-12 2022-10-04 13:50:10 +03:00
Konstantina Galouni 9ac7ed93d4 [Eosc Explore]: ISVocabularies.service.ts: [Bug fix] Added check if type is "service" (used to return null when selecting vocabulary fields in advanced search). 2022-10-04 11:39:44 +03:00
Konstantina Galouni 3c1623d12c [Aggregator]: Updates in css | Bug fix in isRouteEnabled check.
1. portal.ts & aggregators.ts: [Bug fix] In method "getMockCommunityInfo()" set also pid for community (isRouteEnabled.guard needs it) | Updates in less files (overrides of colors)
2. styles.less: Updated imports (added linking, landing and canada-custom and removed aggregator-custom).
3. numbers.component.ts: Updated default value of @Input() colorClass to "uk-text-primary".
4. connectHelper.ts: In method "getCommunityFromDomain()" added also "aggregator" and "eosc" portal types to set domain on development.
2022-10-03 20:25:37 +03:00
Alex Martzios 7da81d02b5 create new function for composing email for explore (contact-us page) 2022-10-03 13:39:35 +03:00
Konstantina Galouni 04229ad0ed Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-09-30 16:03:00 +03:00
Konstantina Galouni e0a7362f87 Merge remote-tracking branch 'origin/master' into angular-12 2022-09-30 15:25:03 +03:00
Konstantina Galouni a246608368 [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter
1. styles.less: Renamed from styles.css and added imports of less files and portal-custom.css (to be updated).
2. angular.json: In styles configuration added styles.less.
3. index.html & beta/index.html: In beta badge, used background instead of background-color to css rules.
4. portal-custom.css: Added rule for .search-form to inherit color in background.
5. searchFields.ts:
   a. Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources refine filter "Type".
   b. In method "getResultAdvancedFields()" return always RESULT_ADVANCED_FIELDS without excluding "eoscifguidelines".
6. datasourcesHelper.class.ts: Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources queries and used updated type names "Research Entity Registry" (old "Registry") and "Journal Archive" (old "Journal archive").
7. cache-interceptor.service.ts: Updated cachingRequests array, using new "eoscdatasourcetype" and its values.
8. dataProvider.component.html && result-preview.component.html: Do not add hardcoded compatibility label "Not yet registered" and updated checks.
9. resultLanding.service.ts & parsingFunctions.class.ts: Parse resultLandingInfo.eoscSubjects only by "eoscifguidelines" field not "subjects".
10. searchFilter.component.ts: [Bug fix] In Access filter, fixed bug in view all, when clearing the preselected value.

* Do not forget to add in package.json in devDependencies, "@types/express-serve-static-core": "4.17.28"
2022-09-30 14:51:00 +03:00
Konstantinos Triantafyllou ac35a83cef Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-09-26 17:25:44 +03:00
Konstantinos Triantafyllou 5de8206a32 Merge remote-tracking branch 'origin/master' into angular-12 2022-09-26 17:25:06 +03:00
Konstantinos Triantafyllou 167e154de8 Change word subscriber to member in composer email for new member 2022-09-26 17:24:39 +03:00
Konstantinos Triantafyllou ccbda1f8a6 Merge remote-tracking branch 'origin/master' into angular-12 2022-09-26 17:23:00 +03:00
Konstantinos Triantafyllou e0d5b579d9 Fix link to subscribers in email composer 2022-09-26 17:22:32 +03:00
Konstantinos Triantafyllou a31605e9d5 Update angular core and cli to version 14 2022-09-23 13:25:08 +03:00
Konstantinos Triantafyllou 717ead02b2 Make some fixes after update to angular 12 2022-09-23 12:24:15 +03:00
argirok 032b91ae7a very primitive tests for updating datatransfer with status and browse 2022-09-21 17:29:46 +03:00
Alex Martzios f888e1090d landing: cut description & show more in modal after 10 lines of content 2022-09-21 13:32:21 +03:00
argirok 59c09d0295 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-09-16 17:30:43 +03:00
Alex Martzios b8ac412137 remove alert-modal footer entirely if alertFooter boolean is false 2022-09-14 16:31:55 +03:00
Konstantina Galouni 7ef47ab0ef [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 656a3634e2 [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
argirok 7ea6bfad7a add destination parameter in get userinfo 2022-09-07 14:39:54 +03:00
Konstantina Galouni 2261f4ae6f [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
Alex Martzios 66fecd2f41 make asynchronous calls for vocabularies when getting the result landing info 2022-09-06 16:28:51 +03:00
Konstantinos Triantafyllou 81b3a5f8b4 Add breadcrumbs in resources pages. Change hide delay in navbar dropdown 2022-08-29 16:30:12 +03:00
Alex Martzios f77cfb48f9 remove SharedModule and use library's instead 2022-08-29 14:04:20 +03:00
Konstantina Galouni 27d7c7c118 [Connect Admin | Library | new-theme]: Added call to purge browser cache when updating content of community.
1. env-properties.ts & environments/: Added property "deleteBrowserCacheUrl".
2. clear-cache.service.ts: Added method "purgeBrowserCache()" to purge browser cache for a specific community.
3. entities.component.ts & menu.component.ts & pages.component.ts & affiliations.component.ts & edit-community.component.ts add-content-providers.component.ts & remove-content-providers.component.ts & add-projects.component.ts & remove-projects.component.ts & subjects-edit-form.component.ts & personal-info.component.ts & customization.component.ts: Call "_clearCacheService.purgeBrowserCache()" when adding/updating/deleting content of a specific community.
4. connect-admin-customization.module.ts: Added CommunitiesService in providers.
5. connect-admin-customization.component.ts: Added button to purge browser cache for all communities and connect.
2022-08-11 12:58:20 +03:00
Konstantina Galouni ac70b8c260 [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 9c194a3a56 [Library | new-theme]: searchPages/: Set default value null to @Input() openaireLink | env-properties.ts: In Dashboard type added "eosc". 2022-08-08 17:45:31 +03:00
argirok 123766d46e update Customization Options
remove unused property portalBuildTime
2022-08-08 13:16:13 +03:00
argirok 1e3c9d7cba Eosc explore: latest changes/ corrections before review 2022-08-08 12:47:14 +03:00
Konstantina Galouni d43f576d40 [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
Alex Martzios 05ca7c7eea change the way we get the impact factors for search results 2022-08-02 12:43:39 +03:00
Konstantinos Triantafyllou a42140bb1c Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-08-01 22:26:09 +03:00
Konstantinos Triantafyllou 46d9fe9abb Fix range filter initialization 2022-08-01 22:26:01 +03:00
argirok 26d849693b Merge remote-tracking branch 'origin/new-theme' into new-theme 2022-08-01 12:19:11 +03:00
argirok 17200edf21 Customization: updates for buttons customization
add property connectportalUrl - use it for preview and build css methods
2022-08-01 12:18:47 +03:00
Konstantinos Triantafyllou 5cb7bc7cca Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-07-29 12:16:24 +03:00
Konstantinos Triantafyllou d7b394520f Fix a style bug in notification-user. Add manager authorization in admin login guard(optional). Add resources service for Resource menu item build. Move methodology in library. Fix sub-submenu items with _self target in navigation bar. 2022-07-29 12:15:54 +03:00
argirok 6799cb3f3f Merge remote-tracking branch 'origin/new-theme' into new-theme 2022-07-27 14:46:09 +03:00
Konstantinos Triantafyllou e04d825c03 Add indicators page for monitor. Add tooltip in page/class content form and change container size. Add parentClass parame in theme page in order to view a specific style. Change admin login guard in order to allow curators to have access in some pages. Enable isPageEnabled method in configuration page in order to check if a specific page in specific portal isEnabled. 2022-07-27 12:34:10 +03:00
argirok 8c6f74c5fe Customization changes: add suffix for connect and default css files, add css only in server, add property for build date 2022-07-25 17:03:42 +03:00
Konstantinos Triantafyllou a98af53385 Stakeholder-service: Add propagate option in changeVisibility. Modal: Remove cancel event from ok button 2022-07-19 15:18:56 +03:00
Konstantinos Triantafyllou ff01c9a9c9 Change lingkin next steps buttons. Fix a bug in query of results in claims. Add dropdown-filter in claims and fix bug hiding behind basket. 2022-07-18 18:56:59 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +03:00
Konstantinos Triantafyllou e3f082b802 Transition Group: Add enable disable functionallity. User component: Add condition to avoid double message for login. 2022-07-14 17:38:54 +03:00
Konstantinos Triantafyllou 013ce7d5f4 Add swap function for arrays. Add reorderElements in stakeholder service 2022-07-14 14:37:07 +03:00
Konstantinos Triantafyllou 3b6498cb2e Dropdown Filter: Add overflow-auto. Fix all forms with disabled fields. Change all dashboard pages in order to apply sticky in actions instead of header. 2022-07-13 20:25:19 +03:00
Konstantinos Triantafyllou 4fa4a33a68 Increase close icon in fs-modal and remove deprecated icon from library 2022-07-13 10:13:29 +03:00
Konstantinos Triantafyllou 87e48b57ae Create transtion group module in order to handle animation during reordering of vertical items 2022-07-12 16:24:23 +03:00
Konstantina Galouni cfd44ec96b [Library | new-theme]: full-screen-modal.component.ts & alert.ts: [Bug fix] Added private static counter field to increase on each modal creation and set id according to the counter, to delete from DOM in "modal-container" the destroyed modal. 2022-07-11 17:27:44 +03:00
Alex-Coded4 2d0893ff45 add paging for featured datasets tab (enermaps) 2022-07-07 12:49:10 +03:00
Konstantina Galouni fc5fcfaede [Connect & Library | new-theme]:
1. projects-in-modal.module.ts: Imported DropdownFilterModule.
2. projects-in-modal.component.ts: Use common <dropdown-filter> instead of custom uk-button and uk-dropdown.
3. full-screen-modal.component.ts: [Bug fix] In ngOnDestroy added check for observer - error in ssr.
2022-07-07 10:54:12 +03:00
Alex Martzios 2bc5ba9e97 fix for tooltip in 'Add to ORCID' button - result preview card 2022-07-05 12:32:58 +03:00
Konstantina Galouni 72905d8599 [Connect Admin | Library | new-theme]: Redesign of remove/add projects and zenodo communities pages according to the new mocks.
1. searchProjects.service.ts: Added "params" parameter in "getFunders()" method.
2. resultsAndPagesNum.component.ts: Do not show number of results and pages when no results.
3. manage-communities.module.ts: Remove "group" and "lock" icons from registerIcons call.
4. add-projects.component & communityProjects.module.ts & manage-projects.component.ts & remove-projects.component: Redesign of remove/add projects pages according to the new mocks.
5. add-zenodo-communities.component & manage-zenodo-communities.component & preview-z-community.component.ts & zenodo-communities.component.ts & zenodo-communities.module.ts: Redesign of remove/add zenodo communities pages according to the new mocks.
2022-07-05 01:31:56 +03:00
Konstantinos Triantafyllou 721a8c6a09 Add mining icon. Add method to get Affiliations in affiliations service. Remove cancel emit from ok button in full modal 2022-07-04 21:38:27 +03:00
Konstantinos Triantafyllou be48608545 Fix bug with overflow in full screen modall 2022-07-04 18:00:10 +03:00
Konstantinos Triantafyllou de493c8492 Fix full screen modal base on new UI 2022-07-04 11:32:24 +03:00
Konstantinos Triantafyllou 995e73a1b5 Fix dropdown-filter bug with hide() 2022-07-01 15:44:05 +03:00
Alex Martzios ffd997dfcb changes for deposit component and deposit > connect 2022-06-30 18:24:08 +03:00
Konstantinos Triantafyllou 7ebf4f7f90 Add dropdown-filter component. Fix Paging format base on new mocks. Make some alignments in subscribers, pages, search-page and result-prview. UI of Manage Links page except result preview. 2022-06-30 13:40:37 +03:00
Konstantinos Triantafyllou 9b5607fbd0 Notify form: Open dropdown on empty. Delele unsused mailPrefsComponent. Finish UI of subscribers and invite subscriber. Fix an input bug in case of adding chip with enter key 2022-06-28 21:13:40 +03:00
Konstantinos Triantafyllou 4625ebf967 Finish UI of class help texts list, edit page/class help content 2022-06-27 15:50:21 +03:00
Alex Martzios cffe3053ce tweaks for fullscreen modal 2022-06-27 13:22:24 +03:00
Konstantinos Triantafyllou 5e1fde7841 Add blend multiply to all logos in page content header. Add placeholder logo to getLogoURL function. Fix a bug with active menu item. Finish UI of pages, entities, portals, classes and class page content. 2022-06-26 23:30:54 +03:00
Konstantinos Triantafyllou 4966a1d342 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-23 19:47:00 +03:00
Konstantinos Triantafyllou 38f3e7656f Authors remove uk-box-no-shadow from button. Fix typos in guards. Sidebar: Fix second menu items subnav 2022-06-23 19:46:53 +03:00
Konstantina Galouni 428a48223a [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
Konstantinos Triantafyllou b7f5f17b6a Theme: Add subnav alt pills 2022-06-20 19:57:43 +03:00
Konstantinos Triantafyllou 65eb622653 Remove box-no-shadow from modal buttons 2022-06-20 16:20:03 +03:00
Konstantinos Triantafyllou 240a0c1b0e Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-20 16:17:40 +03:00
Konstantinos Triantafyllou cc417adb6b Fix all dashboard modals heights. Role verification remove custom buttons. 2022-06-20 16:17:26 +03:00
Alex Martzios 657ff61207 show 'more authors' for result preview 2022-06-20 14:12:48 +03:00
Konstantina Galouni 65bf435e12 [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
Konstantinos Triantafyllou bf80e2e0b4 Create a new interface for backgrounds and added to quick contact. Modal: Align title to the left 2022-06-17 19:47:47 +03:00