Commit Graph

430 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 8677e9dcd5 Merge branch 'master' into angular-14 2022-10-12 16:41:16 +03:00
Konstantinos Triantafyllou 09706515ba Search Input: Add icon position and focus state 2022-10-12 12:23:24 +03:00
Konstantina Galouni ce842a39c6 Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 13:56:24 +03:00
Konstantina Galouni 3c1623d12c [Aggregator]: Updates in css | Bug fix in isRouteEnabled check.
1. portal.ts & aggregators.ts: [Bug fix] In method "getMockCommunityInfo()" set also pid for community (isRouteEnabled.guard needs it) | Updates in less files (overrides of colors)
2. styles.less: Updated imports (added linking, landing and canada-custom and removed aggregator-custom).
3. numbers.component.ts: Updated default value of @Input() colorClass to "uk-text-primary".
4. connectHelper.ts: In method "getCommunityFromDomain()" added also "aggregator" and "eosc" portal types to set domain on development.
2022-10-03 20:25:37 +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 ac35a83cef Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-09-26 17:25:44 +03:00
Konstantina Galouni 360562178b [Aggregator | Trunk]: Renaming and using less files for assets | Updating home page to look ok | TODO: Fix less files to be real less & organize rules among files. 2022-09-23 16:33:26 +03:00
Konstantinos Triantafyllou a31605e9d5 Update angular core and cli to version 14 2022-09-23 13:25:08 +03:00
Konstantina Galouni 8059059660 [Library | new-theme]: [Bug fix] navigationBar.component.html: Toggle button was hidden@l, but menu was hidden@m. - removed uk-hidden@m from #canvas id="tm-mobile", to be visible in small and medium screens. 2022-09-21 01:47:21 +03:00
Konstantina Galouni 4cec2907da [Explore | Library | new-theme]: resources.service.ts & menu.ts & navigationBar.component.ts & navigationBar.component.html & app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead. 2022-09-20 18:00:19 +03:00
Konstantinos Triantafyllou 81b3a5f8b4 Add breadcrumbs in resources pages. Change hide delay in navbar dropdown 2022-08-29 16:30:12 +03:00
Alex Martzios f77cfb48f9 remove SharedModule and use library's instead 2022-08-29 14:04: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 a33226250b Add scale up animation for logo 2022-08-04 16:46:42 +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 c8d27f6b57 update tooltip for research products in search 2022-08-02 16:49:09 +03:00
Alex Martzios aaf8c50c68 Search - add tooltip for research products 2022-07-29 12:24:15 +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
Alex Martzios a79e9f6cc9 display normal & featured menu on connect front-end based on show/hide boolean value 2022-07-20 12:13:55 +03:00
Konstantinos Triantafyllou 9a03dd9a3d Import variables in quick-contact.less. Remove uk-section from breadcrumbs in search-page 2022-07-18 00:45:26 +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 13a3590559 use new API response for getting the menu items 2022-07-15 13:43:11 +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
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
Konstantinos Triantafyllou b758cf0f5e Navbar: Fix removal of margin in bottom of dropdown-nav 2022-07-11 17:32:51 +03:00
Konstantinos Triantafyllou ad15aaae31 Subsciber-invite: Remove longView. Fix conditions 2022-07-06 12:31:55 +03:00
Konstantinos Triantafyllou 376d56d395 Navbar add uk-light if dark background is applied in main menu 2022-07-04 22:34:28 +03:00
Konstantinos Triantafyllou f08c63d384 Input: Add placeholder class in static placeholder in select 2022-07-04 21:43:50 +03:00
Konstantinos Triantafyllou 721a8c6a09 Add mining icon. Add method to get Affiliations in affiliations service. Remove cancel emit from ok button in full modal 2022-07-04 21:38:27 +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
Konstantina Galouni 0839b6df60 [Connect Admin | Library | new-theme]: Match menu for communities in admin & dashboard | Added missing property "adminPortalURL".
1. environments/: [Bug fix] Added missing property "adminPortalURL".
2. community-routing.module.ts: Added "user-info" path for each community.
3. app.routing.ts: Set "hasSidebar" to true for "user-info" path.
4. app.component.ts:
   a. Set "user-info" path in userMenuItems under community if any selected.
   b. In menuHeader for community set logoUrl and logoSmallUrl to headerLogoUrl (community logo).
   c. When community is selected, added in menu all items of dashboard too (menu same in admin and dashboard).
