Commit Graph

361 Commits

Author SHA1 Message Date
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
Konstantina Galouni 0c5483ac9b [Library | new-theme]: rangeFilter.component: [Bug fix] In range filters, years were not updating & errors were not properly displayed | search-input.component.ts: Remove styleUrls (file is deleted). 2022-04-05 20:08:11 +03:00
argirok b20fcfa219 more layout changes for the linking (eg filters, icons, etc) 2022-04-05 18:36:08 +03:00
Konstantinos Triantafyllou 8978e1df80 Fix some issues in input. Change class in advanced search input 2022-04-05 15:33:38 +03:00
Konstantinos Triantafyllou bd0b7a9e9a Add key bind for option selection and make options more flexible 2022-04-04 16:44:00 +03:00
Konstantinos Triantafyllou f19408b1a8 Fix a bug with options position in modals 2022-04-04 13:53:26 +03:00
Konstantinos Triantafyllou 225285c960 Add new inputs modifiers. Add advanced-search-input. 2022-04-04 11:06:34 +03:00
Konstantinos Triantafyllou 1951ae8cdd Add static placeholder and hint in input 2022-03-31 16:39:17 +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
Alex Martzios da6636ee79 changes for footer - front pages of monitor and connect 2022-03-28 16:07:34 +03:00
Alex Martzios f232abb633 changes for footer - dashboards 2022-03-28 15:23:59 +03:00
Konstantinos Triantafyllou d2a05db2e3 Fix max-height in select input when value is null 2022-03-28 12:14:16 +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
argirok 6d7b1976a9 Merge branch 'new-theme' into new-theme-linking 2022-03-16 19:18:26 +02:00
argirok 7a8358bb47 stepper component v2 2022-03-16 18:53:19 +02:00
Konstantinos Triantafyllou ed01151b27 Syncronize page content sticky with navbar 2022-03-16 15:10:35 +02:00
Konstantinos Triantafyllou 35a8a098c3 Remove uk-width-1-1 from uk-logo and add margin-left 2022-03-14 19:45:11 +02:00
Konstantinos Triantafyllou 4ccabced6d Change smooth-scroll to check last component instead of Route. Page content sticky base on new uikit version 2022-03-14 18:35:00 +02:00
Konstantinos Triantafyllou 2f76a9f7d2 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-03-10 18:29:53 +02:00
Konstantinos Triantafyllou da84e94951 Change filter-tag to uk-label. Change background in quick contact to primary 2022-03-10 18:29:46 +02:00
Konstantinos Triantafyllou cb0ac1b9df Navbar make menu position center default. Fix menuitems subnav 2022-03-09 23:38:05 +02:00
Konstantinos Triantafyllou d7598eb350 Change page-content to be sticky on scroll up 2022-03-08 20:35:00 +02:00
Konstantinos Triantafyllou 6fb5cf54ba Add graph as icon in library. Navigation bar remove uk-link from all links. 2022-03-04 17:31:09 +02:00
Konstantinos Triantafyllou 360cc0f3e3 Add extra-s and extra-m to add content after login. Fix position of indicator in mobiles 2022-03-03 18:19:06 +02:00
Konstantinos Triantafyllou 52f1abfdbf Change navbar to sticky only at top. Make page-content header sticky. Fix a bug in icons component 2022-03-03 17:44:59 +02:00
Konstantinos Triantafyllou 2b7c52a8b0 Merge from master 2022-03-03 14:35:55 +02:00
Konstantinos Triantafyllou 4698a5fafd Delete old sidebar. Make some changes in navbar and user-mini 2022-03-02 23:48:21 +02:00
Alex Martzios 5e92fdf83b add featured menu items in the nav bar - dev only 2022-03-02 12:27:48 +02:00
Konstantinos Triantafyllou 894ce0add6 Fix flickering in section-scroll. Add event handler in quick contact 2022-03-02 12:27:17 +02:00
Alex Martzios a2a34d3958 add featured menu item functionality - admin 2022-03-02 12:26:28 +02:00
Konstantinos Triantafyllou 03c06830be Fix section scroll opacity change. Add scrollspy in how-to. Align right for recaptcha in contact us in large screens 2022-03-01 21:09:14 +02:00
Konstantinos Triantafyllou c2b6547b4c Navbar add rules if header menu and header is on center 2022-02-28 18:00:57 +02:00
Konstantinos Triantafyllou d590732aba Change navbar base on new theme 2022-02-28 14:38:26 +02:00
Konstantinos Triantafyllou ada419f8e8 Add notification handler. Add contact-us to quick contact and make some changes in contact-us 2022-02-24 18:42:05 +02:00
Konstantinos Triantafyllou 31e5658827 Some css changes in quick contact 2022-02-23 12:33:43 +02:00
Alex Martzios 1a7aee9a2f add changes to the quick-contact component 2022-02-23 10:46:56 +02:00
Alex Martzios f3ff37c74c create quick-contact component button and modal 2022-02-22 16:40:08 +02:00
Konstantinos Triantafyllou 2942a35ded Merge commit '514cd0dd12407f0b3c09d5f20c39a546888165a9' into new-theme 2022-02-21 18:02:46 +02:00
argirok 66eed05597 apply changes related to eosc/aggregator 2022-02-18 16:57:25 +02:00
Konstantinos Triantafyllou e590ce7b9e Merge commit '014dc9e5562890b61fbafa7705d2f31d0cbcdb74' into new-theme 2022-02-16 18:28:25 +02:00
Konstantina Galouni 304276f3bc [Library]: Fixes in ORCID put-codes query & query dynamic menu only in development environment.
1. dataProvider.component.ts: Comment log for dataProviderInfo.fundedContent.
2. searchResult.component.ts: In initialize() method, before calling orcidService.getPutCodes, added more checks for type (result, publication, dataset, software, other).
3. navigationBar.component.ts: Call _helpContentService.getMenuItems only in development environment.
2022-02-16 11:40:05 +02:00
argirok dccf62d445 Update Abstract to be an array - fix issue with B2Find missing information 2022-02-14 17:04:09 +02:00
Konstantinos Triantafyllou ef347e9c02 Merge remote-tracking branch 'origin/master' into new-theme 2022-02-08 15:16:49 +02:00
Konstantinos Triantafyllou 0561d945c5 Fix dashboard input being disable in HTML 2022-02-08 11:52:11 +02:00
Alex Martzios 4c64aa44a9 add aria-label attribute for cookie-law dismiss button 2022-02-07 11:38:16 +02:00
Konstantinos Triantafyllou 809589b5f9 Merge commit '3228c67a14ecaf0a0434871f1aabf728ac923d31' into new-theme 2022-01-17 19:42:03 +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 83a9f259bf Merge changes from master 2022-01-13 15:57:35 +02:00
Alex Martzios 1b6c7f06de add custom menu items in the navbar for community gateways - dev only 2022-01-13 14:09:10 +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
Konstantinos Triantafyllou 963c088bef Merge remote-tracking branch 'origin/master' into new-theme 2022-01-11 13:15:13 +02:00
Alex Martzios 97fc6f033a add changes for pages and dynamic menus - dev only 2022-01-11 12:05:40 +02:00
argirok a34744e1af apply changes in navbar & footer 2022-01-05 17:28:20 +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 0cddbdf857 Work in progress for new dymanic menu - dev only 2021-12-17 09:22:07 +02:00
Konstantinos Triantafyllou 1fbb461faa Utilities service minor changes. Remove margin from header title in navbar. 2021-11-26 10:31:50 +02:00
Alex Martzios dfed4b9921 Navbar: add extra condition for external links (develop pages from within graph) 2021-11-18 17:38:42 +02:00
Konstantinos Triantafyllou 9a979b1015 Input component move icon to top in case of textarea input 2021-09-07 11:13:10 +03:00
argirok 3d413cde2d SEO - accessibility: In images add alt, add specific width and height, in links add <span class="visually-hidden"></span> with descriptive text - not visible (add class in library.css) 2021-08-10 13:46:33 +03:00
argirok 37c9e91efc Add sumbmenu in the research outcomes for the different types, update robots.txt (exclude covid-19) 2021-08-09 15:31:19 +03:00
argirok 58b44c7bb0 strip HTML for research outcomes description (landing and search results), Update no-index filter (remove poor content filter, add filter for communities) 2021-07-26 13:05:36 +03:00
k.triantafyllou 08bf703186 [Library]: Move angular 11 to trunk. Remove no needed files. Delete angular upgrade branches
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61381 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 11:19:57 +00:00
k.triantafyllou 1a38cf4843 [Library | Trunk]: Input: Remove selection range causing focus issue on Safari
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61224 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-15 13:33:02 +00:00
konstantina.galouni 33b8c95f54 [Trunk | Library]:
1. bottom.component.ts: [Bug fix] When no communityId set, in "getDivContents()", get communityId from properties.adminToolsCommunity (fix for Connect Portal).
2. helper.service.ts: In "getPageHelpContents()" and "getDivHelpContents()", when no communityId is set, get it from properties.adminToolsCommunity if available, otherwise set it to 'openaire' (as it was).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61090 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-04 09:42:23 +00:00
argiro.kokogiannaki eb2d232bb7 [Library|Trunk]
remove dependency for ngx-json-ld from schema2jsonld component and module



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61087 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-04 08:18:01 +00:00
konstantina.galouni 1d9b94431d [Trunk | Library]: bottom.component.html:
a. [Bug fix] Fix alignment of EC flag and "Openaire" name when not centered (uk-margin --> uk-margin-left)
	b. [Bug fix] Move check to show helptext inside <ng-container> - alignment is broken when no helptext and not centered.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61086 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-04 07:48:22 +00:00
argiro.kokogiannaki 4ea83f6ce8 [Library|Trunk]
NavbaR: 
- remove stakeholder
- remove search bar   



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61058 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-28 13:35:10 +00:00