openaire-library/dashboard
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
..
divId Add validator for page route. Change icons for buttons. Disable edit page with a Portal PID. 2022-01-13 15:46:22 +02:00
divhelpcontent Add validator for page route. Change icons for buttons. Disable edit page with a Portal PID. 2022-01-13 15:46:22 +02:00
entity changes for users, pages and entities pages - redesign 2022-03-24 14:56:55 +02:00
helpTexts Add validator for page route. Change icons for buttons. Disable edit page with a Portal PID. 2022-01-13 15:46:22 +02:00
menu add featured menu item functionality - admin 2022-03-02 12:26:28 +02:00
page changes for users, pages and entities pages - redesign 2022-03-24 14:56:55 +02:00
portal Add validator for page route. Change icons for buttons. Disable edit page with a Portal PID. 2022-01-13 15:46:22 +02:00
sharedComponents [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>. 2022-03-28 11:40:21 +03:00
users changes for users, pages and entities pages - redesign 2022-03-24 14:56:55 +02:00