Commit Graph

220 Commits

Author SHA1 Message Date
Konstantina Galouni 83de7adc09 Merging branch develop into angular-16-irish-monitor 2024-02-07 22:32:42 +02:00
Konstantina Galouni aba199e10d [develop | DONE | FIXED]: [BUG FIX] resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Moved <schema2jsonld> outside any parent html tag - was missing from mobile screens. 2024-02-07 16:56:16 +02:00
Konstantina Galouni 75ecd0da5e Merge develop into angular-16-irish-monitor branch 2024-02-06 14:19:27 +02:00
Konstantina Galouni 1e41013e06 [develop | DONE | CHANGED]: showSubjects.components.ts: Removed subjects by Vocabulary for BETA & DEV environments & Updated how EOSC subjects are displayed | resultLanding.component: Added get method "hasSubjects" and updated checks to show subjects depending on environment. 2024-01-25 12:31:14 +02:00
Konstantina Galouni e3fe71a623 [angular-16-irish-monitor | DONE | CHANGED]: resultLanding.component.html & result-preview.component.html: Renamed OA Routes to Access Routes. 2024-01-24 17:10:45 +02:00
Konstantinos Triantafyllou 367bdc3092 Merge pull request 'Merge Changes from Develop' (#28) from develop into angular-16-irish-monitor
Reviewed-on: #28
2024-01-05 10:32:32 +01:00
Konstantina Galouni 84c2451521 [develop | DONE | CHANGED]: dataProvider.component.html & project.component.html & resultLanding.component.html: Changed uk-flex-middle to uk-flex-top for .landing-metrics-card, after min-height was introduced. 2023-12-28 16:34:43 +02:00
Konstantina Galouni 03b61d1fc6 [angular-16-irish-monitor | DONE | CHANGED]: resultLanding.component.html: Added OA Routes in mobile (small screens) | base.component.ts: Added method "quote()" and init routerHelper. 2023-12-22 16:20:15 +02:00
Konstantina Galouni 0870766720 [angular-16-irish-monitor | DONE | ADDED]: resultLanding.component.html & result-preview.component.html: Added display of OA Routes (green, oa color, diamond journal). 2023-12-21 10:36:05 +02:00
Konstantina Galouni 51dbad03d7 [angular-16-irish-monitor | DONE | ADDED]: Added parsing of peer-reviewed (refereed on instances), publicly funded and OA Routes (green, oa color, diamond journal) | Display peer-reviewed on instances and publicly funded (and projects) in metadata line (entity-metadata).
1. feedback.component.html & resultLanding.component.html: In <landing-header> added parameters publiclyFunded and projects.
2. landing-header.component.ts & result-preview.component.html: In <entity-metadata> added parameters publiclyFunded and projects | Added field @Input() publiclyFunded.
3. availableOn.component.ts: Display peer-reviewed.
4. entity-metadata.component.ts: Display publicly funded | Added field @Input() publiclyFunded: boolean.
5. parsingFunctions.class.ts: Added parsing of peer-reviewed (instance.refereed).
6. resultLanding.service.ts & searchResearchResults.service.ts: Added parsing of publicly funded and OA Routes (green, oa color, diamond journal).
7. resultLandingInfo.ts & searchResult.ts: In ResultLandingInfo and in SearchResult added fields oaRoutes: OARoutes; and publiclyFunded: boolean;
8. result-preview.ts: In HostedByCollectedFrom added field peerReviewed?: boolean; | Set interface OARoutes | In ResultPreview added fields oaRoutes: OARoutes; and publiclyFunded: boolean; | In methods "searchResultConvert()" and "resultLandingInfoConvert()" set oaRoutes and publiclyFunded.
2023-12-20 23:55:00 +02:00
Konstantina Galouni c7c1aec26e [develop | DONE | CHANGED]: Updated parsing and display for usage counts per data source to show datasource names.
1. resultLandingInfo.ts: Added field datasourceName: string in interface MetricPerDatasource.
2. parsingFunctions.class.ts: In method "parseMeasures()", updated parsing for usage counts per data source (countsPerDatasource) to parse datasourceId and datasourceName from datasource field of response (split by ||).
3. resultLanding.component.html: On display of countsPerDatasource in table, show datasource names.
2023-11-27 18:10:37 +02:00
argirok f0c37512c3 [develop | DONE | FIXED] : show again enermaps tab in result landing 2023-11-15 17:34:15 +02:00
Konstantina Galouni 32a34d5a12 [develop | DONE | ADDED]: Added parsing and display for usage counts per data source.
1. resultLandingInfo.ts:
   a. Commented out deprecated fields from interface Measure.
   b. Added interface MetricPerDatasource.
   c. Added in interface Measure, countsPerDatasource?: MetricPerDatasource[];
2. parsingFunctions.class.ts: In method "parseMeasures()", added parsing for usage counts per data source (countsPerDatasource).
3. resultLanding.component.html: Display countsPerDatasource in table (metrics tab > usage tab) if there is any.
2023-11-08 16:57:56 +02:00
Konstantina Galouni 5948d61a47 Library | angular-16: Merge develop branch into angular-16 and resolve conflicts 2023-10-16 13:06:14 +03:00
Konstantina Galouni fce848008a [Library | develop]: resultLanding.component.html: [Bug fix] Fix check isNumber for bip measures & remove check if value (show citation score also when it is 0). 2023-10-16 12:53:40 +03:00
Konstantinos Triantafyllou cfb321f93f Merge from develop 2023-10-11 16:33:33 +03:00
Konstantina Galouni 9226a5975d [Library | develop]: Added Full-Text in research products actions when available.
1. availableOn.component.ts: Added Full-Text before Data sources, as a separate action and as information for each instance.
2. parsingFunctions.class.ts: Added parsing for fulltext and updated method "compareHostedByCollectedFrom()" to sort by both access and existence of fulltext.
3. resultLanding.component.html: Removed classes for <availableOn> in mobile actions.
4. entity-actions.component.ts: Updated uk-text-bolder class for all actions.
5. result-preview.ts: Added "fulltext?: string;" in HostedByCollectedFrom.
2023-10-11 12:46:10 +03:00
Konstantinos Triantafyllou a2f52cf40e Merge remote-tracking branch 'origin/develop' into angular-16 2023-09-15 15:18:49 +03:00
Konstantinos Triantafyllou 7650857186 Convert div - uk-toggle to a - uk-toggle for new Uikit. 2023-09-04 15:15:26 +03:00
Konstantina Galouni bad855089c [Library | develop]: resultLanding.component.html: Added check for message of non eosc results - do not show it in production environment until we get approval. 2023-09-04 14:46:25 +03:00
Konstantina Galouni 37208d82b6 [Library | develop]: transferData.component.ts: Set "overwrite": false & in method "validatePath()", removed regex and check only if path starts with / | transferData.component.html: Updated checks for path validation | resultLanding.component.ts: Added field public belongsInEOSC: boolean = false; and initialize it | resultLanding.component.html: Added message above title "This {{getTypeName() | lowercase}} is not part of the European Open Science Cloud" when in EOSC portal, but result has no EOSC context. 2023-09-04 12:48:17 +03:00
Konstantinos Triantafyllou 6470331207 Merge remote-tracking branch 'origin/develop' into angular-16 2023-08-30 16:44:39 +03:00
Konstantina Galouni 1b989441db [Library | develop]: resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: In main action bar for mobile (landing-action-bar-mobile), replaced uk-background-default with uk-tile-default uk-blur-background. 2023-08-25 15:56:53 +03:00
Konstantinos Triantafyllou 40ef950715 Merge remote-tracking branch 'origin/develop' into angular-16 2023-08-23 16:52:36 +03:00
Konstantinos Triantafyllou befbfd071b Add xsmall padding in graph_elements instread of margins because of uikit upgrade 2023-08-23 11:43:07 +03:00
Konstantinos Triantafyllou d9a8283630 Update to Uikit 3.16.24 2023-08-22 17:08:46 +03:00
Konstantina Galouni 587297a1c8 [Library & common-assets | develop]: Minor updates in mobile screens in icons/ paddings in landing pages.
1. resultLanding.component.html & project.component.html & dataProvider.component.html & organization.component.html: In mobile (small) screens, change ratio of icons in bottom action bar from 2 to 1.4.
2. showIdentifiers.component.ts: In mobile (small) screens, added in fs-modal classTitle="uk-tile-default uk-border-bottom".
3. landing.less: Added variable @landing-action-bar-mobile-border: @global-border; to use it in border-top of landing-action-bar-mobile > div | Changed padding of landing-action-bar-mobile > div to 8px in top and bottom.
2023-08-21 13:59:20 +03:00
Konstantina Galouni 6b2864ad02 [Library | develop]: entity-actions.component.ts & transferData.component.html & orcid-work.component.ts & resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Added "tooltips/messages" under the landing actions in mobile-small screens. 2023-07-27 15:28:40 +03:00
Konstantinos Triantafyllou 056faac88f Add mobile-dropown in dropdown-filter. Fix input autocomplete in mobile. Fix icon alignment in fundedBy. Add scroll to top in fs-modal and on change tab in landing mobile bar. 2023-07-26 11:49:50 +03:00
Konstantina Galouni b18cfcf533 [Library | develop]: resultLanding.component.html & resultLanding.component.ts & transferData.component.html & transferData.component.ts: In desktop view, reverted data transfer modal to normal instead of full screen & small fixes for action icon and modal view | aligned "Go to search" back button with the rest of the page contents. 2023-07-20 17:06:46 +03:00
Alex Martzios 39876e4ce6 landing & search: match top row info between the 2 as much as possible 2023-07-19 12:20:49 +03:00
Konstantinos Triantafyllou 78f87e61bb Merge remote-tracking branch 'origin/develop' into dynamic-piwik 2023-07-13 10:41:00 +03:00
Konstantina Galouni 870ce71897 [Library & common-assets | develop]: [WIP] dataProvider.component.html & project.component.html & resultLanding.component.html: Removed "uk-card uk-card-secondary" classes from metrics box and commented badge icon | metrics-badge.svg: Changed badge color to white (used to be orange - Explore specific) | landing.less: Updated class ".landing-metrics-card" to use background-blend-mode: color-dodge for svgs in landing metrics box. 2023-07-12 17:22:45 +03:00
Konstantinos Triantafyllou 37b7423e7f Simplify piwik logic: All work is done in piwik.service. 2023-07-12 15:05:25 +03:00
Konstantinos Triantafyllou 201792b0e3 Landing tabs: Add border-left and radius-left, reduce gutter between sections and align section content with Tab name. 2023-07-06 16:29:17 +03:00
Konstantina Galouni a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +03:00
Alex Martzios 1d31c7b234 landing pages: add check if landingInfo is initialized 2023-06-08 10:55:12 +03:00
Konstantina Galouni 9852bdeebf Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-07 14:52:05 +03:00
Konstantina Galouni 17c2b03c9e [Library | develop]: resultLanding.component.html: Added tooltip on links of Compatible EOSC Services. 2023-06-06 12:23:42 +03:00
Konstantina Galouni 9856805621 [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls.
1. dataProvider.component.html & project.component.html & resultLanding.component.html: [Bug fix] Updated checks for usage counts iframes and changed the order they appear (first views, then downloads).
2. dataProvider.component.ts & project.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] Updated parsing of dataProviderInfo.measure.counts when querying external usage counts api.
3. resultLanding.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] In bipFrameUrl, when environment == "beta", add "&src=beta" parameter.
4. orcid-work.component.ts:
   a. [Bug fix] Updated disabled class checks, to enable orcid buttons in search too when there are identifiers.
   b. When loading - action is in progress, show loading icon next to the label.
   c. In my orcid links page: renamed "Add to ORCID" to "Claim" and "Delete from ORCID" to "Remove".