5. app.component.html: In <navbar> added input parameter "communityId".
6. navigationBar.component.ts: On "initialize()" method, clear "showEntity" and "showPage" fields before filling them again and subscribe to communityInformationState if there is a community and adminToolsAPIURL OR if adminToolsPortalType is community (admin & dashboard).
7. community.service.ts: On getCommunityAsync() method, after await call clearSubscriptions().
2022-07-01 11:27:47 +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
Alex Martzios 78fcf59349 fix for footer's develop link 2022-06-28 09:55:49 +03:00
Alex Martzios beb21be4a0 tweaks for navbar (featured menu items) 2022-06-27 13:46:39 +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
argirok d12138bc2a resultLanding: update jsonld to include isPartOf url with FOS/SDG search pages 2022-06-22 16:13:28 +03:00
Konstantina Galouni c6a7b6a400 [Library | new-theme]: navigationBar.component.html: Added "uk-active" class in custom menu items and subitems. 2022-06-21 19:52:45 +03:00
Konstantina Galouni bbce674da9 [Connect & Library | new-theme]: Breadcrumbs position updated in html pages | Bug fix in custom menu items | In search menu, use OpenaireEntities.
1. app.component.ts: In search menu, use OpenaireEntities.
2. navigationBar.component.ts: [Bug fix] In method "isTheActiveMenu()", update condition to "if(menu instanceof MenuItem || !menu.rootItem)" - custom menu items via admin tools are MenuItems but not instanceof MenuItem.
3. projectsPage.component.ts & nationalBulletinsPage.component.ts & contentPage.component.ts: Margins & paddings updated, so that breadcrumb is at the same position on all pages.
2022-06-21 19:37:21 +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 d01ba65537 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-20 13:11:29 +03:00
Konstantinos Triantafyllou 2ba6777d97 Input: Change options breakpoint to 6 2022-06-20 13:11:21 +03:00
Konstantinos Triantafyllou bf80e2e0b4 Create a new interface for backgrounds and added to quick contact. Modal: Align title to the left 2022-06-17 19:47:47 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +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 ba70aaa12e comment out featured menu item - nav bar for now 2022-06-14 13:28:16 +03:00
argirok c1213b9836 SEO - jsonld: parse all subjects put keep at most 10 2022-06-10 11:19:40 +03:00
Konstantinos Triantafyllou 05172dad18 Input component: Add searchanle input and add it in advanced search form and linking 2022-06-09 16:21:43 +03:00
Konstantinos Triantafyllou 56d42bcd71 Search input: on reset focus input and on enter select option then search. Input: If autocomplete_soft is selected then do notselect item from the list by default and close dropdown on enter. 2022-06-09 15:25:24 +03:00
Konstantinos Triantafyllou 5a107677fb Cookie-law: Change class for wrapper and change text base on www 2022-06-08 18:22:05 +03:00
Konstantinos Triantafyllou ea324bfbef Add no value selected in input. 2022-06-08 14:19:40 +03:00
Konstantinos Triantafyllou f3af762dab Input: Fix tooltip in chips and autocomplete. Fix a bug in notify-form with 0 padding 2022-06-06 17:16:51 +03:00
Konstantinos Triantafyllou eac367a872 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-06 16:34:55 +03:00
Konstantinos Triantafyllou d211dbbb7d Change tooltip position for options 2022-06-06 16:34:46 +03:00
argirok d170d81db1 Merge remote-tracking branch 'origin/new-theme' into new-theme 2022-06-06 12:24:53 +03:00
argirok 97d99a4ed0 Footer: update documents link 2022-06-06 12:24:30 +03:00
Konstantinos Triantafyllou f9f9a6d5ea Input: enable tooltip in select type. Search Sorting: Change options for stakeholders 2022-06-06 12:22:01 +03:00
Konstantinos Triantafyllou 9542bd1e32 Quick contact change dropdown to drop with card and default shadow 2022-06-03 12:44:21 +03:00
Konstantinos Triantafyllou 156ec495a2 Quick contact: Make header sticky 2022-06-02 18:35:53 +03:00
Konstantinos Triantafyllou bc5f5860f9 Quick contact: Fix a bug with dropdown and add some inputs to make it dynamic. GeneraL: Fix some breadcrumb alignments and fix modal overflowBody parameter 2022-06-02 17:27:45 +03:00
Konstantinos Triantafyllou 7ef6ae1481 Remove arrow from select inputs in advanced search input. Add focus next in advanced search input. 2022-06-01 17:39:31 +03:00
Konstantinos Triantafyllou dd6ece97c0 Fix available options in page per results in search page. 2022-06-01 16:28:44 +03:00
Konstantinos Triantafyllou fd68a2cb10 Input: Add condition if formControl to avoid undefined errors 2022-06-01 14:12:18 +03:00
Konstantinos Triantafyllou 5859789119 Fix a bug input component with focus state 2022-05-30 15:42:54 +03:00
Konstantinos Triantafyllou be3020b164 Input component: If in select type more than 7 results available make it autocomplete. Advanced search form add includes/not includes 2022-05-27 12:22:04 +03:00
Alex Martzios bb4c310ede add padding to footer's top side, change feedback/report issue message on landing pages. change ORCID text tooltip on landing pages, rename ACTIONS in landing pages 2022-05-13 14:51:53 +03:00
argirok a0df132a6b Input: for get labels use optionsArray instead of filtered options 2022-05-11 10:17:06 +03:00
Konstantina Galouni bd6e141801 [Monitor Dashboard & Library | new-theme]: Renaming entity types using OpenaireEntities.
Files updated: develop.component.ts, methodology.component.ts,  claimEntitiesSelection.component.ts, directLinking.component.ts, linkingGeneric.component.html, linkingGeneric.component.ts, approved.component.ts, searchDataprovidersToDeposit.component.ts, errorPage.component.ts, dataProvider.component.html, dataProvider.component.ts, dataProvider.service.ts, relatedDatasourcesTab.component.ts, project.component.ts, myOrcidLinks.component.ts, searchMyOrcidResults.component.html, searchMyOrcidResults.component.ts, searchAll.component.html, searchAll.component.ts, advancedSearchForm.component.html, advancedSearchForm.component.ts, searchDataProviders.component.ts, searchResearchResults.service.ts, numbers.component.ts, other-portals.component.html, other-portals.component.ts, fetchDataproviders.class.ts, fetchResearchResults.class.ts, searchFields.ts, result-preview.component.ts
2022-05-09 13:13:44 +03:00
Konstantina Galouni 0f505c682a [Library | new-theme]:
1. searchDataproviders.service.ts & searchProjects.service.ts: Updated parsing of description (like in services for landing, use ParsingFunctions.parseDescription()).
2. searchFields.ts: Added in OpenaireEntities enum values for type names in files.
3. open-aire-jsonld-converter.service.ts:
   a. Updated parsing of description in methods convertProject() and convertDatasource() - use ParsingFunctions.parseDescription().
   b. In convertDatasource() method set "otherUrl" (not push it) in sameAs (on next commit, dataprovider landing sents all provenance urls as array).
