Commit Graph

2258 Commits

Author SHA1 Message Date
Alex Martzios 3b962dc0e5 create mobile view structure for organization landing, add @media rules for project and dataProvider landing, change size of result title 2023-02-21 15:06:28 +02:00
Konstantina Galouni 2806515d31 Merge remote-tracking branch 'origin/explore-redesign' into explore-redesign 2023-02-21 03:01:47 +02:00
Konstantina Galouni 3a18403a0e [Library | explore-redesign]: fundedBy.component.ts & relatedTo.component.ts: In view more/less links added class "uk-link-text". 2023-02-21 03:01:21 +02:00
Konstantina Galouni d970153d41 Merge branch 'explore-redesign' of code-repo.d4science.org:MaDgIK/openaire-library into explore-redesign 2023-02-21 02:49:19 +02:00
Konstantina Galouni 6a34caf096 Merge branch 'explore-redesign' of code-repo.d4science.org:MaDgIK/openaire-library into explore-redesign 2023-02-21 02:48:19 +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 9a258d8197 Reduce number of projects, organizations and subjects shown in entity-metadata to 3. 2023-02-20 20:54:26 +02:00
Alex Martzios f17b25d66f create tooltips for all landing page metrics card (BIP and UsageCounts) 2023-02-20 19:29:21 +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 10ea930d8a [Library | explore-redesign]: availableOn.component.ts: [Bug fix] Added check if availableOn.length > 0. 2023-02-18 10:53:40 +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
Konstantina Galouni 79bcf402d6 [Explore & Library | explore-redesign]: searchResult.component.ts & searchResearchResults.service.ts: Remove logs from search | resultLanding.component.html: [Bug fix] Add check if resultLandingInfo.measure | Remove from <result-preview> modal input that does not exist anymore. 2023-02-18 10:41:34 +02:00
Konstantina Galouni a4c9c63311 [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
Konstantinos Triantafyllou 332a32a4e4 Add entityMetadataComponent in export of the module 2023-02-17 19:47:47 +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 4858e9f22d Add condition for measures existance in parseMeasures 2023-02-16 16:37:40 +02:00
Konstantinos Triantafyllou 0a1e0fbd8a Add measures and hosteby collected from in search result objects 2023-02-16 16:33:40 +02:00
Alex Martzios 1093027ca1 general fixes for all landing page types, create new fos/sdg selection components for user feedback 2023-02-16 12:59:18 +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
Konstantinos Triantafyllou 4cf5f44000 Merge branch 'angular-14' into explore-redesign 2023-02-15 11:53:55 +02:00
Konstantinos Triantafyllou 5a782ebd48 Merge branch 'angular-14' of code-repo.d4science.org:MaDgIK/openaire-library into angular-14 2023-02-15 11:53:32 +02:00
Konstantinos Triantafyllou f53370213a Add sidebar mobile toggle. Add activeSidebarItem in layout service and handle it in sidebar. Add isActive in menuItem. Make some improvents in slider-tabs 2023-02-15 11:53:25 +02:00
Konstantinos Triantafyllou 88a35d4814 Merge remote-tracking branch 'origin/angular-14' into explore-redesign 2023-02-14 12:15:42 +02:00
Alex Martzios 5c9470a959 fix for 'collected from' link that was not working, coloring of new access icons and bip/usage icons, metrics tabs and charts - all landing pages 2023-02-13 15:51:15 +02:00
Konstantinos Triantafyllou c53806f5b3 1. Add cache in get managers and members methods. 2. Add delete Authorization level with values curator and manager in role users for managers. Authorization level for mebers are always manager. 3. Clear cache when managers and members list has been updated. 2023-02-09 16:30:24 +02:00
Konstantinos Triantafyllou ee71b895bf Merge branch 'angular-14' of code-repo.d4science.org:MaDgIK/openaire-library into angular-14 2023-02-09 12:10:06 +02:00
Konstantinos Triantafyllou 1e56ef66ec 1. Simplify logout process. 2. Deprecate isSmallScreen in Layout service. 3. Make some inmprovements in slider-tabs and add slider-arrow for previous and next. 4. Navigation Bar: Remove badge and header logo info from mobiles. 5. Page Content: Fix paddings for mobiles and add events for sticky status changes. 2023-02-09 12:09:49 +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 5454509b55 Fix sidebar flex items 2023-01-27 15:57:39 +02:00
Konstantinos Triantafyllou 57eac1b08b Change my-tabs with new class landing-tab 2023-01-27 14:42:09 +02:00
Konstantinos Triantafyllou ccab3d0847 Slider-tabs: Add align left and right and merge query params on navigate to other fragment 2023-01-27 13:54:40 +02:00
Konstantinos Triantafyllou 97426aabfe Merge remote-tracking branch 'origin/angular-14' into explore-redesign 2023-01-27 10:21:10 +02:00
Konstantinos Triantafyllou 3acd9a6c29 Portals: Add piwik as a column. Add pid in search 2023-01-26 12:35:05 +02:00
Konstantinos Triantafyllou 70e0d02227 Add a workaround for sticky update bug on sidebar toggle 2023-01-25 14:41:53 +02:00
Konstantinos Triantafyllou 03b28d57d5 Merge from angular-14 2023-01-25 11:53:32 +02:00
Konstantinos Triantafyllou 9f4be4b29b Bottom: Fix shortView. Sidebar: Add toggle and hover behaviour. 2023-01-25 08:00:35 +02:00
Alex Martzios 0a519c667a start on result landing mobile redesign 2023-01-24 15:32:58 +02:00
Alex Martzios c58bc15a74 progress on all landing page types 2023-01-23 16:19:00 +02:00
Konstantinos Triantafyllou 53400f7745 Add shouldUpdate in getStakeholder method. Role-verification: Add userInfoLink if user-info is on other portal 2023-01-20 17:31:36 +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