Commit Graph

831 Commits

Author SHA1 Message Date
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
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
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