Commit Graph

230 Commits

Author SHA1 Message Date
Konstantina Galouni e1e53a7bbe Updating libraries 2023-10-30 21:59:53 +02:00
Konstantina Galouni ce034c1c8c [angular-16 | DONE | FIXED] package.json: Downgraded version of uikit from 3.16.24 to 3.16.14 (parallax not working). 2023-10-30 19:22:24 +02:00
Konstantinos Triantafyllou f948757eb2 Merge remote-tracking branch 'origin/develop' into angular-16 2023-10-10 17:16:27 +03:00
Konstantinos Triantafyllou e33812c8d8 Slider: CHangfe period to 8s and make it infinite. 2023-10-10 17:14:45 +03:00
Konstantinos Triantafyllou 8dfa776e0a Change button-link in home page with text-primary 2023-10-06 20:21:07 +03:00
Konstantinos Triantafyllou d97231ba92 Change scroll-section with slider 2023-10-06 14:50:22 +03:00
Alex Martzios ca9a00e879 add new custom css class for explore, update submodules 2023-10-02 12:18:42 +03:00
Konstantinos Triantafyllou d8fadf50e6 Update libraries. Update node to version 16 and angular in readme 2023-09-15 15:33:14 +03:00
Konstantinos Triantafyllou bfd7e1bf94 Add hasStickyHeaderInMobile in home page. 2023-08-30 14:05:20 +03:00
Konstantina Galouni 1fef8ce8e6 [Library | develop]: resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: In main action bar for mobile (landing-action-bar-mobile), replaced uk-background-default with uk-tile-default uk-blur-background. 2023-08-25 15:56:53 +03:00
Konstantina Galouni e56c3d82e4 [Library | develop]: alert.ts & full-screen-modal.component.ts: Updated (h6 from h4 or h5) header font size and ratio of icons (make them smaller) - in angular 16 branch, paddings have also changed. 2023-08-24 18:20:49 +03:00
Konstantinos Triantafyllou 1602407c41 Update uikit to version 3.16.24 2023-08-23 16:57:51 +03:00
Konstantinos Triantafyllou 7ada3160f2 Migrate angular core and cli to version 15 and update dependencies to be compatible with the newer version. 2023-08-02 12:46:06 +03:00
Konstantina Galouni f762d78226 [Library | develop]: resultLanding.component.ts: Added ContextsService and call to get public communities, and then filter out contexts (related to communities) of resultLandingInfo if they are hidden. 2023-07-28 16:04:14 +03:00
Konstantina Galouni 6ce1f32759 Updating openaire-theme before beta release.. 2023-07-27 16:04:56 +03:00
Konstantinos Triantafyllou ccc59c14b0 Update library and assets 2023-07-25 19:10:31 +03:00
Alex Martzios 665a6cb61b update submodules 2023-07-20 11:50:29 +03:00
Alex Martzios 96c0b16680 update submodules 2023-07-19 12:20:57 +03:00
Konstantinos Triantafyllou e724914d64 Change piwik base on the new dynamic piwik. 2023-07-13 10:55:08 +03:00
Konstantina Galouni b93da0d434 [Library & common-assets | develop]: [WIP] dataProvider.component.html & project.component.html & resultLanding.component.html: Removed "uk-card uk-card-secondary" classes from metrics box and commented badge icon | metrics-badge.svg: Changed badge color to white (used to be orange - Explore specific) | landing.less: Updated class ".landing-metrics-card" to use background-blend-mode: color-dodge for svgs in landing metrics box. 2023-07-12 17:22:45 +03:00
Konstantina Galouni 378d7ccb83 [Explore | develop]: app-routing.module.ts: Set specific search routes for each entity before setting generic route "search/find/:entity" | Updating openaireLibrary and common-assets. 2023-07-07 13:56:55 +03:00
Konstantina Galouni 1d6e5deeed Updating libraries before release 2023-07-05 12:18:53 +03:00
Konstantina Galouni 57a4ca5420 [Library & common-assets | explore-redesign]: addThis.component.ts: Replaced addthis external library with addtoany - addthis is no longer supported | general.less: css for addtoany social icons (classes .fully_rounded .a2a_svg). 2023-07-04 19:12:34 +03:00
Konstantinos Triantafyllou 945b37f5b2 Merge branch 'explore-redesign' of code-repo.d4science.org:MaDgIK/explore-services into explore-redesign 2023-07-04 11:11:32 +03:00
Konstantinos Triantafyllou b30eba84bb Update libraries 2023-07-04 11:11:21 +03:00
Alex Martzios 38535403c5 WIP: create new funders page - TODO: intro content and responsive degisn of filters/sorting 2023-07-04 10:16:57 +03:00
Konstantina Galouni 7dbb5358d6 [Library & Explore | explore-redesign]: Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph" | Fixed duplicate queries in search all | Updated paper in FoS page | Improvements in sticky tabs (search all & landing).
1. Deleted assers/explore-assets/home/graph.svg - Replaced by assets/common-assets/common/graph-nodes.svg.
2. home.component.html:
   a. Updated graph image.
   b. Added in <div search-input>: [searchInputClass]="'inner background'".
   c. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
