Commit Graph

119 Commits

Author SHA1 Message Date
Alex Martzios 9406ad8152 add changes for FOS/SDGs url and breadcrumb 2022-05-25 09:08:41 +03:00
Konstantina Galouni 41b3db27a6 [common-assets & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. addThis.component.ts: [Bug fix] Increased timeout to 4 sec and fix check (sometimes innerText was undefined).
2. searchMyOrcidResults.component.html: [Bug fix] Removed uk-animation-fade from results and added uk-scrollspy.
3. showAuthors.component.ts: [Bug fix] Fixed copy to clipboard - data-clipboard-target was not working because we have multiple clipboards in the same page (reverted code to old way of copying).
4. timeout-interceptor.service.ts: Reverted timeout time for client.
5. utils.css: Added custom css for .orcid-dropdown input (orcid dropdown in authors).
2022-05-17 12:15:15 +03:00
Konstantina Galouni 3be9891320 [Explore & Library | new-theme]: Updates of paging in claims and orcid links pages | Fixes for server side rendering.
1. fos.component.ts & sdg.component.ts: [Bug fix] Added properties.domain as prefix in request for vocabulary - Network error on server.
2. displayClaims.component.html: Used <results-and-pages> before results and <paging-no-load> after results.
3. searchMyOrcidResults.component.html: After results use <paging-no-load>.
4. displayClaims.module.ts & searchMyOrcidResults.module.ts: Imported NoLoadPaging.
5. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: [Bug fix] Fixed checks in ngAfterContentChecked, not to run on server.
6. dataProvider.service.ts: Added check if there are subjects.
7. orcid-work.component.ts: [Bug fix] On search view, add classes uk-button uk-button-link in orcid actions.
8. newSearchPage.component.ts: Removed console.log.
2022-05-17 00:31:28 +03:00
Alex Martzios b18a4d0229 update openaireLibrary 2022-05-16 14:07:45 +03:00
Konstantinos Triantafyllou 27a1ea7029 Add explore logo as SVG 2022-05-13 15:46:23 +03:00
Alex Martzios 5366439647 content changes based on Natalia's suggestions 2022-05-13 14:52:10 +03:00
Alex Martzios 9bd05cf1e2 update to the correct fos icon file 2022-05-09 16:23:43 +03:00
Konstantina Galouni 4a6d39d4e9 [Library & common-assets | new-theme]:
1. landing-utils.css: Deleted .landing-background-default-color (replaced in html with uk-background-default).
2. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Updates and fixes for redesign.
   a. #graph_and_feedback outside margins and checks (invisible when no info).
   b. [Bug fix] margin-top of center column fixed (uk-sticky-placeholder was adding space).
   c. [Bug fix] Show again right sidebar when screen becomes medium+.
   d. [Bug fix] Added grid in labels.
3. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: Added ResizeObserver and updated how graph_offset is calculated | Added graph_height field to set margin-top of center column.
4. project.component.ts: In getFileNameType() use OpenaireEntities.
5. organization.component.ts:
   a. In contentTypes field added type file names from OpenaireEntities
   b. Added field contentFileName.
   c. Added field shouldSticky and observer for "bottom" to stop sticky title & tabs when bottom is in viewport.
6. dataProvider.component.ts: Added field "provenanceUrls" and method "getProvenanceUrls()" to flatten all urls from dataProviderInfo.provenance.
2022-05-05 20:54:01 +03:00
Alex Martzios 20e1e5d735 homepage tweaks and new images 2022-05-05 15:29:29 +03:00
Alex Martzios 620360fa94 tweak for homepage - scroll animation 2022-05-05 13:45:07 +03:00
Konstantina Galouni bbfa79c8c9 [Explore & Library & common-assets | new-theme]: No animation in sticky tabs | Tabs stop being sticky when bottom component is in viewport | Updates in powered by bottom message | Updates in statistics in datasource landing.
1. landing-utils.css: Commented transition ease-out in #main-tabs-div.
2. app.component.ts: Added id="bottom" in <bottom>.
3. newSearchPage.component.html: Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
4. metrics.component.ts: Add classes "uk-text-small uk-text-meta" in "Powered by".
5. resultLanding.component.html & project.component.html & dataProvider.component.html:
   a. Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
   b. Add uk-sticky attribute in id="main-tabs-div" only if shouldSticky is true (bottom is not in the viewport).
6. resultLanding.component.ts & project.component.ts & dataProvider.component.ts: Added fields shouldSticky and observer, check in ngAfterViewInit() if bottom is intersecting and kill the observer in ngOnDestroy().
7. statisticsTab.component.ts: Added customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply" in <i-frame>.
8. showAuthors.component.ts: [Bug fix] In "View less authors" make only the link clickable, not the whole row.
2022-05-04 18:09:35 +03:00
Alex Martzios b5815a9bc7 update submodules 2022-05-04 12:48:44 +03:00
Konstantina Galouni 115d25e85f [common-assets | new-theme]: landing-utils.css: Removed rules related to .uk-progress (updated and moved to openaire-theme in progress.css). 2022-04-28 16:52:19 +03:00
Konstantina Galouni 1554f2f15f [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 846c7966f0 [openaire-theme | master]: text.css: Added .text-argos | variables.css: Added variable --argos-color: #17BEBB; 2022-04-28 12:08:39 +03:00
Konstantina Galouni 104256eefb [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
Alex Martzios bd7d3dccb0 progress on homepage 2022-04-20 14:30:34 +03:00
Alex Martzios d0ee809a03 progress on homepage, update submodules 2022-04-20 09:29:40 +03:00
argirok 7be057c722 stepper update css 2022-04-19 16:33:26 +03:00
Konstantinos Triantafyllou dec5268b83 Add quick selections in home page 2022-04-19 02:10:50 +03:00
Alex Martzios 53eda3a026 tweaks on fos/sdg pages 2022-04-18 14:25:32 +03:00
Konstantinos Triantafyllou c24859fed3 Update libraries. Add as label secondary explore's color 2022-04-18 11:29:51 +03:00
Konstantina Galouni c887dc1c66 [Library & common-assets | new-theme]: Updates for redesign.
1. availableOn.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external icon to links and updated accessright icons.
2. citation.class.ts: Added fileFormatOptions: Option[] to use it in input options.
3. citeThis.component.ts: Updated select inputs using "input" from InputComponent | Updated copy to clipboard button to link.
4. citeThis.module.ts: Import InputModule.
5. fos.component.ts: Updated class of title to "uk-text-light-grey".
6. fundedBy.component.ts: Updated class of title to "uk-text-light-grey" and updated links with uk-text-emphasis class.
7. landing-header.component.ts: Increase authorsLimit to 7 | Changed class of "under curation" to uk-text-primary (used to be custom class).
8. metrics.component.ts: Updated in clickOutside event.
parsingFunctions.class.ts: Updated open, closed and unknown with icon names instead of paths to svgs (download accessright icons).
9. relatedTo.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external for links.
10. resultLandingUtils.module.ts: Inport AlertModalModule (to open modal).
11. sdg.component.ts: Updated class of titlte to "uk-text-light-grey".
12. showIdentifiers.component.ts: Added view more functionality.
13. showPublisher.component.ts: Updated custon-external class.
14. resultLanding.module.ts: registerIcon link.
15. resultLanding.component.html: Updated css for result landing and commented annotations (b2note).
16. orcid-work.component.ts: Updated orcid action button for landing page.
17. orcid.module.ts: registerIcons orcid_add and orcid_bin.
18. customOptions.class.ts: [Bug fix] [By Kostis] registryOptions() was not returning properly httpHeaders.
19. showAuthors.component.ts: Updated css
20. icons.ts: Export svgs orcid_add, orcid_bin, link.
21. alert.ts: Removed margin from title.
22. result-preview.component.html: Title of results set to <h2> and uk-h6 and when links to uk-link-heading | accessRightIcon for hostedBy_collectedFrom.
23. result-preview.module.ts: Imported IconsModule.
24. landing-utils.css: Updates in landing css & css of landing-action-button & added backdrop filter missing rules.
25. utils.css: Updated class orcid-clipboard-wrapper and renamed to clipboad-wrapper | Update class .custom-external to set in content with code instead of name and updated not to underline it on hover
26. library.css: Added class .default-dropdown with max-width: 500px;
2022-04-16 10:47:30 +03:00
Konstantinos Triantafyllou 04cd27042e Add new advanced-seach-input in home page 2022-04-16 00:53:24 +03:00
Alex Martzios caad9e3349 add links to FOS items, changes on SDG json file and page 2022-04-15 16:32:14 +03:00
Alex Martzios cb4b3334be finish fos page - search functionality 2022-04-14 18:05:47 +03:00
Alex Martzios de0c5e2e3f update images on sdg page, highlight search result on fos page, newsletter link fix on footer 2022-04-13 09:42:37 +03:00
Konstantina Galouni 61550cc1c5 [openaire-theme | Trunk]: Small additions in css of theme.
variables.css: [NEW] Added variable --orcid-color: #A6CE39;
text.css: Added rules for classes "uk-text-xsmall" and "text-orcid".
2022-04-12 13:27:52 +03:00
Alex Martzios d845a618ea progress on fos search functionality 2022-04-07 16:20:10 +03:00
Konstantina Galouni 826db1af73 [Library | new-theme]: Delete fromYearAfterToYear.directive.ts, inValidYear.directive.ts, rangeYearsRequired.directive.ts directives from rangeFilter folder (validator functions moved to string-utils.class.ts (previous commit)). 2022-04-05 16:50:49 +03:00
Alex Martzios e4a9f8be64 finish SDGs component functionallity and styles and start on FOS component 2022-03-31 14:57:13 +03:00
Alex Martzios da544109aa create sdg component and add sdg img assets 2022-03-30 17:19:40 +03:00
Konstantinos Triantafyllou b2e9a76170 Create new branch for explore new-theme. Initialize variables, css and angular.json 2022-03-30 13:01:55 +03:00
argirok dbe76e472f update the values of fos/sdg vocabulary 2022-03-24 12:57:33 +02:00
argirok a8f3421fb8 add fos/sdg in advanced search, add autocomplete methods, add initial json files 2022-03-18 13:14:07 +02:00
Alex Martzios a6d5f793fb update submodule repos 2022-02-04 13:02:18 +02:00
argirok d7787e7f86 update also userinfo properties 2021-12-17 15:37:20 +02:00
Alex Martzios 593ef90ae8 Update common-assets repo 2021-11-24 17:07:51 +02:00
Alex Martzios 6e363e678a Add css rules and update openaireLibrary 2021-11-23 10:45:33 +02:00
Alex Martzios 9b0387d4b0 update openaireLibrary 2021-11-11 12:12:20 +02:00
Alex Martzios a64bdff2f5 update openaireLibrary 2021-11-10 16:26:33 +02:00
Alex Martzios 7589dbe751 Add styles and update openaireLibrary 2021-11-10 15:10:14 +02:00
Konstantina Galouni da797e05df Merge branch 'master' of code-repo.d4science.org:MaDgIK/explore-services
 Conflicts:
	explore/src/app/openaireLibrary
2021-11-09 23:05:34 +02:00
Konstantina Galouni 4b330e5cfa 1. environments/ & env-properties.json: #7159: "doiURL" property updated from https://dx.doi.org/ to https://doi.org/.
2. searchDatacite.service.ts & searchOrcid.service.ts: #7159: In result.url "doiURL" property is used instead of a constant prefix.
3. parsingFunctions.class.ts: #7155: Added field "instanceWithDoiExists", to check if publisher with doi related url should be added as instance (download from section).
4. showIdentifiers.component.ts: Removed "space" class from external icon.
5. relatedDatasourcesTab.component.ts: #7004: Updated message on top of the tab.
2021-11-09 23:04:01 +02:00
argirok b52637ca37 add links to special subjects in the landing page 2021-11-09 16:02:32 +02:00
Alex Martzios c81a120c90 Add new styles and update openaireLibrary, assets 2021-11-08 17:26:02 +02:00
Konstantina Galouni 91a762f4f8 [Trunk | Explore]: parsingFunctions.class.ts: [Bug fix] Stringify (+"") subject.classname (.toLowerCase() could throw error). 2021-10-26 15:32:32 +03:00
Konstantina Galouni f97d41d6b6 [Trunk | Explore]: 1. assets/common-assets: Added "eosc-logo.png" & deleted "egi-fed.notebook.png". 2. resultLanding.component.ts: Removed local styles for "notebook-button" class. 3. resultLanding.component.html: Logo and name of button for egi notebook updated. 4. parsingFunctions.class.ts: When "eosc jupyter notebook" is in subjects, show as classified subject (vocabulary) "EOSC: EOSC Jupyter Notebook" [Paolo's request]. 2021-09-29 14:34:04 +03:00
Konstantina Galouni bd2b482933 [Explore | Trunk]: 1. dataProvider.service.ts & project.service.ts & resultLanding.service.ts & searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Removed case sensitivity in parsing relations (rels.rel.to.class). 2. orcid.service.ts: Removed unused imports | Added comment related to KPI metrics calculated by orcid API. 2021-09-27 12:19:25 +03:00
argirok 9f22c6c794 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