5. newSearchPage.component.html: [Bug fix] Updated checks for "filters" floating button in mobile/ small screens.
6. Added method "detectChanges()" to be called by html.
7. navigationBar.component.html: Updated placeholder of search-input to align with the generic search form (Home page).
8. ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local.
2023-05-19 14:37:23 +03:00
Konstantina Galouni 98cae9dcb8 [Library & Explore | explore-redesign]: Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph" | Fixed duplicate queries in search all | Updated paper in FoS page | Improvements in sticky tabs (search all & landing).
1. Deleted assers/explore-assets/home/graph.svg - Replaced by assets/common-assets/common/graph-nodes.svg.
2. home.component.html:
   a. Updated graph image.
   b. Added in <div search-input>: [searchInputClass]="'inner background'".
   c. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
3. claimResultSearchForm.component.html & searchDataprovidersToDeposit.component.ts: Added in <div search-input>: [searchInputClass]="'inner background'".
4. searchAll.component.html:
   a. Updated margins/paddings for sticky tabs.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
5. searchAll.component.ts:
   a. [Bug fix] In method ngOnInit(), moved loadAll() call inside check - avoid duplicate calls to search for each tab with count query.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
6. fos.component.html:
   a. Updated paper of SciNoBo - replaced the old one with the newest.
   b. Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