3. claimResultSearchForm.component.html & searchDataprovidersToDeposit.component.ts: Added in <div search-input>: [searchInputClass]="'inner background'".
4. searchAll.component.html:
   a. Updated margins/paddings for sticky tabs.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
5. searchAll.component.ts:
   a. [Bug fix] In method ngOnInit(), moved loadAll() call inside check - avoid duplicate calls to search for each tab with count query.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
6. fos.component.html:
   a. Updated paper of SciNoBo - replaced the old one with the newest.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
7. fos.component.ts: Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: [Improvement] Updated check and class for <landing-header> when sticky - make it invisible, when not sticky - solved flickering and change of content position.
9. showTitle.component.ts: Added @Input() isSticky: boolean = false; and when sticky, show only 1 line of the title (class lines-1).
10. landing-header.component.ts: Show only title when sticky and pass isSticky to <showTitle>.
2023-05-15 17:28:33 +03:00
Konstantina Galouni d0a5c3b469 [Library | explore-redesign]: Moved <quick-selections> to the left as filter and re-arranged the order of the filters.
1. searchFields.ts:
   a. Added in HIDDEN_FIELDS, "instancetypename" (refine filter for research products).
   b. In DEPENDENT_FIELDS, set ["instancetypename"]: "type"
2. quick-selections.component.ts: Added again (as in the past), @Input() vertical: boolean=false and show types using <search-filter> if vertical is true.
3. searchAll.component.html: Changed medium top and bottom margins to uk-margin-top uk-margin-bottom.
4. newSearchPage.component.ts:
   a. In method "getFields()", check for HIDDEN_FIELDS, also dependencies to resultTypes.
   b. Added method "getFilterById()".
5. newSearchPage.component.html:
   a. Moved <quick-selections> to the left as filter (removed "include" line).
   b. Added <ng-template #search_filter> and re-arranged the order of the filters
2023-05-12 18:52:13 +03:00
Konstantinos Triantafyllou 58fc4f84c2 Update Uikit version to 3.13.10. Update library and theme 2023-05-12 17:29:13 +03:00
Konstantina Galouni 3047236d1c [Library & openaire-theme & Explore | explore-redesign]: Added search form in menu (navbar) in landing pages.
1. search.less: Added css for modifier .small-vertical for .input-wrapper of <search-input>.
2. layout.service.ts: Added hasMenuSearchBarSubject: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false), parsing and getter/setter methods.
3. navigationBar.module.ts: Imported SearchInputModule.
4. navigationBar.component.ts:
   a. Added searchMode: boolean = false; and hasSearchBar: boolean = false; (and other helpful fields)
   b. Subscribe to queryParams to hide search bar and reset keyword | Subscribe to layoutService.hasMenuSearchBar to check if search should be included in navbar or not.
   c. Added methods "openSearch()" to show the search form and "goTo()" to trigger the search action and navigate to the search page.
