Commit Graph

877 Commits

Author SHA1 Message Date
Konstantina Galouni 945e2c6fc7 [Library & openaire-theme & Explore | new-theme]: Beta indication in fos & sdgs (search, landing, dedicated pages) | Fixes in offcanvas and search all page for small screens.
1. badge.css: [NEW] Css file for uk-badge added.
2. import.css: Added @import "structure/badge.css";
3. fos.component.html & sdg.component.html: Added beta badge on top left of the title.
4. landing-utils/fos.component.ts & landing-utils/sdg.component.ts: Added [Beta] in title.
5. searchFields.ts: In sdg and fos RESULT_FIELDS, added [Beta] in their names.
6. offcanvas.css: [Bug fix] In rule .offcanvas .uk-offcanvas-bar added "max-width: 100vw", so that offcanvas does not exceed the screen width.
7. searchAll.component.html: Added some classes in <advanced-search-form> and uk-slider to be better displayed in small screens (form within page with some horizontal margins and arrows in slider).
2022-05-30 15:36:33 +03:00
Konstantina Galouni 0b53cea58a [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters.
1. dataProvider.component.ts: [Bug fix] Allow also ?pid url parameter, query accordingly and set canonicalUrl to use it in seoService and scema2jsonld.
2. dataProvider.component.html: Set canonicalUrl into URL of <schema2jsonld> | Use <landing-header> instead of <showTitle>.
3. dataProvider.service.ts: Set url for querying a datasource by pid (if ?pid in landing url param) and parse also the whole record, the objIdentifier and the relcanId.
4. landing-header.component.ts: Added @Input() isSticky: boolean = false; to set less margins when sticky.
5. resultLanding.component.html: Use <landing-header> instead of <showTitle>.
6. resultLanding.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
7. metrics.service.ts: Removed console.log.
8. searchDataproviders.service.ts: Added parsing for relcanId.
9. dataProviderInfo.ts: Added relcanId, objIdentifier, record.
10. result-preview.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
11. string-utils.class.ts: Renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
12. [SITEMAPS] extractUrlsFromSearch.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
13. newSearchPage.component.ts: [Bug fix]
   a. entityType for datasources is "dataprovider".
   b. Added service filter options only when entityType == "service".
2022-05-30 10:39:10 +03:00
Alex Martzios 9406ad8152 add changes for FOS/SDGs url and breadcrumb 2022-05-25 09:08:41 +03:00
Alex Martzios 0a160b4f54 add openaireEntities and update submodule repo 2022-05-23 12:53:06 +03:00
Alex Martzios 74ce69909f uncheck research products categories by default 2022-05-20 12:36:29 +03:00
Konstantina Galouni 131bec9d17 [Library | new-theme]: Improvements & Do not show "Add to ORCID" button in search datasources with pids.
1. dataProvider.component.ts: In method "searchRelatedDatasources()", size can be always 0 (refine query).
2. advancedSearchForm.component.html: [Bug fix] Make all the button line clickable and functional in advanced search form.
3. result-preview.component.ts: Added get method "isResultType()" which checks if result.resultType is result, publication, dataset, software, other.
4. result-preview.component.html: [Bug fix] Call <orcid-work> (add/remove from ORCID buttons) only for results - check for identifiers is not enough, now datasources also have pids.
2022-05-19 19:08:04 +03:00
Alex Martzios a156e359f4 update openaireLibrary 2022-05-19 13:13:21 +03:00
Alex Martzios 29a321c302 redesign tweaks 2022-05-18 14:29:06 +03:00
Konstantina Galouni 40700daf24 [Explore & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. app.component.ts: [Bug fix] First menu item under "Search", set to OpenaireEntities.RESULTS.
2. searchFields.ts: Renamed OpenaireEntities.DATASOURCE to "Data source".
3. addThis.component.ts: [Bug fix] Check for showing warning was missing a not (!).
2022-05-18 12:31:46 +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
Alex Martzios e4e2c0aeba make graph-section image more responsive 2022-05-17 11:40:21 +03:00
Alex Martzios f00aa33dda lowercase last 's' of SDGs button 2022-05-17 11:20:29 +03:00
Alex Martzios 6b0fe12bca tweak for hero section's input width 2022-05-17 11:17:41 +03:00
Alex Martzios f3c18b7779 revert homepage hero section tweaks 2022-05-17 10:44:26 +03:00
Alex Martzios 1d27a50be3 homepage - hero section tweaks 2022-05-17 09:44:05 +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
Konstantinos Triantafyllou 6fe5f8763f Add errorLink property 2022-05-12 12:25:10 +03:00
Alex Martzios 9bd05cf1e2 update to the correct fos icon file 2022-05-09 16:23:43 +03:00
Konstantina Galouni ae11528b5c [Library | new-theme]: Updated look of message when errorCodes.NONE in <errorMessages>.
1. projects-in-modal.component.ts: Use OpenaireEntities in <errorMessages>.
2. errorMessages.component.ts: Updated look of message when errorCodes.NONE: large, meta text which is center and middle aligned instead of alert.
2022-05-06 12:27:24 +03:00
Konstantinos Triantafyllou 02de663dd2 Add condition for observer to avoid server error 2022-05-06 10:53:02 +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
Konstantina Galouni b924e564bb [Library | new-theme]: Use OpenaireEntities in search pages
1. newSearchPage.component.html: In graph and feedback, replace uk-text-muted with uk-text-meta and add uk-margin-large-top.
2. datasourcesHelper.class.ts & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts: Use OpenaireEntities for result type names.
2022-05-05 20:35:08 +03:00
Konstantina Galouni ec2482e6af [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
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
Konstantinos Triantafyllou 9734b93f7a Add mutation observer to handle active text in scrolling section 2022-05-05 11:33:01 +03:00
Alex Martzios 47a96f93f4 general tweaks after Aristotelis call 2022-05-05 09:32:39 +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
Konstantina Galouni 9ab56f02fb [Library | new-theme]: resultLanding.component.html & project.component.html & dataProvider.component.html: Removed old unused html code. 2022-05-04 14:04:28 +03:00
Konstantina Galouni a87fc8da43 [Library | new-theme]: In result, project, dataprovider landing pages use type names from OpenaireEntities.
1. dataProvider.component.html: Use type names from OpenaireEntities | Added missing bottom <helper> and graph_and_feedback_template for small screens.
2. dataProvider.component.ts: Use type names from OpenaireEntities | stickyHeader = false when queryParams change.
3. project.component.html: Use type names from OpenaireEntities.
4. project.component.ts: stickyHeader = false when queryParams change.
5. resultLanding.component.html: Use type names from OpenaireEntities | In  #relation_in_tab, use common component for input instead of mat-select.
6. resultLanding.component.ts:
   a. Use type names from OpenaireEntities.
   b. Added relatedClassFilters: Option[] and use it in input for #relation_in_tab.
   c. stickyHeader = false when queryParams change.
7. resultLanding.module.ts: Imported InputModule.
8. orcid-work.component.ts: Use type names from OpenaireEntities.
9. result-preview.component: Use type names from OpenaireEntities.
2022-05-04 13:57:14 +03:00
Alex Martzios b5815a9bc7 update submodules 2022-05-04 12:48:44 +03:00
Konstantina Galouni acd8db71cc [Library | new-theme]: metrics.component.ts: Round large numbers in metrics | Use type names from OpenaireEntities. 2022-05-03 14:25:09 +03:00
Konstantina Galouni 341cacef2f [Explore & Library | new-theme]: Dataprovider landing page redesign.
1. environments/: Added "fairSharingURL" and "eoscMarketplaceURL".
2. env-properties.ts: Added properties:  fairSharingURL?: string, eoscMarketplaceURL?: string
3. searchFields.ts: In OpenaireEntities added type names also in singular.
4. statisticsTab.component.ts: Use type names from OpenaireEntities.
5. relatedDatasourcesTab.component.ts: Updated paging and align of columns according to mocks | Use type names from OpenaireEntities.
6. dataProvider.module.ts: Added iconsService.registerIcons([graph]).
7. dataProviderInfo.ts:
   	a. "description" type changed from string to string[]
   	b. #7718: Added field provenance: Map<string, {"url": string[]}>;
   	c. export class DataproviderProvenance with "provenance" field with info foreach provenance type.
8. dataProvider.service.ts: Updated parsing for description and originalId (provenanve) (#7718).
9. dataProvider.component: Redesign of datasource landing page.
2022-05-03 14:22:53 +03:00
Konstantina Galouni a949dd191d [Library | new-theme]: project.component.html: Small fixes in project landing redesign. 2022-04-28 16:53:49 +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
Alex Martzios ddb189303b finish explore homepage - need to check some things with aristotelis and remove old code frm comments 2022-04-27 15:36:42 +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
argirok 6564620ddd Update menu items with OpenaireEntities names 2022-04-20 10:33:52 +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 a32e7f0433 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/explore-services into new-theme 2022-04-19 11:16:36 +03:00
Konstantinos Triantafyllou dec5268b83 Add quick selections in home page 2022-04-19 02:10:50 +03:00
Alex Martzios 3603c2ab00 changes on 'remove' label close-button 2022-04-18 15:34:19 +03:00
Alex Martzios 53eda3a026 tweaks on fos/sdg pages 2022-04-18 14:25:32 +03:00