Commit Graph

1134 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou cffe2a0967 Remove BrowserStateModule 2023-08-02 14:04:32 +03:00
Konstantinos Triantafyllou 3011294f5b Update material to angular 16. 2023-08-02 14:02:51 +03:00
Konstantinos Triantafyllou eb15f07ef0 Update angular to angular 16. 2023-08-02 14:02:11 +03:00
Konstantinos Triantafyllou 89788f660d Update Zone to 0.13.1 2023-08-02 13:57:33 +03:00
Konstantinos Triantafyllou 986aecfe2a Update material to angular 15. 2023-08-02 12:48:36 +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
Konstantinos Triantafyllou 12ee95b98c Update typescript to version 4.9.5 2023-08-02 12:32:27 +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
Konstantina Galouni d9549f8c93 [Library | develop]: funders.component.html: Show number of projects before number of research products in funders cards. 2023-07-27 16:02:01 +03:00
Konstantina Galouni ac797aba3c Updating openaireLibrary before beta release.. 2023-07-27 15:51:11 +03:00
Konstantina Galouni 5883af71da [Library | develop]: entity-actions.component.ts & transferData.component.html & orcid-work.component.ts & resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Added "tooltips/messages" under the landing actions in mobile-small screens. 2023-07-27 15:28:40 +03:00
Konstantinos Triantafyllou ccc59c14b0 Update library and assets 2023-07-25 19:10:31 +03:00
Konstantina Galouni ca9f2bca45 [Library | develop]: In search bars, set in placeholder the portal name according to the configuration name.
1. home.component & navigationBar.component: Get portalName by config.portalAsObservable>name and set placeholder to "Search "+portalName.
2. searchAll.component.ts: Set default value of "formPlaceholderText" to "Search".
3. advancedSearchForm.component.html: Set placeholder of input (when there is also the <entities-selection>) to [placeholder]="formPlaceholderText".
2023-07-24 16:25:20 +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
Konstantina Galouni 48906a3e28 [Explore | develop]: funders.component.ts: [Bug fix] When there is a funder dashboard with no research products or projects, do not show this funder at all. 2023-07-17 16:59:12 +03:00
Konstantina Galouni 36108a81f1 [Explore | develop]: funders.component.ts: [Bug fix] Updated logoUrl parsing - if isUpload is true, get logo from properties.utilsService + "/download/". 2023-07-17 16:37:51 +03:00
Konstantinos Triantafyllou c7ffca77fd Update library 2023-07-13 14:44:28 +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 eda8c5c2d9 [Explore | develop]: app.component.ts: Added open access param in sub menu items of research products (publications, software, ...) | home.component.ts: Removed an unnecessary log. 2023-07-11 15:26:38 +03:00
Alex Martzios cf7664534b add funders' page content, enable route from app-routing file, update submodules 2023-07-11 13:00:13 +03:00
Alex Martzios 9556ae36b9 funders page: responsive design for sorting actions 2023-07-07 16:30:51 +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 a23afc29d2 [Explore | develop]: [Bug fix] Refactor code for showing help button or not.
1. home.component.ts: Removed field "showQuickContact" | In constructor set quickContactService.setDisplay(false) and in ngOnDestroy quickContactService.setDisplay(true) | Refactor intersectionObserver.
2. app.component.ts: Updated checks for <quick-contact> | Added public bottomNotIntersecting: boolean; and public displayQuickContact: boolean; (check if intersecting with specific section in home page) | Added disconnect in ngOnDestroy for IntersectionObserver subscriptions.
2023-07-06 16:14:31 +03:00
Konstantina Galouni 1d6e5deeed Updating libraries before release 2023-07-05 12:18:53 +03:00
Konstantina Galouni 3b7af8f0b0 Merge pull request 'Merging explore-redesign branch into develop for Explore July release' (#1) from explore-redesign into develop
Reviewed-on: #1
2023-07-05 11:16:45 +02:00
Konstantina Galouni beece2680b Updating openaireLibrary before merging develop branch into explore-redesign 2023-07-05 11:43:08 +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
Konstantina Galouni a6d24784fc [Library | explore-redesign]: dataProvider.service.ts & dataProvider.component.ts: Added method "getCollectedFulltexts()" in service and component to get and parse number of collected fulltexts from a new stats api - commented/ API is still in dev. 2023-07-04 19:10:15 +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
Alex Martzios 6784c8ad62 update submodules 2023-06-08 10:55:22 +03:00
Alex Martzios 9974e9e1f4 update submodules 2023-06-07 11:09:56 +03:00
Konstantina Galouni 5f445e5c08 [Library | explore-redesign]: Bug fixes in what is executed when tabs of search all are clicked - formPlaceholderText and simpleKeywordChanged().
1. searchAll.component.ts: [Bug fix] From previous commit - Set formPlaceholderText outside if condition.
2. advancedSearchForm.component.ts: [Bug fix] In method "simpleKeywordChanged()", do not check for selectedEntity when !this.entitiesSelection (selectedEntity is changed only when exists <entities-selection>.
2023-05-19 19:09:37 +03:00
Konstantina Galouni dc248e999d [Library | explore-redesign]: Bug fix in sticky tabs of search all | Updated formPlaceholderText of search form in search all - different for each entity | Search form not sticky in advanced search page.
1. searchAll.component.ts:
   a. [Bug fix] Subscribe to layoutService.isMobile and calculate there the "offset" (for sticky tabs).
   b. Updated "formPlaceholderText" - different for each entity.
2. newSearchPage.component.html: Added check, so that search form is not sticky in advanced search pages.
2023-05-19 17:49:38 +03:00
Konstantina Galouni 9611021a55 [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls.
1. dataProvider.component.html & project.component.html & resultLanding.component.html: [Bug fix] Updated checks for usage counts iframes and changed the order they appear (first views, then downloads).
2. dataProvider.component.ts & project.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] Updated parsing of dataProviderInfo.measure.counts when querying external usage counts api.
3. resultLanding.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] In bipFrameUrl, when environment == "beta", add "&src=beta" parameter.
4. orcid-work.component.ts:
   a. [Bug fix] Updated disabled class checks, to enable orcid buttons in search too when there are identifiers.
   b. When loading - action is in progress, show loading icon next to the label.
   c. In my orcid links page: renamed "Add to ORCID" to "Claim" and "Delete from ORCID" to "Remove".
5. newSearchPage.component.html: [Bug fix] Updated checks for "filters" floating button in mobile/ small screens.
6. Added method "detectChanges()" to be called by html.
7. navigationBar.component.html: Updated placeholder of search-input to align with the generic search form (Home page).
8. ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local.
2023-05-19 14:37:23 +03:00
Alex Martzios 9be9d575a3 update submodules 2023-05-19 11:32:14 +03:00
Konstantina Galouni 392cac52f2 [Library | explore-redesign]: Hide numbers of entity tabs on mobile screens | Bug fix in search filters.
1. searchFilter.component.ts: [Bug fix] In method "filterKeywords()", set hasMatch and call detectChanges(), only if !hasMatch.
2. searchAll.component.html: Hide numbers of entity tabs on mobile screens.
2023-05-16 14:29:31 +03:00
Konstantina Galouni e012c5c77c [Library | explore-redesign]: Bug fixes in range filter, advanced search link of search all page, search results "cards" in mobile screens.
1. rangeFilter.component: [Bug fix] Removed from method get disabled() check of isDisabled and added this check for class "disabled" in action/button (error on enter, because isDisabled was already true before triggering the action of yearChanged).
2. search-input.component.ts: [Bug fix] Added check for client side in ngAfterViewInit(), before calling "getComputedStyle".
3. searchAll.component:
   a. Set "advancedSearchLink" properly and pass it to each search entity page in "simpleSearchLink" parameter.
   b. In <advanced-search-form>, pass parameters [entityType]="activeEntity" and [advancedSearchLink]="advancedSearchLink" [advancedSearchLinkParameters]="parameters".
4. advancedSearchForm.component.html: Removed check this.entityType == this.selectedEntity from advanced search link.
5. searchFilter.component.ts: In filterKeywords() method, added cdr.detectChanges().
6. searchResult.component.html: [Bug fix] Reverted [isMobile] parameter to <result-preview" (removed by mistake in a previous merge).
2023-05-16 12:28:35 +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
Alex Martzios f63e83258d update submodules 2023-05-15 13:09:53 +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
Alex Martzios dc21fd528d update submodules 2023-05-12 15:55:32 +03:00
Alex Martzios 0d9688a980 update submodules 2023-05-12 14:00:52 +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
Alex Martzios bdad7dc6e6 update submodules 2023-05-11 12:42:35 +03:00