Commit Graph

302 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou c53806f5b3 1. Add cache in get managers and members methods. 2. Add delete Authorization level with values curator and manager in role users for managers. Authorization level for mebers are always manager. 3. Clear cache when managers and members list has been updated. 2023-02-09 16:30:24 +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 3acd9a6c29 Portals: Add piwik as a column. Add pid in search 2023-01-26 12:35:05 +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
Alex Martzios 6ca864d376 remove "Admin Dashboard -" title and logo from monitor admin pages 2022-12-12 16:59:47 +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
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
Konstantinos Triantafyllou c0de2860ef Merge remote-tracking branch 'origin/angular-14' into mobile 2022-12-09 11:28:30 +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
Konstantinos Triantafyllou 7cadb1ee98 Add isMobile in layoutService 2022-12-07 11:33:16 +02:00
Konstantina Galouni ac83453f7e [Library & Connect Admin | angular-14]: environments/: Set property dashboard: 'connect' | page-help-content-form.component.html & class-help-content-form.component.html: [Bug fix] Set link to theme page depending on current dashboard and portal. 2022-11-29 18:11:29 +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 cdde9bb94c Termonilogy: Change position of graph element in order to fix a bug with its sticky position and fix route in div contents 2022-11-03 09:37:13 +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
Konstantinos Triantafyllou 8677e9dcd5 Merge branch 'master' into angular-14 2022-10-12 16:41:16 +03:00
Alex Martzios 427e910514 create hasQuickContact behaviour subject for disabling in specific routes 2022-10-12 15:30:39 +03:00
Konstantina Galouni cae2bcec86 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-09-27 11:23:03 +03:00
Konstantina Galouni ad5cc2ae19 [Connect Admin | Trunk]: subscribers.component.ts & subscriber-invite.component.ts & manage-user-notifications.component.html & users-managers.component.ts & users-subscribers.component.ts: Replace "subscriber" wording with "join/member". 2022-09-27 11:11:25 +03:00
Konstantinos Triantafyllou a31605e9d5 Update angular core and cli to version 14 2022-09-23 13:25:08 +03:00
Konstantinos Triantafyllou 9d856f4f7d Disable page-content sticky header release when approaching footer. 2022-09-20 11:01:51 +03:00
Konstantinos Triantafyllou 7bb2346ec2 Page Content: Fix replace header behaviour 2022-08-31 13:15:49 +03:00
Konstantinos Triantafyllou 29100c8d6f Page content: Remove observer component vars and add them in subscriptions array. 2022-08-30 13:11:32 +03:00
Konstantina Galouni de78e628bf [Monitor Dashboard | new-theme]: Updated develop page and added example | Made graph and feedback line sticky in indicators' page.
1. develop.component.ts: Added example bullet for research products & Updated view of bullets (removed quotes - type bold).
2. page-content.component.ts:
   a. Added <div id="page_content_sticky_footer" #sticky_footer> and <div id="page_content_footer" #footer>.
   b. Added methods "ngAfterContentChecked()", "observeStickyFooter()", "calcStickyFooterOffset()" to calculate offset of sticky footer.
