Commit Graph

141 Commits

Author SHA1 Message Date
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 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 a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +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
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
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 a9f31d8307 1. Add notifications in user-mini in mobile 2023-03-24 17:13:33 +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 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
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
Konstantinos Triantafyllou de39d90199 Navigation bar: Remove wrong div from previous merge 2022-12-01 11:48:29 +02:00
Konstantinos Triantafyllou 1ed9b7db9b Merge from angular-14 2022-12-01 11:22:46 +02:00
Konstantinos Triantafyllou 095e3340c0 Finish mobile menu and user menu in mobile 2022-11-30 17:49:38 +02:00
Konstantina Galouni 508dac6c4d Merge origin/master into angular-14 branch 2022-11-29 14:13:29 +02:00
Konstantinos Triantafyllou 49efb05026 Merge from angular-14 for navigation menu 2022-11-28 16:37:12 +02:00
Konstantinos Triantafyllou a4c95bb16b Introdule new mobile menu 2022-11-28 16:25:05 +02:00
Konstantina Galouni f935e81959 [Library | EOSC Explore]: Updated styles | Updated link to Marketplace for EOSC::RO-crate | Bug fix in description of results versions | Removed timeout from reports.service.ts.
1. home.component.html: Added blue banner, white logo, aligned search form to the center and updated fonts according the new EOSC Marketplace.
2. parsingFunctions.class.ts: Updated link to Marketplace for eosc subject EOSC::RO-crate.
3. resultLanding.component.html: Updated how links to Compatible EOSC Services are displayed.
4. searchAll.component.html: Updated paddings and margins in search form of Search all page.
5. navigationBar.component.html: Set burger menu icon to light color if dark background.
6. advancedSearchDataProviders.component.ts & advancedSearchOrganizations.component.ts & advancedSearchProjects.component.ts & advancedSearchServices.component.ts & searchResearchResults.component.ts & searchDataproviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts & searchServices.component.ts & search.component.ts: Set in searchForm, dark=true.
7. aggregators.ts: In eoscInfo, updated logoUrl and removed customCss of AggregatorInfo.
8. app.component.ts: Set header.darkBg: true.
9. Added eosc-custom.less file.
10. styles.less: import eosc-custom less file, instead of portal-custom.css.
11. deletedByInference.service.ts & result-preview.ts: [Bug fix] Parse description of versions properly.
12. reports.service.ts: Copy fix from angular-14 branch - do not timeout to 10000.
2022-11-28 14:37:37 +02:00
Alex Martzios 2ad798c38a add communities' custom menu items for mobile 2022-11-28 14:24:21 +02:00
Konstantina Galouni 8059059660 [Library | new-theme]: [Bug fix] navigationBar.component.html: Toggle button was hidden@l, but menu was hidden@m. - removed uk-hidden@m from #canvas id="tm-mobile", to be visible in small and medium screens. 2022-09-21 01:47:21 +03:00
Konstantina Galouni 4cec2907da [Explore | Library | new-theme]: resources.service.ts & menu.ts & navigationBar.component.ts & navigationBar.component.html & app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead. 2022-09-20 18:00:19 +03:00
Konstantinos Triantafyllou 81b3a5f8b4 Add breadcrumbs in resources pages. Change hide delay in navbar dropdown 2022-08-29 16:30:12 +03:00
Konstantinos Triantafyllou a33226250b Add scale up animation for logo 2022-08-04 16:46:42 +03:00
Konstantinos Triantafyllou 6a7559a3ad Add replaceHeader in Navbar Header and a handler in layout service. Change header info in dashboard pages. 2022-08-04 15:29:08 +03:00
Konstantinos Triantafyllou d7b394520f Fix a style bug in notification-user. Add manager authorization in admin login guard(optional). Add resources service for Resource menu item build. Move methodology in library. Fix sub-submenu items with _self target in navigation bar. 2022-07-29 12:15:54 +03:00
Alex Martzios a79e9f6cc9 display normal & featured menu on connect front-end based on show/hide boolean value 2022-07-20 12:13:55 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +03:00
Konstantinos Triantafyllou b758cf0f5e Navbar: Fix removal of margin in bottom of dropdown-nav 2022-07-11 17:32:51 +03:00
Konstantinos Triantafyllou 376d56d395 Navbar add uk-light if dark background is applied in main menu 2022-07-04 22:34:28 +03:00
Konstantina Galouni bbbb711865 [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon.
1. availableOn.component.ts: [Bug fix] Added class "uk-link-text" in links of license and providers.
2. menu.ts: In MenuItem added field target: string = "_blank"; and in constructor added parameters and initialization of target, type, isFeatured.
3. navigationBar.component.html: Updated checks for "custom-external" class and target according to target field of MenuItem.
4. app.component.ts: In "Manage" menu item set target to "_self".
5. menu.component.ts: (Admin form) In method "menuItemSaveConfirmed()" added: this.menuItemForm.value.target = this.menuItemForm.value['type'] == "internal" ? "_self" : "_blank";
2022-06-29 13:56:19 +03:00
Alex Martzios beb21be4a0 tweaks for navbar (featured menu items) 2022-06-27 13:46:39 +03:00
Konstantina Galouni c6a7b6a400 [Library | new-theme]: navigationBar.component.html: Added "uk-active" class in custom menu items and subitems. 2022-06-21 19:52:45 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +03:00
Alex Martzios ba70aaa12e comment out featured menu item - nav bar for now 2022-06-14 13:28:16 +03:00
Konstantinos Triantafyllou bc5f5860f9 Quick contact: Fix a bug with dropdown and add some inputs to make it dynamic. GeneraL: Fix some breadcrumb alignments and fix modal overflowBody parameter 2022-06-02 17:27:45 +03:00
Konstantinos Triantafyllou cee1d9f876 Add advanced-search-input with entities selections in all search-pages 2022-04-16 00:49:35 +03:00
Konstantinos Triantafyllou f20fe90aa2 1. Navbar: Change navbar to be sticky always. 2. Search Filter: Add new inputs. 3. Page-content: Remove offset changing base on menu. 4. Pages add new search-input. 5. Advanced Search Input: Add enter behaviour and make inputs by default equal size. 2022-04-07 18:17:52 +03:00
Konstantinos Triantafyllou 510f4c56ba 1. LayoutService: Delete isDashboard. 2. Navbar: fix a bug with class add and remove. 3. Role-users: Add new search-input. 4. Modal make title h5 2022-04-07 01:09:49 +03:00
Konstantina Galouni 99ed7ea6ba [Library & Monitor Dashboard | new-theme]: Sidebar & Navbar checks updated to use the same method | "activeMenuItem" in route data (optional) to set which menu item is active when url does not match | Bug fix in <my-tabs>.
1. layout.service.ts: Added "activeMenuItemSubject" to keep value of data['activeMenuItem'].
2. menu.ts: Removed "markAsActive" (not used) | Set RootMenuItem as deprecated (should use only MenuItem) | Added "isTheActiveMenuItem()" method to check if a MenuItem (root or not / sidebar or navbar) is active.
3. navigationBar.component.ts: Updated "isTheActiveMenu()" method to call MenuItem.isTheActiveMenu() | Removed method "isTheActiveMenuItem()".
4. navigationBar.component.html: Always call "isTheActiveMenu()" method.
5. sideBar.component.ts: Added "get currentRoute()" and updated method "isTheActiveMenuItem()".
6. tabs.component.ts: [Bug fix] Removed [class.uk-active] from <li> of tabs (since small-tabs are not currently used it is ok to remove this) - caused by version update of Uikit.
7. monitor-routing.module.ts: Set activeMenuItem: "dashboard" for any path under a stakeholder that has nothing or anything under a topic. | Set activeMenuItem: "search" in paths under search.
8. app-routing.module.ts: Set activeMenuItem: "manage" for paths under admin/:stakeholder.
9. app.component.ts: Updated menu in Admin Dashboard (all items visible and logo of monitor used) | Set value for MenuItem.routeActive when adding menu items of topics and users.
2022-03-28 11:40:21 +03:00
Konstantinos Triantafyllou ed01151b27 Syncronize page content sticky with navbar 2022-03-16 15:10:35 +02:00
Konstantinos Triantafyllou 35a8a098c3 Remove uk-width-1-1 from uk-logo and add margin-left 2022-03-14 19:45:11 +02:00
Konstantinos Triantafyllou 4ccabced6d Change smooth-scroll to check last component instead of Route. Page content sticky base on new uikit version 2022-03-14 18:35:00 +02:00
Konstantinos Triantafyllou cb0ac1b9df Navbar make menu position center default. Fix menuitems subnav 2022-03-09 23:38:05 +02:00
Konstantinos Triantafyllou d7598eb350 Change page-content to be sticky on scroll up 2022-03-08 20:35:00 +02:00
Konstantinos Triantafyllou 6fb5cf54ba Add graph as icon in library. Navigation bar remove uk-link from all links. 2022-03-04 17:31:09 +02:00
Konstantinos Triantafyllou 360cc0f3e3 Add extra-s and extra-m to add content after login. Fix position of indicator in mobiles 2022-03-03 18:19:06 +02:00
Konstantinos Triantafyllou 52f1abfdbf Change navbar to sticky only at top. Make page-content header sticky. Fix a bug in icons component 2022-03-03 17:44:59 +02:00
Konstantinos Triantafyllou 2b7c52a8b0 Merge from master 2022-03-03 14:35:55 +02:00
Konstantinos Triantafyllou 4698a5fafd Delete old sidebar. Make some changes in navbar and user-mini 2022-03-02 23:48:21 +02:00