Commit Graph

328 Commits

Author SHA1 Message Date
Konstantina Galouni a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +03:00
Konstantinos Triantafyllou 23a47cc5da Merge develop into stats-profile 2023-06-26 15:25:47 +03:00
Konstantinos Triantafyllou 0face4b57f Fix an undefined error in searchInput of Input component. Add multi emails in invitation of manager and members and optimize subscriber invite. 2023-06-26 15:09:37 +03:00
Konstantinos Triantafyllou 2ca9f0bdd4 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-05-16 13:17:56 +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 2d01e7f945 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-05-05 17:07:11 +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 3b45f2ccb5 Merge branch 'develop' into stats-profile 2023-05-02 18:08:58 +03:00
Konstantinos Triantafyllou bd87a47795 Fix bug with UIKit sticky on page-content if header is changing width. 2023-05-02 18:08:48 +03:00
Konstantinos Triantafyllou d9d69031c8 Delete Stats Profile. Fix input autocoplete reset value on search. 2023-04-25 15:20:33 +03:00
Konstantinos Triantafyllou 6a2ac8cc4e Add stats profile entity class. Add stats profiles in admin tabs 2023-04-11 01:28:53 +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 7e21eb5ee9 Help contents: Fix buttons padding from grid and update form data from ckeditor on source change. 2023-03-29 15:43:56 +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 5bcc25fe84 Merge changes from monitor-production 2023-03-21 14:05:21 +02:00
Konstantinos Triantafyllou ed19051fc0 1. Fix a bug with get stakeholder promise. 2. Fix a bug with infinity loop in user-info page. 3. Fix a bug with verify member error modal open on success. 2023-03-21 14:02:59 +02:00
Konstantinos Triantafyllou 1e35eb5d6f 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-03-21 08:29:12 +02:00
Konstantinos Triantafyllou a4dbbffe20 Portals: Add piwik as a column. Add pid in search 2023-03-21 08:19:16 +02:00
Konstantinos Triantafyllou 978d9f0269 Add updateSubjects and advanced criteria in community service. Add margin-top in actions of users and subscribers. 2023-03-09 16:07:39 +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 679cae51f2 Quick fix in page content stickyBugWorkaround. 2023-02-15 12:04:09 +02:00
Konstantinos Triantafyllou 5a782ebd48 Merge branch 'angular-14' of code-repo.d4science.org:MaDgIK/openaire-library into angular-14 2023-02-15 11:53:32 +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 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