Commit Graph

483 Commits

Author SHA1 Message Date
Konstantina Galouni fbe514b740 [grouped-queries | DONE | CHANGED] Added groupedRequests.service.ts & groupedRequestsService.module.ts to call endpoints for grouped queries of each page | numbers.component.ts: Replaced queries of numbers (in Home page) with grouped query for home page of EXPLORE | searchAll.component.ts: Replaced count queries of each entity (in Search page) with grouped query for Search page of EXPLORE 2024-02-07 22:50:13 +02:00
Konstantina Galouni b357ff2ae2 [develop | DONE | CHANGED]: Remove preselected "Open Access" filter from search.
1. home.component.ts: Set field "resultsQuickFilter" to null.
2. searchAll.component.ts: Set field "quickFilter" to null | In method "entityChanged()" do not set parameter "resultbestaccessright" | [BUG FIX] Clear subscriptions from fetchOrps.
3. searchResearchResults.component.ts: Set field "quickFilter" to null.
4. navigationBar.component.ts: Set field "resultsQuickFilter" to null.
5. app.component.ts: Remove "resultbestaccessright" parameter from menu items of Search research products.
2024-02-07 21:28:45 +02:00
Konstantina Galouni 92f43c280e [develop | DONE | FIXED]: [BUG FIΧ] open-aire-jsonld-converter.service.ts: Fixed how description is set in methods "convertProject()", "convertDatasource()", "getDescription()" (called for research products). 2024-02-07 17:47:42 +02:00
Konstantina Galouni fa61b8bef4 [develop | DONE | CHANGED]: numbers.component.ts: Added in Numbers field "mergedFundersSize", and on init method call refine query for research products (results), to merge refine queries of research products and projects and set the mergedFundersSize (all funders that have research products, or have >1 project). 2023-11-24 16:59:55 +02:00
Konstantina Galouni 54e0181560 [develop | DONE | FIXED] numbers.component.ts: Updated method called in refine query to get funders of projects from "getRefineFieldsResultsByEntityName()" to "getAllRefineFieldResultsByFieldName()" to be able to get more than 100 funders each time. 2023-11-24 13:18:22 +02:00
Konstantinos Triantafyllou 8d6522270c Slider container: Fix error about observer 2023-10-16 14:34:48 +03:00
Konstantina Galouni 5948d61a47 Library | angular-16: Merge develop branch into angular-16 and resolve conflicts 2023-10-16 13:06:14 +03:00
Konstantina Galouni f0a48cd2e1 [Library | develop]: search-input.component.ts: [Bug fix] Added cdr.detectChanges() call on ngAfterViewInit, to solve expressionChangedAfterItHasBeenChecked error. 2023-10-16 11:44:18 +03:00
Konstantinos Triantafyllou dbbd7ec541 Input: Make error text-small 2023-10-12 13:10:02 +03:00
argirok 1bfff3b05c update footer links to webinars and blogs 2023-10-12 12:17:09 +03:00
Konstantinos Triantafyllou dce6e17ea1 Remove animtation from slider and fix active for nav items on resize. 2023-10-10 17:12:37 +03:00
Konstantinos Triantafyllou 5a9237399e Fix slider in tablet 2023-10-06 14:49:04 +03:00
Konstantinos Triantafyllou cfdd7b2e55 Add slider-components in slider-utils 2023-10-05 16:59:41 +03:00
Konstantinos Triantafyllou 11d0be4ffd Theme preview: Add inputs as fragment. Delete material icons from icons services 2023-09-12 18:41:22 +03:00
Konstantinos Triantafyllou 821c4242be Icon component: Add icon input in order to support Icon configuration. Extend Icon with type and preserveColor (optional). Add material-icons.ts with material icons metadata (icons per category). 2023-09-07 19:13:59 +03:00
Konstantinos Triantafyllou f2a2c52d43 Add default parameter in close canvas 2023-08-30 12:28:02 +03:00
Konstantinos Triantafyllou 1be082c2f3 Add hasStickyHeaderOnMobile in layoutService 2023-08-30 11:11:23 +03:00
Konstantinos Triantafyllou 55a995a348 Input: Date add calendar in mobile dropdown 2023-08-29 10:53:51 +03:00
Konstantinos Triantafyllou d9a8283630 Update to Uikit 3.16.24 2023-08-22 17:08:46 +03:00
Konstantinos Triantafyllou 3b6822c71f Update material to version 15 2023-08-01 11:40:55 +03:00
Konstantinos Triantafyllou 056faac88f Add mobile-dropown in dropdown-filter. Fix input autocomplete in mobile. Fix icon alignment in fundedBy. Add scroll to top in fs-modal and on change tab in landing mobile bar. 2023-07-26 11:49:50 +03:00
Konstantinos Triantafyllou 86ba54c7d0 Fix mobile-dropdown open-close. Fix input in mobile. Add mobile-dropdown in availableOn, fundedBy, showAuthors. 2023-07-25 19:09:09 +03:00
Konstantina Galouni 901855daa9 [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
Konstantinos Triantafyllou f7d8490e43 Stakeholder: Add projectUpdateDate. Input: Add date type. 2023-07-19 19:51:54 +03:00
Konstantinos Triantafyllou f9dcdd81cc Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-07-19 14:09:43 +03:00
Konstantinos Triantafyllou 584f1d22f8 Slider tabs: Fix initialization. 2023-07-19 14:09:10 +03:00
Konstantinos Triantafyllou 2b7c5da3d7 Input: Add * for required fields with type array. Scroll to top in open of a modal. 2023-07-18 15:27:02 +03:00
Konstantinos Triantafyllou 9855f5c179 Slider-tabs: Add template in slider-tab instead of title. Change tabs in search-all with slider-tabs. 2023-07-18 13:20:04 +03:00
Konstantinos Triantafyllou 55a0454330 Input: Fix errors when searchInput doesn't exists. 2023-07-14 18:27:16 +03:00
Konstantinos Triantafyllou 50422c0ab3 Merge remote-tracking branch 'origin/develop' into dynamic-piwik 2023-07-12 13:56:18 +03:00
Konstantinos Triantafyllou 9760ebab2e Create mobile-dropdown component and use it in Inputs. Change height to min-height in full-screen-modal and in cite-this. 2023-07-11 16:03:08 +03:00
Konstantina Galouni 110c854523 [Monitor Dashboard & Library | develop]: search.module.ts: Set in landing routes data: {hasMenuSearchBar: true} to show search bar in menu. | navigationBar.component.ts: If properties.searchLinkToAll is undefined, navigate to properties.searchLinkToAll from menu search bar. 2023-07-07 10:53:10 +03:00
Konstantinos Triantafyllou 87e75bca00 Navigation Bar: Remove link and routes from parent items in mobile-menu. Add search-input in mobile menu. 2023-07-06 16:57:40 +03:00
Konstantina Galouni 8b14aaf325 [Monitor & Library | develop]: [Bug fix] Refactor code for showing help button or not.
1. quick-contact.service.ts: Initialize display to true (assume it is not intersecting, otherwise in pages without this section, it can't be initialized correctly).
2. home.component.ts: Removed field "showQuickContact" | In constructor set quickContactService.setDisplay(false) | Refactor intersectionObserver.
3. app-routing.module.ts: In "contact-us" route, set data: {hasQuickContact: false}.
4. app.component.ts: Updated checks for <quick-contact> | Added public showQuickContact: boolean; to be initialized by layoutService.hasQuickContact.
2023-07-06 15:28:53 +03:00
Konstantinos Triantafyllou 76cb586ebd Add foslabel in searchFiles only for beta, dev. Change eoscifguidelines to refine. Input fix double icon in select with many values. 2023-07-06 12:53:37 +03:00
Konstantina Galouni a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +03:00
Konstantinos Triantafyllou aabd28d1f1 Fix disabled color for labels 2023-06-30 14:54:25 +03:00
Konstantinos Triantafyllou 2ef5d069dd Merge remote-tracking branch 'origin/master' into develop 2023-06-27 13:04:23 +03:00
Konstantinos Triantafyllou d80820fb52 Update wrong URL for helpdesk in footer 2023-06-27 13:04:08 +03:00
Konstantinos Triantafyllou 0face4b57f Fix an undefined error in searchInput of Input component. Add multi emails in invitation of manager and members and optimize subscriber invite. 2023-06-26 15:09:37 +03:00
Konstantinos Triantafyllou a37662cd7e Merge remote-tracking branch 'origin/develop' into dynamic-piwik 2023-06-08 11:31:27 +03:00
Konstantinos Triantafyllou 956d1f2c3f Navbar: Logo add small class if logoInfo exists. 2023-05-25 10:02:05 +03:00
Konstantina Galouni 9856805621 [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
Konstantina Galouni bda90f2c38 [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
Konstantinos Triantafyllou 53d3afefd1 Merge remote-tracking branch 'origin/develop' into explore-redesign 2023-05-16 11:12:28 +03:00
Konstantinos Triantafyllou 99492a2f08 Input: Fix arrow left-right on inputs with type != chips. Fix dirty status of from and to controls for year-range type. 2023-05-16 11:12:14 +03:00
Konstantinos Triantafyllou 416a15e3d0 Add background modifier in search-input in order to add background in search-icon. 2023-05-12 17:25:14 +03:00
Konstantinos Triantafyllou 123f355344 Input: Extend enter - before unfocus. Range-Filder: Add on enter method, in order to change year range on search. 2023-05-12 17:24:27 +03:00
Konstantina Galouni aef1a25a82 [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
Konstantinos Triantafyllou 389179540d Merge remote-tracking branch 'origin/develop' into explore-redesign 2023-05-10 11:54:09 +03:00