Commit Graph

317 Commits

Author SHA1 Message Date
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
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