Commit Graph

94 Commits

Author SHA1 Message Date
Alex Martzios b0c69be6ef [develop | DONE | ADDED] irish-monitor: add new BehaviorSubject for enabling/disabling help-pop-up component on admin and non-admin pages 2024-03-08 12:50:55 +02:00
Konstantinos Triantafyllou ba1a3b9e62 [angular-16-irish-monitor]: Fix cancel invitation method of a user. Set rootClass only if it is changed. 2024-01-12 09:15:04 +02:00
Konstantina Galouni 88b5e06aa8 [master | DONE | CHANGED]: admin.component.ts & sidebar-base.component.ts: Added admin menu sidebar in super admin pages for help texts | admin.module.ts: In manage profiles page set hasAdminMenu: true, hasSidebar: false & removed path: 'irish/admin-tools' - :stakeholder will be called instead. 2024-01-09 14:16:35 +02:00
Konstantinos Triantafyllou 246cafa43f [angular-16-irish-monitor]: Add rootClass subject in layout service. 2023-11-24 10:51:22 +02:00
Konstantinos Triantafyllou 79d49c80e3 [angular-irish-16 | DONE]: Add datasource in Entities. Add logo in sidebar. 2023-11-16 14:36:44 +02:00
Konstantinos Triantafyllou e80f73f9a9 [angular-16-irish-monitor | WIP]: Add base components for stakeholder, indicators and sidebar. Deprecated StakeholderEntities. 2023-11-13 15:00:05 +02:00
Konstantinos Triantafyllou 06a2ae16ee [develop | DONE]: Set header-height to 0px instead of 0 in layout service 2023-11-03 16:52:52 +02:00
Konstantinos Triantafyllou a953195dc8 [angular-16 | DONE | CHANGED]: Make dashboard-sidebar sticky instead of fixed. 2023-10-25 15:16:13 +03:00
Konstantinos Triantafyllou 1be082c2f3 Add hasStickyHeaderOnMobile in layoutService 2023-08-30 11:11:23 +03:00
Konstantinos Triantafyllou d9a8283630 Update to Uikit 3.16.24 2023-08-22 17:08:46 +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
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 c321390ccb Fix bug in sidebar toggle item | Page content: Add timeout on initialization of header. 2023-05-03 16:29:59 +03:00
Konstantinos Triantafyllou 9446b64efd Sidebar: Toggle active item if sidebar items have been changed. 2023-04-03 12:15:49 +03:00
Konstantinos Triantafyllou f1f824674d Fix Server Error: Check if ResizeOserver exists 2023-03-28 08:57:18 +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 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 886b50a52c Change special menu item to back Item and move it in the top of sidebar 2023-03-01 15:20:00 +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 5454509b55 Fix sidebar flex items 2023-01-27 15:57:39 +02:00
Konstantinos Triantafyllou 70e0d02227 Add a workaround for sticky update bug on sidebar toggle 2023-01-25 14:41:53 +02:00
Konstantinos Triantafyllou 9f4be4b29b Bottom: Fix shortView. Sidebar: Add toggle and hover behaviour. 2023-01-25 08:00:35 +02:00
Konstantinos Triantafyllou 789a0225fa Add cookie in server side requests. Remove sticky footer from page-content in server. Hide subitems in sidebar on server 2022-12-23 17:36:35 +02:00
Konstantinos Triantafyllou 5bd828d03c Fix an error in sidebar 2022-12-20 17:39:51 +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
Konstantinos Triantafyllou 5bc5e3f3ad Merge branch 'angular-14' of code-repo.d4science.org:MaDgIK/openaire-library into angular-14 2022-12-10 01:57:04 +02:00
Konstantinos Triantafyllou 4afcb8f27f Change ol to ul in error message of role verifcation and fix a bug with toggle item with no subitems in sidebar 2022-12-10 01:56:56 +02:00
Konstantinos Triantafyllou 437a5fa50d Smooth scroll: Fix headerOffset in mobile 2022-12-09 18:17:06 +02:00
Konstantinos Triantafyllou 7cadb1ee98 Add isMobile in layoutService 2022-12-07 11:33:16 +02:00
Konstantinos Triantafyllou ed20502959 Helper Functions: Add routerMatcher function in order to add more than one path in route configuration. 2022-11-07 16:55:27 +02:00
Konstantinos Triantafyllou 7bae3b1ebb Add hasInternalSidebar variable in layout service. Sidebar: Fix keep enable subItem on parent close. 2022-11-04 16:35:10 +02:00
Konstantinos Triantafyllou 4f3daa8a3b Change Sidebar in order to extend with nav-sub functionality 2022-11-03 15:50:51 +02:00
Konstantinos Triantafyllou ac58161c93 Fix condition for icon in sidebar menu items and change title to tooltip 2022-10-24 17:32:07 +03:00
Alex Martzios 427e910514 create hasQuickContact behaviour subject for disabling in specific routes 2022-10-12 15:30:39 +03:00
Konstantinos Triantafyllou 460cbdfc9a Revert special item with previous style. Add type managers and members in notification form 2022-08-05 14:59:08 +03:00
Konstantinos Triantafyllou 6fbf67c221 Change size special item icon in sidebar 2022-08-05 10:33:04 +03:00
Konstantinos Triantafyllou 1a89313a13 Change menus page title 2022-08-04 18:43:27 +03:00
Konstantinos Triantafyllou 3f7078db16 Change special menu item style and move it to top 2022-08-04 17:58:45 +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 c1e1a3508c Fix layout service change header-height variable only in browser. Fix formControlName in helptext forms. Change resources menu item structure. 2022-08-02 23:13:12 +03:00
Konstantinos Triantafyllou d7f343f317 Change header_height css variable in layout service 2022-07-02 21:32:10 +03:00
Konstantinos Triantafyllou a738d3bb49 Sidebar: Remove active element. Pages, entities, portals, classes: Fix grid padding. Display-claims: disable search and dropdown-filter. 2022-07-02 14:43:18 +03:00
Konstantinos Triantafyllou 38f3e7656f Authors remove uk-box-no-shadow from button. Fix typos in guards. Sidebar: Fix second menu items subnav 2022-06-23 19:46:53 +03:00
Konstantinos Triantafyllou 4ed89bac13 Sidebar: Add uk-nav-default class in uk-nav. Pagination: Change ratio of icons. Theme preview: Add some missing components 2022-06-16 17:54:50 +03:00
Konstantinos Triantafyllou 73b6704124 1. Search Pages: Download link, search from bg with dark option. 2. Input add a no value selected option for select type. Search input toggle if input has no value. 3. Sidebar: Add uk-nav 2022-04-15 11:08:12 +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
Konstantinos Triantafyllou da6f220ae0 Disable sticky of page header if bottom is on the view. Inputs finish all types 2022-03-30 20:47:47 +03:00
Alex Martzios d26f56e260 design tweaks for dashboard - admin pages and start on remove sticky header when reaching footer 2022-03-29 16:05:09 +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