4. jsonld-document-serializer.service.ts: [Bug fix] Added check in "serializeDescription()" method.
2022-05-05 20:29:55 +03:00
Konstantinos Triantafyllou 78a5fb2c75 Quick contact: Add box shadow default on button and uk-dropdown instead of uk-drop 2022-05-05 12:13:28 +03:00
Konstantinos Triantafyllou 5bcc3862e6 Fix an error in quick contact about document typeof 2022-05-05 10:42:44 +03:00
Konstantinos Triantafyllou 903267fab5 Contact-us: CHange inputs for small form 2022-05-04 17:17:49 +03:00
Konstantina Galouni e658c5d23a [Library | new-theme]: Redesign of project landing page and small upadates on result landing and common components.
1. addThis.component.ts: Updated social icons of addThis.
2. landing-header.component.ts: Added "uk-text-small" in subtitle.
3. metrics.component.ts: Added method "clickedMetrics()" to set "metricsClicked" | Added metricsClicked and metrics.infos conditions for loading table or iframes | Added customContainerClass and customIframeClass in <i-frame>.
4. project.component: Updated project landing page according to UI redesign.
5. project.module.ts: Import LoadingModule, IconsModule, InputModule.
6. project.service.ts: Use parsingFunctions.parseDescription.
7. projectService.module.ts: iconsService.registerIcons([link, graph]).
8. resultLanding.component.html: Small fixes in ui | Added right arrow on tooltips of actions that are links to other pages | Display of description updated as innerHtml (#7345).
9. orcid-work.component.ts: Added flex=true in <icon>.
10. input.component.ts: Added disabled?: boolean in Option interface and show disabled options as muted.
11. projectInfo.ts: Updated description to be string[] instead of string.
12. iframe.component.ts: Added @Input() customContainerClass: string = ""; and @Input() customIframeClass: string = "";
13. search-tab.component.ts: Updated according to redesign | Update "getEntityName()" to return values from OpenaireEntities.
14. tabs.component.ts: Added "uk-height-1-1" in custom tabs | In #mytabs::before set left:0.
2022-04-28 12:13:06 +03:00
Konstantina Galouni 53d05bf54f [Explore & Library & Common Assets | new-theme]: Updates related to result landing redesign.
1. fos.component.css: Removed rule "mark.highlighted" and ".custom-bottom-border" updated with variables.
2. feedback.component.html: Updated width of email input for small screens.
3. parsingFunctions.class.ts: In "parseAllSubjects()" method, comment otherSubjects and push them in subjects.
4. showIdentifiers.component.ts: Updated classes in <modal-alert>.
5. showSubjects.component.ts: "Subjects by Vocabulary" and "Subjects" separated & view more functionality added in "Subjects".
6. resultLanding.component:
	a. Added button and modal for <addThis> (share in social media).
	b. View more functionality for related organizations.
	c. Graph and feedback section sticky.
	d. Added checks for summary tab and right sidebar.
	e. In small screens made right sidebar offcanvas.
7. resultLanding.module.ts: Updated iconsService.registerIcons to register link, graph, quotes.
8. orcid-work.component.ts: Added visually-hidden in icon buttons for landing | Updated classes in <modal-alert> and use buttons of alert instead of custom.
9. no-load-paging.component.ts: Use new component <results-and-pages> for results and pages number and set uk-flex-right in <paging-no-load> (default is center).
10. cookie-law.css: In ".cookie-law-wrapper" increased z-index from 100 to 1000.
11. showAuthors.component.ts: Removed shadow from search button | Updated classes in <modal-alert>.
12. icons.ts: Added "quotes" svg.
13. alert.ts: Updated modal to have header - body - footer (theme was updated too) | classTitle input set default to "uk-background-primary-opacity" | @Input() overflowBody: boolean = true; added to add overflow in body.
14. paging.module.ts: Added ResultsAndPagesNumComponent in declarations and exports.
15. pagingFormatter.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them.
16. pagingFormatterNoLoad.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them | Set customClasses default to "uk-flex-center".
17. tabs.component.ts: Updated margins/ paddings | Added @Input() offsetForSticky:number=0; to compare with the top distance for isSticky.
18. resultsAndPagesNum.component.ts: [NEW] Component to show number of results, number of pages and current page (used in paging).
19. landing-utils.css:
	a. Moved variables in .landing instead of :root.
	b. Added variable --landing-light-color-rgb: var(--light-color-rgb);
	c. Added glass filter in #graph_and_feedback.
	d. Set z-index of #main-tabs-div and #graph_and_feedback to 979 (default 980 caused problems with metrics box).
	e. Added padding-bottom: 80px and margin-top: 80px in .landing-sections.
	f. Added top rule for #right-sidebar-switcher.
	g. Added custom width rules for .landing-left-sidebar-width.
20. css-rules.txt: Added cookie-law-wrapper: 1000 info for z-index
21. explore-custom.css: Added variable --background-primary-rgb: var(--explore-color-rgb);
2022-04-20 17:40:18 +03:00
Konstantinos Triantafyllou 8b7143c8cb Input: Change chip label to small 2022-04-20 13:57:38 +03:00
Konstantinos Triantafyllou e808c7e26b Update feedback page and fix a bug with events 2022-04-19 16:07:21 +03:00
Konstantinos Triantafyllou ca4da85090 Add openAccess in quick selection and make it responsive. Remove enter behaviour for select inputs in advanced-search-input 2022-04-19 02:09:42 +03:00
Konstantinos Triantafyllou 4711531dec Quick-contact: Change shadow for button to dark 2022-04-19 00:06:32 +03:00
Konstantinos Triantafyllou 5f042433be Advanced form: apply new design (not completed). Entities selection for advanced form 2022-04-18 11:29:14 +03:00
Konstantinos Triantafyllou 7e9db1d0de CHange keydown listeners to specific key listener to optimize perfomance 2022-04-17 15:25:01 +03:00
Konstantinos Triantafyllou 0384fe87b9 Input make close uk-close. Search-filter: remove stopPropagation from sorting 2022-04-17 01:42:10 +03:00
Konstantinos Triantafyllou cee1d9f876 Add advanced-search-input with entities selections in all search-pages 2022-04-16 00:49:35 +03:00
Konstantinos Triantafyllou d17f9b4d5c Add searchForm input in all search pages 2022-04-15 15:38:41 +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 e6b2f41c8c Click outside optimized and use at input and search-input 2022-04-13 13:00:40 +03:00
Alex Martzios 6f23b05e5b update newsletter link on footer 2022-04-13 09:43:12 +03:00
Konstantinos Triantafyllou d983a24aa4 Fix some issues in input and search input. Add search input in search-page. 2022-04-12 17:20:51 +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 41d5926be3 Add truncate in input when is not focused or has select type 2022-04-09 16:19:18 +03:00
Konstantinos Triantafyllou 4deb378f2d Search Input: Change conditions and add value change emitter. Advanced Search Input: Unfocus on enter 2022-04-08 15:47:03 +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 95e382fc62 Search input: search on enter 2022-04-07 15:12:25 +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
Konstantinos Triantafyllou bf970593f6 Finish search-input component 2022-04-06 18:24:14 +03:00
argirok 2370c61eb9 Merge remote-tracking branch 'origin/new-theme' into new-theme-linking 2022-04-06 13:20:13 +03:00
Konstantinos Triantafyllou 592cbfdf48 Input: Fix a bug with on click event and search reset value 2022-04-06 12:53:26 +03:00
Konstantinos Triantafyllou 6de4cf1282 Remove uikit toggle from search-filters to test perfomance. Fix icon rerendering if svg is changed. Fix some input issues regarding filterOptions 2022-04-06 10:35:10 +03:00