Commit Graph

38 Commits

Author SHA1 Message Date
Konstantina Galouni da3c2fccf2 [develop | DONE | FIXED]: Moved RoutingModule as first imported module with possible routing (advanced search projects & organizations were loading orcid routing instead of their own). 2024-03-04 17:02:33 +02: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
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
Konstantina Galouni 9418fab774 [Library | angular-14]: menu.component: Added commented code for creating new gateway specific pages when editing custom menu. 2022-12-07 12:09:01 +02:00
Konstantina Galouni 27d7c7c118 [Connect Admin | Library | new-theme]: Added call to purge browser cache when updating content of community.
1. env-properties.ts & environments/: Added property "deleteBrowserCacheUrl".
2. clear-cache.service.ts: Added method "purgeBrowserCache()" to purge browser cache for a specific community.
3. entities.component.ts & menu.component.ts & pages.component.ts & affiliations.component.ts & edit-community.component.ts add-content-providers.component.ts & remove-content-providers.component.ts & add-projects.component.ts & remove-projects.component.ts & subjects-edit-form.component.ts & personal-info.component.ts & customization.component.ts: Call "_clearCacheService.purgeBrowserCache()" when adding/updating/deleting content of a specific community.
4. connect-admin-customization.module.ts: Added CommunitiesService in providers.
5. connect-admin-customization.component.ts: Added button to purge browser cache for all communities and connect.
2022-08-11 12:58:20 +03:00
Konstantinos Triantafyllou 1a89313a13 Change menus page title 2022-08-04 18:43:27 +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
Alex Martzios 97250479ed fix error for reordering featured menu items 2022-07-20 12:14:38 +03:00
Konstantinos Triantafyllou ad68dcb0a8 follow up commit 2022-07-19 14:25:11 +03:00
Konstantinos Triantafyllou 9f64477585 Menu: Fix parent options update after create, edit or delete of a parent MenuItem. 2022-07-19 14:23:01 +03:00
Alex Martzios 8254edb477 progress on adding/removing parent option 2022-07-18 16:25:19 +03:00
Alex Martzios 019429e021 toggle menu & featured menu (TODO: edit child menu item) 2022-07-18 14:51:08 +03:00
Alex Martzios 0f80797035 finish menu & featured menu items 2022-07-18 13:07:03 +03:00
Alex Martzios c5da95fb48 change type var for menu component 2022-07-15 16:56:50 +03:00
Alex Martzios facb821605 reordering of children menu items (for admin users) 2022-07-15 15:24:23 +03:00
Alex Martzios 5ec26ce0cf create Menu class for mapping AP response 2022-07-15 13:36:55 +03:00
Alex Martzios e81b3bdc72 finish menu items for non-admins 2022-07-15 13:28:55 +03:00
Alex Martzios 5bbbc4e708 progress on menu for non-admin users - need to save the re-ordering of the items in the backend 2022-07-15 10:16:42 +03:00
Alex-Coded4 74bcc96847 start on new featured menu items 2022-07-11 10:25:00 +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
Konstantinos Triantafyllou 5e1fde7841 Add blend multiply to all logos in page content header. Add placeholder logo to getLogoURL function. Fix a bug with active menu item. Finish UI of pages, entities, portals, classes and class page content. 2022-06-26 23:30:54 +03:00
Alex Martzios 3559b7a7ca tweaks for admin: pages, entities, classes and portals html files 2022-06-21 12:22:28 +03:00
Konstantinos Triantafyllou cc417adb6b Fix all dashboard modals heights. Role verification remove custom buttons. 2022-06-20 16:17:26 +03:00
Alex Martzios fc73b55832 tweaks for inputs, buttons and tables to match new theme 2022-06-16 17:24:36 +03:00
Konstantinos Triantafyllou e82c7bb6f4 Deprecated icons that exist in Material Icons 2022-04-09 16:18:30 +03:00
Alex Martzios a2a34d3958 add featured menu item functionality - admin 2022-03-02 12:26:28 +02:00
Alex Martzios 3228c67a14 add warnings for disabled pages/routes on the menu items - dev only 2022-01-14 15:55:24 +02:00
Konstantinos Triantafyllou 7282f1bac5 Add validator for page route. Change icons for buttons. Disable edit page with a Portal PID. 2022-01-13 15:46:22 +02:00
Alex Martzios cd329c70e4 disabled create page button by default, fix a bug with endless loading - dev only 2022-01-13 11:23:27 +02:00
Alex Martzios 73491221f0 add error handling for menu items and pages, remove tooltip for small options 2022-01-11 17:20:05 +02:00
Alex Martzios b5330f3bf6 add required validators for url and route fields - dev only 2022-01-11 13:15:37 +02:00
Alex Martzios 97fc6f033a add changes for pages and dynamic menus - dev only 2022-01-11 12:05:40 +02:00
Alex Martzios 259ca4b5b1 working on sending menu save/update/delete on the backend - dev only 2022-01-05 16:41:49 +02:00
Alex Martzios ce37ca54f7 Progress on getting the menu menu items - dev only 2021-12-23 16:12:51 +02:00
Alex Martzios 660c5955f7 Work on dynamic menus with actual data - dev only 2021-12-23 09:22:07 +02:00
Alex Martzios 24fd2b3856 Progress on dynamic menu - dev only 2021-12-17 15:36:30 +02:00
Alex Martzios 0cddbdf857 Work in progress for new dymanic menu - dev only 2021-12-17 09:22:07 +02:00
Alex Martzios edad40ad0b Start on dynamic menu for connect-admin - dev only 2021-12-09 15:52:39 +02:00