openaire-library/dashboard/sharedComponents/sidebar
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
..
sidebar-mobile-toggle 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
layout.service.ts [Library & openaire-theme & Explore | explore-redesign]: Added search form in menu (navbar) in landing pages. 2023-05-11 17:17:16 +03:00
sideBar.component.html 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
sideBar.component.ts Fix bug in sidebar toggle item | Page content: Add timeout on initialization of header. 2023-05-03 16:29:59 +03:00
sideBar.module.ts Bottom: Fix shortView. Sidebar: Add toggle and hover behaviour. 2023-01-25 08:00:35 +02:00
sidebar-content.component.ts Add a workaround for sticky update bug on sidebar toggle 2023-01-25 14:41:53 +02:00