5. navigationBar.component.html: Added <div search-input> and search-icon button to show search bar | Added checks if searchMode is enabled (search form visible) or not.
6. app-routing.module.ts: In routes for landing pages added in data: hasMenuSearchBar: true.
2023-05-11 17:17:16 +03:00
Konstantina Galouni 2da6b5f360 [Library | explore-redesign]: Added/ updated how filters appear in mobile screens | Updated search forms.
1. general.less: Added fixed position for .filters-toggle-button.
2. newSearchPage.component.html: Added floating button for filters in mobile screens.
3. advancedSearchForm.component.html: Re-introduced commented out <entities-selection> inside <advanced-search-input> | Removed iconPosition and commented button for filters inside search form.
4. home.module.ts: Imported SearchInputModule.
5. home.component.html: Replaced <advanced-search-input> with <div search-input>
6. searchDataProviders.component.ts: Set entitiesSelection to false for <new-search-page>
7. newSearchPage.component.ts & searchAll.component.html: Set entitiesSelection to false for <advanced-search-form>
2023-05-08 17:10:51 +03:00
Alex Martzios 58d5481166 update submodules 2023-04-25 13:11:47 +03:00
Alex Martzios b3934411ca update submodules 2023-04-21 13:37:36 +03:00
Konstantina Galouni 40d0a2a24c Updating openaireLibrary and openaire-theme library before merging develop branch into explore-redesign 2023-04-06 12:10:09 +03:00
Konstantina Galouni e36d6d5ed3 Updating common-assets library before merge. 2023-04-05 18:34:51 +03:00
Alex Martzios 2ba2990479 update submodules 2023-03-31 13:28:43 +03:00
Alex Martzios fdc3cc76b0 update submodules 2023-03-28 11:37:53 +03:00
Alex Martzios 21aeaf0efa update submodules 2023-03-27 13:03:25 +03:00
Konstantina Galouni a3194bb41a [Library | explore-redesign]: result-preview.component.html: [Bug fix] Added [relationName]="relationName" [provenanceAction]="provenanceAction" in <entity-metadata> to expose these info in Related Research in Result landing pages. 2023-03-16 13:57:33 +02:00
Alex Martzios 866d40cff1 update submodules 2023-03-01 16:49:51 +02:00
Konstantina Galouni e0e319119f [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
Konstantina Galouni 4235621315 [Library | explore-redesign]: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions) and their contents.
1. availableOn.component.ts: Mobile redesign - open in full screen modal instead of drop | icons updated.
2. fos.component.ts: In mobile show {{title}} instead of hardcoded title.
3. resultLandingUtils.module.ts: Imported FullScreenModalModule.
4. deletedByInference.component.ts: Removed class "uk-list-divider" for <result-preview> - after redesign each result has its own bottom border.
5. orcid.module.ts: Imported FullScreenModalModule.
6. orcid-work.component.ts: Mobile redesign - Added full screen modals propagationFsModal and grantFsModal.
7. resultLanding.component.ts: Added citeFsModal, addThisFsModal, alertModalDeletedByInferenceFS and property public mobileContent: "info" | "metrics" | "actions" = "info".
8. resultLanding.component.html: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions).
2023-02-21 16:10:21 +02:00
Konstantina Galouni b347ea300b [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
Konstantina Galouni 6199afde33 [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
Alex Martzios 2c759d2f15 update submodules 2023-02-16 13:00:18 +02:00
Konstantina Galouni d4b9d4954e [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 c1bb343097 add strictTemplates: true option in angularCompilerOptions (VS Code needs this for proper angular-language features to work), update submodules 2023-02-13 15:52:22 +02:00
Alex Martzios 1389b9d934 add new property for BIP charts API, update submodules 2023-02-08 11:21:49 +02:00
Alex Martzios 0623defdb6 start on result landing mobile redesign, update submodules 2023-01-24 15:33:37 +02:00
Alex Martzios d2bfe2560c update submodules 2023-01-23 16:19:14 +02:00