Commit Graph

454 Commits

Author SHA1 Message Date
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
Konstantinos Triantafyllou 6be478cacc Add max-length=4 and text-center in inputs of year-range 2023-05-10 11:53:49 +03:00
Konstantina Galouni 128c03c671 Merged develop branch into explore-redesign 2023-05-09 19:04:06 +03:00
Konstantinos Triantafyllou 7e699ae8e7 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-05-09 15:38:46 +03:00
Konstantinos Triantafyllou 49f9bec70d Add year range in types of input component 2023-05-09 15:38:37 +03:00
Konstantina Galouni d6ec928237 [Monitor & Library | develop]: [Bug fix] Show quick contact button when not in contacts us and not intersecting either with contact us section (home page), nor with bottom.
1. layout.service.ts: Initialize hasQuickContactSubject to false (Don't ever show it unless it should be there).
2. quick-contact.service.ts: Initialize display to false (Assume it is intersecting, until it is proved it is not).
3. app.component.ts: Updated checks for <quick-contact> and added public bottomNotIntersecting: boolean; and public displayQuickContact: boolean;
2023-05-08 17:50:39 +03:00
Konstantinos Triantafyllou 49e2edfe84 Change piwik service methods in order to get the piwik from portal configuration 2023-04-26 14:10:45 +03:00
Konstantinos Triantafyllou 65415d0146 Remove text transform from chips in input 2023-04-20 14:53:40 +03:00
Konstantina Galouni e1b5f4a46d Library | explore-redesign: Merging develop branch into explore-redesign 2023-04-06 12:06:12 +03:00
Konstantinos Triantafyllou 6dafcb391a Fix bug in slider-tabs with max-width in vertical tabs 2023-04-05 12:16:40 +03:00
Konstantinos Triantafyllou acc9338ec0 Remove header from pages, entities, menus etc. Add custom class in items of user-mini. Slider-tabs: Emit active in dynamic type. 2023-03-27 14:59:17 +03:00
Konstantinos Triantafyllou a9f31d8307 1. Add notifications in user-mini in mobile 2023-03-24 17:13:33 +02:00
Konstantinos Triantafyllou d2543181e7 1. Input: Change default class to flat. 2. Monify icon in sidebar-mobile-toggle. 3. Align mobile sidebar items base on main menu. 2023-03-22 17:54:54 +02:00
Konstantinos Triantafyllou 259182b7c4 1. Slider: Hide arrows in mobile. 2. Change offcanvar in navbar mobile menu to have close on the left. 2023-03-22 17:14:11 +02:00
Konstantinos Triantafyllou cdd59b68ab Claims: Fix color of icon in cards. Input: Add noWrap for chips in order to show them in a row. Add extendEnter Input in order to extend enter event. 2023-03-10 17:13:33 +02:00
Konstantina Galouni b25c6dd2f7 [Library | develop & EOSC Explore | master]: Redirect to eosc search for any page except landing | If property adminToolsPortalType is eosc, open search links to OpenAIRE Explore in a new tab.
1. home.component.html: Commented everything.
2. home.component.ts: Commented everything and added redirect to EOSC search.
3. app.component.ts: Commented <navbar>.
4. app-routing.module.ts: Removed unused routes | For any route other than landing, redirect to home page.
5. index.html: Removed BETA badge | Updated title from "Search OpenAIRE" to "Search EOSC".
6. errorPage.component.ts & relatedDatasourcesTab.component.ts & showAuthors.component.ts & search-tab.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab.
7. fos.component.ts & sdg.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab | If property adminToolsPortalType is eosc, do not show "feedback/suggest" link.
8. open-aire-jsonld-converter.service.ts: If property adminToolsPortalType is eosc, do not add fos and sdgs as doc.isPartOf.
2023-03-09 10:54:03 +02:00
Konstantinos Triantafyllou 1d2a0effa8 Input: Show static placeholder in case of autocomplete. Update validators of form control when input validators is changed 2023-03-07 12:26:26 +02:00
Konstantinos Triantafyllou 4a03065dbd Input component: Delete depracated inputs, add visibleChips limit, add separators for chips and style note with italic 2023-03-06 13:18:16 +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 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
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 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
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 9f4be4b29b Bottom: Fix shortView. Sidebar: Add toggle and hover behaviour. 2023-01-25 08:00:35 +02:00
Konstantinos Triantafyllou a2af95098b Add password boolean in Input component 2023-01-05 10:53:08 +02:00
Konstantinos Triantafyllou 92b823a1ed Fix input tooltip when value is undefined and a placeholder or hint should be shown 2022-12-16 17:19:53 +02:00
Konstantinos Triantafyllou 37545606a0 Fix a bug with replace header in navbar. Page content add header and actions class in order to handle border bottom in tabs 2022-12-12 16:16:47 +02:00
Konstantina Galouni 53a39d0a34 [Library | angular-14]: navigationBar.component: Added field "public featuredAlignment: string = MenuAlignment.CENTER.valueOf();" and align custom menu according to this, dynamically. 2022-12-09 16:49:07 +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 de42da8b6c Change search in order to apply mobile style 2022-12-07 16:56:16 +02:00