3. monitor.component.html: Added graph & feedback line as sticky_footer in >= medium screens and as footer in small screens.
2022-08-29 14:57:05 +03: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 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 d55b1819de Fix help text save button while form is invalid 2022-08-02 23:23:19 +03:00
Konstantinos Triantafyllou 35c3728d7b Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-08-02 23:13:19 +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
argirok dbbb832bff Connect Admin Customization: create button that updates layout timestamp and create new css files 2022-08-01 17:32:25 +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
Konstantinos Triantafyllou e04d825c03 Add indicators page for monitor. Add tooltip in page/class content form and change container size. Add parentClass parame in theme page in order to view a specific style. Change admin login guard in order to allow curators to have access in some pages. Enable isPageEnabled method in configuration page in order to check if a specific page in specific portal isEnabled. 2022-07-27 12:34:10 +03:00
Konstantinos Triantafyllou 3eba038893 Allow create group for curators too. 2022-07-26 14:32:52 +03:00
Konstantinos Triantafyllou dd9f893e2f Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-07-25 11:16:10 +03:00
Konstantinos Triantafyllou 4f030e2274 Page content: Add uk-blur-background class 2022-07-25 11:16:01 +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
Konstantinos Triantafyllou f38c56fa7d Fix a bug with sticky condition in page-content 2022-07-18 00:46:58 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +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
Konstantinos Triantafyllou 333973aefd Fix condition for menu tab in pages and entities. Page content: Add isStickyActive accessor. Users: Check if sticky is Active in order to apply margins. 2022-07-14 11:29:29 +03:00
Konstantinos Triantafyllou 3b6498cb2e Dropdown Filter: Add overflow-auto. Fix all forms with disabled fields. Change all dashboard pages in order to apply sticky in actions instead of header. 2022-07-13 20:25:19 +03:00
Konstantina Galouni 85a7030929 [Library & Connect Admin | new-theme]: edit-community.component.ts & portals.component.ts & pages.component.ts & page-help-content-form.component.ts & page-help-contents.component.ts & entities.component.ts & divIds.component.ts & class-help-content-form.component.ts & class-help-contents.component.ts: On save/update/delete/toggle community/page/entity/divId/helptext/divHelptext , call clearCache() to immediately get changes in the dashboards. 2022-07-12 16:50:56 +03:00
Konstantinos Triantafyllou ccd220b68a Page and class help content form: Move buttons in inner section 2022-07-12 11:42:56 +03:00
Alex-Coded4 74bcc96847 start on new featured menu items 2022-07-11 10:25:00 +03:00
Konstantinos Triantafyllou 02bf9abee4 Delete isLoggedIn from portals and class-contents 2022-07-08 21:57:12 +03:00
Konstantina Galouni 72905d8599 [Connect Admin | Library | new-theme]: Redesign of remove/add projects and zenodo communities pages according to the new mocks.
1. searchProjects.service.ts: Added "params" parameter in "getFunders()" method.
2. resultsAndPagesNum.component.ts: Do not show number of results and pages when no results.
3. manage-communities.module.ts: Remove "group" and "lock" icons from registerIcons call.
4. add-projects.component & communityProjects.module.ts & manage-projects.component.ts & remove-projects.component: Redesign of remove/add projects pages according to the new mocks.
5. add-zenodo-communities.component & manage-zenodo-communities.component & preview-z-community.component.ts & zenodo-communities.component.ts & zenodo-communities.module.ts: Redesign of remove/add zenodo communities pages according to the new mocks.
2022-07-05 01:31:56 +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 936c870abc Make some page alignments in all dashboard pages 2022-06-30 18:22:35 +03:00
Konstantinos Triantafyllou 7ebf4f7f90 Add dropdown-filter component. Fix Paging format base on new mocks. Make some alignments in subscribers, pages, search-page and result-prview. UI of Manage Links page except result preview. 2022-06-30 13:40:37 +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 9b5607fbd0 Notify form: Open dropdown on empty. Delele unsused mailPrefsComponent. Finish UI of subscribers and invite subscriber. Fix an input bug in case of adding chip with enter key 2022-06-28 21:13:40 +03:00
Konstantinos Triantafyllou 4625ebf967 Finish UI of class help texts list, edit page/class help content 2022-06-27 15:50:21 +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
Konstantinos Triantafyllou 950f50030f Remove bulk options from portal page and entities 2022-06-24 18:20:40 +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 0c4df8a34d Change modal title background in dashboard modals 2022-06-21 13:41:44 +03:00
Alex Martzios 0a27651a65 pages and entities page actions structure 2022-06-21 13:17:43 +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
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
Alex Martzios fc73b55832 tweaks for inputs, buttons and tables to match new theme 2022-06-16 17:24:36 +03:00
Alex Martzios 73dae143f3 update text of invitation emails (monitor) and add stakeholder entities as enum 2022-06-09 10:38:06 +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 aa210384bc Rename uk-text-primary-gradient to uk-text-background 2022-04-14 12:50:59 +03:00
Konstantinos Triantafyllou 337a56ec75 1. Notify Form: Change view of form base on new redesign. 2. Input: Add a new type autocomplete_soft in order to use it in search. 3.Search Input: Add options for autocomplete. 4. Change some dashboard-inputs to inputs 2022-04-11 12:27:10 +03:00
Konstantinos Triantafyllou e82c7bb6f4 Deprecated icons that exist in Material Icons 2022-04-09 16:18:30 +03:00
Konstantinos Triantafyllou 41ef72e738 Fix Page header offset on sticky 2022-04-08 13:04:02 +03:00
Konstantinos Triantafyllou c818716190 Change header of pages, entities, portals, classes and classid 2022-04-07 21:28:45 +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
Alex Martzios dfd5876217 new inputs for search page and other overall tweaks 2022-04-05 15:26:26 +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
Konstantinos Triantafyllou dc0544d0d8 Page content: Add padding in header and inner. Complete input, textarea and select base on new redesign 2022-03-28 01:21:55 +03:00
Alex Martzios 3fd632a2b7 changes for users, pages and entities pages - redesign 2022-03-24 14:56:55 +02:00
Alex Martzios 59ff682af7 redesign of admin-dashboard pages 2022-03-22 17:47:38 +02:00
Konstantinos Triantafyllou 3f370dd293 Change sidebar active menu 2022-03-17 13:28:25 +02:00