7. fos.component.ts: Renamed "OpenAIRE Research Graph" to "OpenAIRE Graph".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: [Improvement] Updated check and class for <landing-header> when sticky - make it invisible, when not sticky - solved flickering and change of content position.
9. showTitle.component.ts: Added @Input() isSticky: boolean = false; and when sticky, show only 1 line of the title (class lines-1).
10. landing-header.component.ts: Show only title when sticky and pass isSticky to <showTitle>.
2023-05-15 17:28:33 +03:00
Konstantina Galouni 128c03c671 Merged develop branch into explore-redesign 2023-05-09 19:04:06 +03:00
Konstantina Galouni 2963589359 [Library | explore-redesign]: availableOn.component.ts & resultLanding.component & result-preview.component: [Bug fix] Added method "getAccessLabel()" to create label from accessRight. 2023-05-08 16:41:42 +03:00
Konstantina Galouni e8d57386f3 [Library | explore-redesign]: Updated icon for "not available" access of sources on research products.
1. icons.ts: Added custom icon "unknown_access", when access is not available (locker with questionmark inside).
2. parsingFunctions.class.ts: Set "accessRightIcon" of each source to "unknown_access" icon, when access is not available.
3. resultLandingUtils.module.ts: Added "unknown_access" icon in iconsService.registerIcons.
4. resultLanding.component.html: Mobile view: Updated tooltip of access - added "access" word in the end.
5. availableOn.component.ts: Updated tooltip of access - added "access" word in the end.
6. result-preview.component.html: In mobile view, show access on the top right, next to the title.
7. searchResearchResults.service.ts: [Bug fix] Call parsingFunctions.addPublisherToHostedBy_collectedFrom after parsing journal, publisher and identifiers.
2023-05-08 10:53:38 +03:00
Alex Martzios b500fcb957 resultLanding: use common structure for metrics (measure) 2023-05-04 11:58:11 +03:00
Konstantinos Triantafyllou aa86ee0fe3 Add entity-actions in all landing pages 2023-04-21 12:49:14 +03:00
Konstantina Galouni f22a0bc806 [Library | develop & Eosc Explore | develop]: Added font-family "Inter" to align with Marketplace | Updated how back button "Go to search" is build - combine referrer and the new url parameter "pv", which is expected to have the previous url path and params.
1. /assets: Added /media/fonts/inter folder with the "Inter" font-family.
2. eosc-custom.less: Override the default font family to use 'Inter', sans-serif.
3. routerHelper.class.ts: Added method "addQueryParam()" to add a query parameter in already existing or not object with parameters.
4. search-tab.component.ts & searchResult.component & projects-in-modal.component.ts & result/deletedByInference/deletedByInference.component.ts & organization/deletedByInference/deletedByInference.component.ts: Added @Input() prevPath: string = ""; and pass it to the appropriate children components.
5. result-preview.component & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Added @Input() prevPath: string = ""; and method "addEoscPrevInParams()" and call it when building queryParams of internal links.
6. metrics.component.ts: Added @Input() prevPath: string = ""; and use it when building internal urls.
7. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts:
   a. Added fields public referrer: string; and public prevPath: string;
   b. Read "pv" url property and get referrer.
   c. Added methods "addEoscPrevInParams()" and "eoscBackLink()".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html:
   a. Update "Go to Search" back link.
   b. Call "addEoscPrevInParams()" method when building queryParams of internal links.
   c. Pass "prevPath" to the appropriate children components.
2023-04-20 20:06:53 +03:00
Alex Martzios d6edc17fee add subjects as a new tab in resultLanding 2023-04-06 12:46:50 +03:00
Konstantina Galouni e1b5f4a46d Library | explore-redesign: Merging develop branch into explore-redesign 2023-04-06 12:06:12 +03:00
Alex Martzios 5bfc4d8f22 fix z-index problem with tooltip in metrics box, add message for no match in filter-search, removed access mode 'not available' question-mark icon from search page and landing 2023-03-31 13:28:35 +03:00