Commit Graph

696 Commits

Author SHA1 Message Date
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 d11a409f09 [Library | develop & Eosc Explore | develop]: metrics.component.ts & metrics.module.ts & metrics.service.ts: [Bug fix] Keep id, not url in parsing and build url of data source in component to use route instead of href | CHANGELOG.md: Updated format of contents & Added changes before production release v.2.0.2. | package.json: Updated version from 2.0.1 to 2.0.2. 2023-06-01 17:13:49 +03:00
Konstantina Galouni d24576a5c7 [Library | develop & Eosc Explore | develop]: Added in eoscSubjects, "EOSC::Data Cube" | Updated eosc url params in landing for back "Go to Search" link - "return_path" and "search_params" (instead of pv).
1. parsingFunctions.class.ts: Added in eoscSubjects, subject "EOSC::Data Cube" (linked with Adam plarform).
2. result-preview.component.ts & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
3. resultLanding.component.ts:
   a. Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
   b. Added method "getEoscParams()" to return eosc params as a string (to be used in href).
   c. Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
4. project.component.ts & dataProvider.component.ts:
   a. Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
   b. Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
5. organization.component.ts: Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
6. metrics.component.ts: Added method "getEoscParams()" to return eosc params as a string (to be used in href).
2023-05-25 18:10:58 +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
Alex Martzios 6a009aa76e organization landing: fix for when there are no other versions, the grid divider appeared 2023-05-19 11:32:02 +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
Alex Martzios 402e61324a roject & datasource landing: if the API call does not include usagecount measures, use old metrics service call 2023-05-15 13:09:45 +03:00
Alex Martzios 29723188bc resultLanding: in versions modal, expand authors instead of opening them in a new modal 2023-05-12 15:55:22 +03:00
Alex Martzios 53d8440171 fix bug in landing: when navigating from result to result, if they all have "Related Research" tab and selection input, options of the selection are not re-initialized 2023-05-12 14:00:34 +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 87c91e23fb project & dataProvider landing: use ngFor loop on the measure.counts arrays to display the correct measures 2023-05-04 15:15:47 +03:00
Alex Martzios b500fcb957 resultLanding: use common structure for metrics (measure) 2023-05-04 11:58:11 +03:00
Alex Martzios 8a8a7e4152 fix an error for results without FoS 2023-05-02 12:47:49 +03:00
Alex Martzios beb43ed1b7 project & data landing/search page: get usage counts from index (measure field) 2023-05-02 12:00:40 +03:00
Konstantinos Triantafyllou 49e2edfe84 Change piwik service methods in order to get the piwik from portal configuration 2023-04-26 14:10:45 +03:00
Alex Martzios d69b0d0bb5 resultLanding: remove numbers from FoS
FoS page: remove numbers from 3rd level only
2023-04-25 13:02:33 +03:00
Konstantina Galouni c547dfa945 [Library | develop]: resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: [Bug fix] Removed atob method call from get method "eoscBackLink()" - pv param is not expected to be base64 encoded but url encoded. 2023-04-21 19:56:19 +03:00
Konstantina Galouni 09df423c6a [Library | develop]: resultLanding.component.ts: [Bug fix] & missing on url update with pid. 2023-04-21 19:34:41 +03:00
Konstantina Galouni 8f3d865c91 [Library | develop & Eosc Explore | develop]: availableOn.component.ts: Renamed "Providers" to "Data sources" | package.json: Updated version to 2.0.1 (previous 2.0.0) & updated uikit version to 3.12.2 (previous 3.12.0) | CHANGELOG.md: Updated changes for 2.0.1 version. 2023-04-21 18:54:26 +03:00
Konstantinos Triantafyllou aa86ee0fe3 Add entity-actions in all landing pages 2023-04-21 12:49:14 +03:00
Konstantina Galouni 055434ab36 [Library | develop & Eosc Explore | develop]: resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: [Bug fix] In method "eoscBackLink()" added a dot (.) after beta | environment.beta.ts: Added "eoscDataTransferAPI" and "eoscDataTransferDestinations" properties. 2023-04-20 20:48:12 +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 51d50cf331 landing page: fix the check when there is nothing to show in the right column 2023-04-10 14:06:37 +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
Konstantina Galouni 8789a0e5ee [Library | develop]: resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Use new Graph badge to acknowledge OpenAIRE Graph & update message for feedback | newSearchPage.component.html: Use new Graph badge to acknowledge OpenAIRE Graph. 2023-03-28 19:27:02 +03:00
Alex Martzios 6679e6bac0 restrict result title in 3 rows for search page and 5 rows for landing page (included tooltip for landing) 2023-03-28 11:37:44 +03:00
Alex Martzios a356a08d67 create new tooltips for metrics in metrics cards and tabs - landing pages 2023-03-27 16:32:41 +03:00
Konstantina Galouni 55d1eb8a59 [Library | develop]: resultLanding.component.html: Updated Graph and Feedback (Powered by...) row in landing pages - used Graph badge (common-assets/openaire-badge-1.png). 2023-03-27 14:29:45 +03:00
Alex Martzios 932aaff111 changes for tooltips between landing and search pages, set a maximum height for 'download-from' dropdown, fix in fos-selection component 2023-03-27 13:03:07 +03:00
Konstantina Galouni 217a3969db Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-03-16 20:56:54 +02:00
Konstantina Galouni 4c19e65edb [Library | develop & EOSC Explore | master]: resultLanding.component & project.component & organization.component & dataProvider.component: Added top bar to go "back" to eosc search | Added asset top-bar.svg | eosc-custom.less: Updated colors and added ".eosc-explore-back-search-bar". 2023-03-16 17:53:28 +02:00
Konstantina Galouni e02ac38b7c Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-03-09 11:13:42 +02:00
Konstantina Galouni b25c6dd2f7 [Library | develop & EOSC Explore | master]: Redirect to eosc search for any page except landing | If property adminToolsPortalType is eosc, open search links to OpenAIRE Explore in a new tab.
1. home.component.html: Commented everything.
2. home.component.ts: Commented everything and added redirect to EOSC search.
3. app.component.ts: Commented <navbar>.
4. app-routing.module.ts: Removed unused routes | For any route other than landing, redirect to home page.
5. index.html: Removed BETA badge | Updated title from "Search OpenAIRE" to "Search EOSC".
6. errorPage.component.ts & relatedDatasourcesTab.component.ts & showAuthors.component.ts & search-tab.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab.
7. fos.component.ts & sdg.component.ts: If property adminToolsPortalType is eosc, open search page in OpenAIRE Explore in a new tab | If property adminToolsPortalType is eosc, do not show "feedback/suggest" link.
8. open-aire-jsonld-converter.service.ts: If property adminToolsPortalType is eosc, do not add fos and sdgs as doc.isPartOf.
2023-03-09 10:54:03 +02:00
Alex Martzios 8096c20e2d fix for displaying countries in results landings, fix for journal init in dataProviders landing, redesign mobile view for dataProviders landing 2023-03-01 16:49:42 +02:00
Alex Martzios 67714f6ac4 redesign project landing for mobile view, add embed tooltip for entity-actions component and project landing, minor fix for resultLanding metrics tab 2023-02-23 13:09:42 +02:00
Konstantina Galouni 44825c5985 [Library | explore-redesign]: In small screens (mobile) open full screen modal when viewing all authors or all identifiers.
1. showAuthors.module.ts: Imported FullScreenModalModule.
2. showAuthors.component.ts & showIdentifiers.component.ts: Added @Input() isMobile: boolean = false; | Added <fs-modal> for view all authors, to trigger it when isMobile.
3. landing-header.component.ts: Added @Input() isMobile: boolean = false; | Pass input param isMobile to <showAuthors>.
4. resultLanding.component.html: Pass input param isMobile to <showSubjects>, <showIdentifiers>, <landing-header>.
2023-02-22 23:13:46 +02:00
Konstantinos Triantafyllou 63b466fdaf 1. Fix uk-drop in available on. 2. Entity metadata: Add bullet with css in order to avoid empty content. 3. Add Deposit and embed in actions of entity-actions. 2023-02-22 14:43:31 +02:00
Konstantina Galouni f0f1874039 [Library | explore-redesign]: resultLanding.component.html: Small fixes on how impact and usage metrics (inside tab) appear in mobile | dataProvider.component.ts: Updated checks in hasMetrics() - do not show metrics until we get the response for views and downloads. 2023-02-22 02:23:10 +02:00
Konstantina Galouni 4aa350ff2b [Library | explore-redesign]: Mobile redesign for organization landing complete and functional.
1. loadingModal.module.ts: Imported LoadingModule.
2. loading.component.ts:
   a. [Bug fix] loading icon (spinner) was not visible.
   b. Added inputs title: string, @Input() isMobile: boolean = false, @Input() classTitle: string = "uk-background-primary uk-light".
   c. Added html for small screens (mobile) when isMobile.
3. search-tab.component.ts: Added @Input() public isMobile: boolean = false and [class.uk-flex-column]="isMobile" to not show title and view all link in the same row when isMobile.
4. organization.module.ts: Imported FullScreenModalModule.
5. organization.component.ts & organization.component.html: Mobile redesign complete and functional.
2023-02-22 00:09:12 +02:00
Alex Martzios be1a0ac7fa update tooltips for metrics and action-bar items 2023-02-21 19:13:15 +02:00
Konstantina Galouni 44e521cc8e [Library | explore-redesign]: Mobile redesign minor fixes for actions icons.
1. availableOn.component.ts: Make "arrow_right" and access right icons bigger in for mobile.
2. resultLanding.component.html: Set same ratio in all actions icons.
3. orcid-work.component.ts: Add margin small (not xsmall) when isMobile and landing.
2023-02-21 17:07:23 +02:00
Konstantina Galouni f9ff62f188 [Library | explore-redesign]: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions) and their contents.
1. availableOn.component.ts: Mobile redesign - open in full screen modal instead of drop | icons updated.
2. fos.component.ts: In mobile show {{title}} instead of hardcoded title.
3. resultLandingUtils.module.ts: Imported FullScreenModalModule.
4. deletedByInference.component.ts: Removed class "uk-list-divider" for <result-preview> - after redesign each result has its own bottom border.
5. orcid.module.ts: Imported FullScreenModalModule.
6. orcid-work.component.ts: Mobile redesign - Added full screen modals propagationFsModal and grantFsModal.
7. resultLanding.component.ts: Added citeFsModal, addThisFsModal, alertModalDeletedByInferenceFS and property public mobileContent: "info" | "metrics" | "actions" = "info".
8. resultLanding.component.html: Mobile redesign for the 3 buttons at the bottom (main info, metrics, actions).
2023-02-21 16:10:21 +02:00
Alex Martzios 3b962dc0e5 create mobile view structure for organization landing, add @media rules for project and dataProvider landing, change size of result title 2023-02-21 15:06:28 +02:00
Konstantina Galouni 3a18403a0e [Library | explore-redesign]: fundedBy.component.ts & relatedTo.component.ts: In view more/less links added class "uk-link-text". 2023-02-21 03:01:21 +02:00
Konstantinos Triantafyllou fc9e77b887 [Library | explore-redesign]: Fixes on FoS and SDGs suggest modal (checked existing subjects, added loading) - In FoS fixed scrolling, search and final response of selected fields.
1. composer.ts & resultLanding.component.ts: Removed "and Technology" from "Fields of Science" typename.
2. resultLanding.component.html: Bind (suggestClicked) to <fos> instead of (feedbackClicked).
3. input.component.ts: [Bug fix] Added check in "filter()" method if option.label.
4. sdg-selection.component.ts: [Bug fix] Set this.loading = false; inside subscribe.
5. fos.component.ts: In title, updated FOS to FoS.
6. sdg-fos-suggest.module.ts: Imported LoadingModule.
7. sdg-fos-suggest.component.ts: Show loading when sending email | Do not initialize <sdg-selection> and <fos-selection> before subjects have value (this way inputs of existing fos/sdgs are checked).
8. fos-selection.component.ts:
   a. Added @Input() inModal: boolean = false; to set activeSection, when inModal, instead of navigating with fragment.
   b. [Bug fix] Set this.loading = false; inside subscribe.
   c. Call this.setObserver(); both in ngOnInit and when keyword changes.
   d. Updated threshold of observer from 0.25 to 0.1 (large FoS categories were never triggered on scrolling, because less than 25% of their content was visible).
   e. Updated fosOptions to Map<string, boolean> to track easily checked inputs and updated getSelectedSubjects() accordingly.
9. fos-selection.component.html: In search-input of keyword no options are needed | Updated ngModel of checkbox inputs.
10. cache-interceptor.service.ts: Added check if (!properties.useLongCache) to skip cache.
2023-02-21 02:47:23 +02:00
Alex Martzios f17b25d66f create tooltips for all landing page metrics card (BIP and UsageCounts) 2023-02-20 19:29:21 +02:00
Konstantinos Triantafyllou 3d296f3234 Add organizations in entity-metadata 2023-02-20 18:17:30 +02:00
Konstantina Galouni 6947890c20 [Library | explore-redesign]: Result landing redesign for small screens (mobile) - main info & tabs of main info.
1. fos.component.ts & sdg.component.ts: Added Beta badge and "View all" link.
2. fundedBy.component.ts: Added @Input isMobile and relative checks in html | Updated how projects appear in mobile | Added ng-template for #funder and #dropInfo.
3. relatedTo.component.ts: Added @Input isMobile and relative checks in html | Added uk-margin-small-bottom between communities in mobile.
4. showSubjects.component.ts:
   a. Added @Input isMobile and relative checks in html.
   b. Added @Input() viewAllSubjects: boolean = false, @Input() viewAllClassifiedSubjects: boolean = false, @Output() viewAllClicked  = new EventEmitter(); and methods "viewAllSubjectsClicked()", "viewAllSubjectsByVocabularyClicked()" to show subjects properly in mobile.
5. full-screen-modal.component.ts: Added method "backClicked()" and field public stayOpenInBack: boolean = false.
6. resultLanding.module.ts: Imported FullScreenModalModule.
7. resultLanding.component.ts & resultLanding.component.html: Redesign for small screens (mobile) for main info and its tabs (Summary, References, etc..).
2023-02-20 17:56:02 +02:00
Konstantinos Triantafyllou 9715de74d2 Create entity-actions and add all result actions in it. Add filters-toggle in advanced search for mobile. Add funders and subjects in entity-metadata. Change authors view less 2023-02-20 16:59:07 +02:00
Alex Martzios 23bfc3af3d changes for sdg/fos selection and suggest components 2023-02-20 16:34:12 +02:00
Konstantina Galouni 10ea930d8a [Library | explore-redesign]: availableOn.component.ts: [Bug fix] Added check if availableOn.length > 0. 2023-02-18 10:53:40 +02:00
Konstantina Galouni 1ca647f56e [Explore & Library | explore-redesign]: Updated component for suggest SDGs or FoS.
1. alert.ts: Added previous button option.
2. composer.ts: Set feedback values in body | Make method "composeEmailForSdgsSuggestion()" generic to send feedback for either SDGs or FoS. - TODO: Rename method.
3. sdg-selection.component: Added some checks | Added method "getSelectedSubjects()".
4. sdg-fos-suggest.component: Updated component for suggestion | Send suggested subjects to composer | Add modal here | Make file generic for FoS or SDGs suggestion.
5. resultLanding.component: Updated how <sdg-fos-suggest> is called | Moved SDGs / FoS suggest modal inside <sdg-fos-suggest>.
2023-02-18 10:52:24 +02:00
Konstantina Galouni 79bcf402d6 [Explore & Library | explore-redesign]: searchResult.component.ts & searchResearchResults.service.ts: Remove logs from search | resultLanding.component.html: [Bug fix] Add check if resultLandingInfo.measure | Remove from <result-preview> modal input that does not exist anymore. 2023-02-18 10:41:34 +02:00
Konstantinos Triantafyllou 332a32a4e4 Add entityMetadataComponent in export of the module 2023-02-17 19:47:47 +02:00
Konstantinos Triantafyllou 238aafd552 Change results preview. Add hosted by, metrics in search results. Create entity-metadata for entity medata. 2023-02-17 19:40:05 +02:00
Alex Martzios 75ad00db3f create new component for handling SDG suggestions 2023-02-17 19:08:44 +02:00
Konstantinos Triantafyllou 4858e9f22d Add condition for measures existance in parseMeasures 2023-02-16 16:37:40 +02:00
Konstantinos Triantafyllou 0a1e0fbd8a Add measures and hosteby collected from in search result objects 2023-02-16 16:33:40 +02:00
Alex Martzios 1093027ca1 general fixes for all landing page types, create new fos/sdg selection components for user feedback 2023-02-16 12:59:18 +02:00
Alex Martzios 5c9470a959 fix for 'collected from' link that was not working, coloring of new access icons and bip/usage icons, metrics tabs and charts - all landing pages 2023-02-13 15:51:15 +02:00
Alex Martzios beebd6c6d7 progress for landing pages redesign 2023-02-08 11:21:16 +02:00
Konstantinos Triantafyllou 03b28d57d5 Merge from angular-14 2023-01-25 11:53:32 +02:00
Alex Martzios 0a519c667a start on result landing mobile redesign 2023-01-24 15:32:58 +02:00
Alex Martzios c58bc15a74 progress on all landing page types 2023-01-23 16:19:00 +02:00
Alex Martzios 95de86e767 progress in result landing page 2023-01-13 15:57:26 +02:00
Alex Martzios c1fa0889ee progress in landing page (new metrics, tweaks for new action-bar) 2023-01-13 08:32:16 +02:00
Alex Martzios 871c45c480 progress on result-landing page and used components within it 2023-01-09 18:35:28 +02:00
Konstantina Galouni 161052d97c Merge remote-tracking branch 'origin/angular-14' into data-transfer-v2 2023-01-04 13:36:54 +02:00
Konstantina Galouni 471c177251 [Library | angular-14]: landing-header.component.ts: [Bug fix] Typo in uk-margin-bottom class. 2022-12-21 13:33:58 +02:00
Alex Martzios 9ead7fee7d progress on explore landing page 2022-12-20 15:27:18 +02:00
Konstantina Galouni fbbfa579ca [Library | angular-14]: resultLanding.component.ts: [SEO] Added more keywords in "title_authors_words" (method checkIfAllowed()), to not index records containing them in the title or authors. 2022-12-05 12:36:53 +02:00
Konstantina Galouni 508dac6c4d Merge origin/master into angular-14 branch 2022-11-29 14:13:29 +02:00
Konstantina Galouni e9e2ee9f3a [Library]: [Bug fix] Strip html tags for titles and descriptions and show them as innerHTML.
1. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts & orcid-work.component.ts: Commented unused @ViewChild fields.
2. dataProvider.service.ts & project.service.ts & resultLanding.service.ts: Strip html tags from title.
3. resultLanding.component.ts: [Bug fix] resultLanding.description is string, not array.
4. orcidWork.ts: [Bug fix] resultLanding.description is string, not array & strip html tags from description.
5. refineFieldResults.service.ts: In method "getSearchAPIURLForEntity()", for entityType "result" set suffix to "results/".
6. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Strip html tags from title | Do not cut description (multi line ellipsis is used in html).
7. jsonld-document-serializer.service.ts: [Bug fix] resultLanding.description is string, not array.
8. result-preview.component.html: Show description as innerHTML to properly display special characters.
2022-11-28 19:22:01 +02:00
Konstantina Galouni f935e81959 [Library | EOSC Explore]: Updated styles | Updated link to Marketplace for EOSC::RO-crate | Bug fix in description of results versions | Removed timeout from reports.service.ts.
1. home.component.html: Added blue banner, white logo, aligned search form to the center and updated fonts according the new EOSC Marketplace.
2. parsingFunctions.class.ts: Updated link to Marketplace for eosc subject EOSC::RO-crate.
3. resultLanding.component.html: Updated how links to Compatible EOSC Services are displayed.
4. searchAll.component.html: Updated paddings and margins in search form of Search all page.
5. navigationBar.component.html: Set burger menu icon to light color if dark background.
6. advancedSearchDataProviders.component.ts & advancedSearchOrganizations.component.ts & advancedSearchProjects.component.ts & advancedSearchServices.component.ts & searchResearchResults.component.ts & searchDataproviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts & searchServices.component.ts & search.component.ts: Set in searchForm, dark=true.
7. aggregators.ts: In eoscInfo, updated logoUrl and removed customCss of AggregatorInfo.
8. app.component.ts: Set header.darkBg: true.
9. Added eosc-custom.less file.
10. styles.less: import eosc-custom less file, instead of portal-custom.css.
11. deletedByInference.service.ts & result-preview.ts: [Bug fix] Parse description of versions properly.
12. reports.service.ts: Copy fix from angular-14 branch - do not timeout to 10000.
2022-11-28 14:37:37 +02:00
argirok 8e22fe60b0 Data transfer: remove checks for only zenodo dois 2022-11-11 11:55:15 +02:00
argirok 806f0185b8 Enable Orcid S&L for aggregator 2022-11-09 13:41:33 +02:00
Konstantina Galouni 04229ad0ed Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-09-30 16:03:00 +03:00
Konstantina Galouni a246608368 [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter
1. styles.less: Renamed from styles.css and added imports of less files and portal-custom.css (to be updated).
2. angular.json: In styles configuration added styles.less.
3. index.html & beta/index.html: In beta badge, used background instead of background-color to css rules.
4. portal-custom.css: Added rule for .search-form to inherit color in background.
5. searchFields.ts:
   a. Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources refine filter "Type".
   b. In method "getResultAdvancedFields()" return always RESULT_ADVANCED_FIELDS without excluding "eoscifguidelines".
6. datasourcesHelper.class.ts: Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources queries and used updated type names "Research Entity Registry" (old "Registry") and "Journal Archive" (old "Journal archive").
7. cache-interceptor.service.ts: Updated cachingRequests array, using new "eoscdatasourcetype" and its values.
8. dataProvider.component.html && result-preview.component.html: Do not add hardcoded compatibility label "Not yet registered" and updated checks.
9. resultLanding.service.ts & parsingFunctions.class.ts: Parse resultLandingInfo.eoscSubjects only by "eoscifguidelines" field not "subjects".
10. searchFilter.component.ts: [Bug fix] In Access filter, fixed bug in view all, when clearing the preselected value.

* Do not forget to add in package.json in devDependencies, "@types/express-serve-static-core": "4.17.28"
2022-09-30 14:51:00 +03:00
Konstantinos Triantafyllou a31605e9d5 Update angular core and cli to version 14 2022-09-23 13:25:08 +03:00
Konstantina Galouni 82cec11525 [Library | new-theme]: dataProvider.component.ts & project.component.ts & resultLanding.component.ts: Small update on previous commit - Call detectChanges() method, after content is returned and processed, right after showLoading = false command. 2022-09-21 15:39:57 +03:00
Alex Martzios f888e1090d landing: cut description & show more in modal after 10 lines of content 2022-09-21 13:32:21 +03:00
Konstantina Galouni b373a53e34 [Library | new-theme]: parsingFunctions.class.ts: [Bug fix] Stringify each downloadName and collectedFromName. 2022-09-16 16:12:58 +03:00
Konstantina Galouni 89e769f030 [Library | new-theme]: parsingFunctions.class.ts: [Bug fix - #8074] In method "parseResults()", updated how title of each related research is parsed (prioritize classid = "main title"). 2022-09-15 16:28:25 +03:00
Konstantina Galouni 7ef47ab0ef [Library | new-theme]: Fixes in parsing of "eoscifguidelines" | Added EOSC Subject ("eoscifguidelines") in RESULT ADVANCED FIELDS (not in production for now).
1. resultLanding.service.ts: [Bug fix] Spelling error in parsing of "eoscifguidelines" field.
2. showSubjects.component.ts: [Bug fix] Do not show "EOSC" label in classified subjects, when no "eoscSubjects" parsed.
3. searchFields.ts: In RESULT_ADVANCED_FIELDS added "eoscifguidelines" | Added method "getResultAdvancedFields()", which does not include "eoscifguidelines" in "RESULT_ADVANCED_FIELDS" when environment == "production".
4. searchAll.component.ts & searchResearchResults.component.ts: Get searchFields.RESULT_ADVANCED_FIELDS from "getResultAdvancedFields()".
2022-09-09 00:46:44 +03:00
Konstantina Galouni 656a3634e2 [Library | new-theme]: Do not show provenance value if no provenance vocabulary or if no label for this provenance value.
1. fundedBy.component.ts: Added local field "provenancesCalculated" to check for each provenance label only once and do not show provenance if no vocabulary or if not label for this value.
2. result-preview.component.ts: Do not show provenance if no vocabulary or if no label for this value.
3. HelperFunctions.class.ts: In method "getVocabularyLabel()" added parameter "returnIfNotFound: boolean = true" to return null if no vocabulary or if no label for this value, when it is false.
2022-09-09 00:35:11 +03:00
Alex Martzios 66fecd2f41 make asynchronous calls for vocabularies when getting the result landing info 2022-09-06 16:28:51 +03:00
Konstantina Galouni 2c27854213 [Library | new-theme]: #7963 - Parse field "eoscifguidelines" in result landing page to get eosc subjects.
1. resultLanding.service.ts: Added in parsing field "eoscifgiudelines" (resultLandingInfo.eoscSubjects).
2. parsingFunctions.class.ts: Added method "parseEoscSubjects()" | Method "checkAndAddEoscSubject()" updated - do not add eosc subjects in classifiedSubjects.
3. resultLanding.component.html: In <showSubjects> added [eoscSubjects]="resultLandingInfo.eoscSubjects".
4. showSubjects.component.ts: Added @Input() eoscSubjects: any[]; and show them as classifiedSubjects too.
2022-08-30 11:35:42 +03:00
Alex Martzios 89f9bb87bf remove code for "citations" tag (renamed to "references") - resultLanding service 2022-08-29 16:18:04 +03:00
Alex Martzios f77cfb48f9 remove SharedModule and use library's instead 2022-08-29 14:04:20 +03:00
Konstantina Galouni ac70b8c260 [Library | new-theme]: resultLanding.component.ts: [Bug fix] Added check if "resultLandingInfo.hostedBy_collectedFrom" is initialized | dropdown-filter.component.ts: [Bug fix] In method "isOpen()" added check if in client side. 2022-08-09 12:31:57 +03:00
argirok 1e3c9d7cba Eosc explore: latest changes/ corrections before review 2022-08-08 12:47:14 +03:00
Konstantina Galouni d43f576d40 [Explore | Library | new-theme]: Added more refine filters in Repositories, Journals, Registries pages | Search & Datasource landing: Show not compatible datasources | Result Landing: get relations names by relationsVocabulary (dnet:relation_relClass.json).
1. env-properties.ts & environments/: Removed old properties searchLinkToEntityRegistriesDataProvidersTable and searchLinkToJournalsTable.
2. fetchDataproviders.class.ts & searchDataproviders.service.ts: Removed old unused methods related to subjects/ tables/ csv.
3. searchFields.ts: Added more refine filters in Repositories, Journals, Registries pages (COMPATIBLE_DATAPROVIDER_FIELDS, ENTITY_REGISTRIES_FIELDS, JOURNAL_FIELDS).
4. result-preview.component.ts: Added field @Input() deposit: boolean = false;
5. result-preview.component.html:
   a. Added link to landing page even for not compatible datasources.
   b. Added class "uk-label-danger" when compatibility = "not available" only when deposit=true.
6. searchResultsInDeposit.component.html: In <result-preview> added parameter deposit="true".
7. dataProvider.component.html:
   a. Added class "uk-label-danger" when compatibility = "not available".
   b. Show custom "Not yet registered" compatibility label when compatibility = "not available".
8. ISVocabularies.service.ts: Added methods for getting relationsVocabulary (dnet:relation_relClass.json).
9. resultLanding.service.ts & parsingFunctions.class.ts: When parsing relations, get relationName from relationsVocabulary.
10. resultLanding.component.ts: Get relationsVocabulary and pass it to "getResultLandingInfo()".
11. orcid-work.component.ts: When calling "getResultLandingInfo()", added null parameter for relationsVocabulary.
12. configuration.service.ts: [Bug fix] Added more checks in method "isPageEnabledByStateAsync()".
2022-08-03 18:21:14 +03:00
Alex Martzios 23c0ea997c resultLanding - hide marketplace links in explore (visible only for eosc explore) 2022-08-02 14:55:33 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +03:00
Konstantina Galouni 14bd18c9d8 [Library | new-theme]: Organizations: Use openorgs identifier when available | In social sharing button and modal (landing) use OpenaireEntities.
1. organization.service.ts & searchOrganizations.service.ts: When "objIdentifier" starts with "openorgs____", set canonicalId and id to openorgs id.
2. dataProvider.component & organization.component & project.component: In button and modal for social media sharing, use name of entity by OpenaireEntities.
2022-07-12 13:20:28 +03:00
Konstantina Galouni fc5fcfaede [Connect & Library | new-theme]:
1. projects-in-modal.module.ts: Imported DropdownFilterModule.
2. projects-in-modal.component.ts: Use common <dropdown-filter> instead of custom uk-button and uk-dropdown.
3. full-screen-modal.component.ts: [Bug fix] In ngOnDestroy added check for observer - error in ssr.
2022-07-07 10:54:12 +03:00
Konstantina Galouni bbbb711865 [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon.
1. availableOn.component.ts: [Bug fix] Added class "uk-link-text" in links of license and providers.
2. menu.ts: In MenuItem added field target: string = "_blank"; and in constructor added parameters and initialization of target, type, isFeatured.
3. navigationBar.component.html: Updated checks for "custom-external" class and target according to target field of MenuItem.
4. app.component.ts: In "Manage" menu item set target to "_self".
5. menu.component.ts: (Admin form) In method "menuItemSaveConfirmed()" added: this.menuItemForm.value.target = this.menuItemForm.value['type'] == "internal" ? "_self" : "_blank";
2022-06-29 13:56:19 +03:00
Konstantina Galouni 4d520d71fe [Library | new-theme]: Added scrolling in links and my links | set 403 on errorPage when private data | Show pid re3data lowercase.
1. displayClaims.component.ts & searchMyOrcidResults.component.ts: Added scrolling in my/all claims page and in my orcid links page.
2. errorPage.component.ts: Set statusMessage and statusCode to 403 when page is private.
3. showIdentifiers.component.ts: Do not add uk-text-uppercase for "re3data" pid.
4. myOrcidLinks.component.ts: In "No ORCID links found" added classes "uk-text-meta uk-text-large uk-text-center" instead of alert.
5. searchMyOrcidResults.component.html: Added condition if totalResults > 0 and previewResults > 0 for <no-load-paging>.
2022-06-27 12:00:30 +03:00
Konstantina Galouni 428a48223a [Library | new-theme]: Sorted Advanced filters alphabetically | Added "pid" in advanced filters for Datasource | Organization lannding: projects tab: Added number of selected values in funder filter.
1. projects-in-modal.component.ts: Added the missing number of selected values next to the filter name - on updateFilters() method, update filter.countSelectedValues.
2. searchFields.ts:
   a. Added pid in  DATASOURCE_ADVANCED_FIELDS.
   b. Added method "sortFieldsByName()" to sort fields by name and leave "q" filter (Any field) first.
3. searchAll.component.ts & searchDataProviders.component.ts & searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts: Added "this.searchFields.sortFieldsByName(this.fieldIds, this.fieldIdsMap);" to sort advanced fields alphabetically.
2022-06-23 17:30:45 +03:00
argirok d12138bc2a resultLanding: update jsonld to include isPartOf url with FOS/SDG search pages 2022-06-22 16:13:28 +03:00
Konstantina Galouni dea00ca988 [Library | new-theme]: Bug fixes in orcid (when work was deleted from ORCID ui, problem in "View orcid work" button & on grant (when not granting, but click on logout, success notification was appearing) | Deleted unused code.
1. resultLanding.component.ts & resultLanding.service.ts: Deleted code related to Open Citations (unused and deprecated).
2. myOrcidLinks.component.ts & orcid-work.component.ts: [Bug fix] On method "openGrantWindow()", condition changed to show success notification if (ev.isTrusted && ev.origin == location.origin && ev.data == 'success') - notification was appearing on logout.
3. orcid-work.component.ts:
   a. In #workModal set large="true".
   b. [Bug fix] In method "getPutCode()", called in "View orcid work" button, added check and warning notification if response is null - used to open empty modal.
   c. [Bug fix] In handleError() method, messages fixed -- used to show ...with pids: {{title}}...
4. datasourcesHelper.class.ts: In method "getQueryPrefix()" deleted commented conditional code for the environment.
2022-06-20 15:56:29 +03:00
Konstantina Galouni fba0531dbf [Library & common-assets | new-theme]: Fixes in landing for offcanvas right sidebar.
1. resultLanding.component.html: Moved offcanvas right sidebar outside grid (problem with upcoming new openaire theme - .less version).
2. landing-utils.css: [Bug fix]: In  .landing .uk-offcanvas .uk-dropdown, set left and right to auto (dropdown shouldn't go out of offcanvas).
2022-06-17 16:20:17 +03:00
Konstantinos Triantafyllou 8a64b576d0 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-17 02:58:03 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +03:00
Konstantina Galouni fb4df63f19 [Library & common-assets | new-theme]: z-index problems in landing pages & scrolling on page change in tabs and versions modals | Bug fix in projects tab of organizatio landing.
1. landing-utils.css: [Bug fix] z-indexes of uk-dropdown set to 981 (landing only), z-index of #main-tabs-div set to 978, z-index of graph_and_feedback set to 979.
2. showAuthors.component.ts: [Bug fix] Added @Input() isSticky: boolean = false; and when isSticky is true, do not show orcid info & dropdown for authors (z-index problem).
3. resultLanding.component.ts: Added scrolling in "References" and "External Databases" (bioentiites) tabs on page change.
4. resultLanding.component.html: [Bug fix] For the right sidebar, added inner <div class="uk-overflow-auto uk-height-1-1"> inside sticky - z-index problem.
5. result/deletedByInference.component.ts & organization/deletedByInference.component.ts: Added scrolling on page change.
6. projects-in-modal.component.ts:
   a. Added scrolling in "Projects" tab on page change.
   b. Show number of projects and pages always.
   b. [Bug fix] On filterChange(), set page=1.
7. landing-header.component.ts: Added parameter isSticky in <showAuthors>.
8. Added scrolling in "Related Data Sources" tab on page change.
2022-06-16 19:37:31 +03:00
argirok 9e7a6852cc Landing: scroll to tab top when change page inside a tab 2022-06-16 10:56:09 +03:00
Konstantinos Triantafyllou d6fa3a87fa Change navbar-height to header-height in langing pages 2022-06-16 01:44:03 +03:00
Konstantina Galouni 7dc4c5e664 [Library | new-theme]: Removed parsing and display of special clause 39 (esc39) | In parsing for open access mandate for datasets, added check if field is "projectoamandatedata" (ecarticle29_3 to be renamed to projectoamandatedata).
1. project.component.html & result-preview.component.html: Do not display label for "Special Clause 39".
2. project.service.ts:
   a. Removed parsing of ecsc39.
   b. For parsing of openAccessMandateDatasets, use projectoamandatedata or ecarticle29_3.
3. searchDataproviders.service.ts & searchOrganizations.service.ts & searchResearchResults.service.ts: Removed sc39 from "title" of SearchResult.
4. searchProjects.service.ts:
   a. Removed sc39 from "title" of SearchResult.
   b. Removed parsing of ecsc39.
   c. For parsing of openAccessMandateDatasets, use oamandatedata or ecarticle29_3.
5. organizationInfo.ts: Removed "sc39: string;" from OrganizationProject.
6. projectInfo.ts: Removed "specialClause39: string;" from ProjectInfo.
7. searchFields.ts: Removed "projectecsc39" and added "projectoamandatepublications" in PROJECT_REFINE_FIELDS.
8. result-preview.ts: Removed "sc39: string;" from ResultTitle and ResultPreview | Do not set sc39 in searchResultConvert().
2022-06-15 13:54:49 +03:00
Konstantina Galouni 8f450e1be6 [Library | new-theme]: showSubjects.component.ts: Bug fixes in subjects.
a. Updated "view all" functionality and how subjects by vocabulary are displayed.
b. Added setTimeout in ngAfterViewInit().
c. Added check in getKeys() if map is defined.
d. Added checks in <modal-alert> for subjects and subjects by vocabulary.
e. Set large="true" in <modal-alert> for subjects by vocabulary.
2022-06-15 13:32:22 +03:00
Konstantina Galouni ed7e66852a [common-assets & openaire-theme & Library | new-theme]: Updated class for graph color and moved to openaire.css | z-index fixes in dropdown and in landing pages.
1. dropdown.css: [Bug fix] Added z-index: 1 in uk-dropdown to prevent dropdown from being on top of menu.
2. text.css: Removed classes "text-orcid" and "text-argos" (moved to openaire-theme/css/openaire.css.
3. openaire.css: Removed class "graph" and added "text-graph", "text-orcid", "text-argos".
4. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html & newSearchPage.component.html: Use class "text-graph" instead of "graph" for graph color.
5. landing-utils.css: [Bug fix] Updated z-index of #graph_and_feedback to 980 (previous 979) to be on top of tabs in landing pages | background of #main-tabs-div was set twice.
2022-06-14 17:00:13 +03:00
Alex Martzios a89710765e fix for loading animation in landing pages 2022-06-10 14:56:32 +03:00
Konstantina Galouni c9143ebbf0 [Library & common-assets | new-theme]: min-width in landing right sidebar | fix in classified subjects display | tooltip for license in download from.
1. landing-utils.css: Added class .landing-right-sidebar-min-width { min-width: 360px; }.
2. resultLanding.component.html: In right sidebar added class "landing-right-sidebar-min-width".
3. showSubjects.component.ts: [Bug fix] Removed class "uk-flex-inline" from keys for loop div - so that each tag goes to a new line.
4. availableOn.component.ts: Added uk-tooltip for accessRight tooltip | On hovering licence, show in tooltip the whole value.
2022-06-09 17:51:58 +03:00
Konstantina Galouni f974e91c25 [Explore & Library & openaire-theme | new-theme]: Updated parsing of classified subjects by using a vocabulary | Added parsing of instance.license in Download from | Added feedback functionality for fos and sdgs in landing | #7509 Parsing both citations and references fields | In "view all/less" links added chervon-right icon with class "view-more-less-link".
1. fos.component.ts & sdg.component.ts: Added method "urlEncodeAndQuote()" to encode and then quote a string.
2. fos.component.html & sdg.component.html:
   a. "Beta" badge was updated to yellow uk-text-large.
   b. Link to the simple search page instead of the advanced and urlEncodeAndQuote the parameter used in url.
3. link.css: Added class "view-more-less-link" to set on ::after "chevron_right" icon (not underlined on hover) - used in "view all/more/less" links.
4. dataProvider.component.html & project.component.html & fundedBy.component.ts & relatedTo.component.ts & showIdentifiers.component.ts & showAuthors.component.ts: In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all".
5. feedback.component.html: Rename wording to be more positive: issues -> feedback, issue -> comment, report -> feedback.
6. feedback.component.ts: Added @Input() preSelectedField: string = ""; and set with it "field" on "addIssue()" (fos/sdg preselected for feedback).
7. availableOn.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. #7833 - Show instance.license information (as link when recognized as url, string otherwise).
8. landing-utils/fos.component.ts & landing-utils/sdg.component.ts:
   a. "Beta" word was updated to yellow uk-text-xsmall.
   b. In "view all/less" links added class "view-more-less-link".
   c. Added feedback functionality: link to feedback form.
9. showSubjects.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. Added "view all" functionality for classified subjects too.
10. resultLanding.component.html:
    a. In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all"
    b. Added feedback functionality: link to feedback form - preselect in feedback form fos/sdg.
11. resultLanding.component.ts:
    a. Added public feedbackPreSelectedField: string = ""; field.
    b. Added method "feedbackClicked()".
    c. [Bug fix] In hasPrimaryInfo() added check for classifiedSubjects.
    d. Renamed getProvenanceVocabularyAndResultLandingInfo() to getVocabulariesAndResultLandingInfo() and call also this._vocabulariesService.getSubjectsVocabulary().
12. parsingFunctions.class.ts:
    a. #7196 - Updated parsing of subjects in method "parseAllSubjects()".
    b. #7833 - In method "parseHostedBy_collectedFrom()", added parsing for "license" field.
13. orcid-work.component.ts: On calling method "this.resultLandingService.getResultLandingInfo()", added null parameter for subject vocabulary.
14. searchFilter.module.ts: Import IconsModule.
15. searchFilter.component.html: Removed +/- form "view all/less" links and added class "view-more-less-link".
16. result-preview.ts: Added "licence?: string" in HostedByCollectedFrom.
17. ISVocabularies.service.ts:
    a. Added "private subjectsVocabulary: BehaviorSubject<any> = new BehaviorSubject<any>(null);" field and methods "getSubjectsVocabulary()", "getSubjectsVocabularyFromService()".
    b. Commented this.clearSubscriptions() from "getProvenanceActionVocabularyFromServiceAsync()".
18. resultLanding.service.ts:
    a. On subjects parsing, use subjectsVocabulary.
    b. #7509- Added if/then/else case for parsing citations (new name: references).
2022-06-09 16:45:39 +03:00
Konstantina Galouni b88c65a343 [Library | new-theme]: Create common methods to get entity name and entity file name from OpenaireEntities.
1. string-utils.class.ts:
   a. Added method "public static getEntityName(entityType: string, plural: boolean = false): string" to return OpenaireEntities name by entityType.
   b. Added method "public static getEntityFileName(entityType: string): string" to return OpenaireEntities file name by entityType.
2. directLinking.component.ts & dataProvider.component.ts & project.component.ts & resultLanding.component.ts & myOrcidLinks.component.ts & searchResearchResults.component.ts & result-preview.component.ts & search-tab.component.ts: Call StringUtils.getEntityName and StringUtils.getEntityFileName methods instead of checking if/then/else locally.
2022-06-03 13:01:55 +03:00
Alex Martzios f05af7b89a fix to center main content on mobile viewport 2022-06-02 16:11:24 +03:00
argirok de1218b343 Cite this: increase timeout - reduce possibility of require error 2022-06-02 15:49:22 +03:00
Alex Martzios 50a921ba43 landing pages small screens: remove sidebar and add actions at the top 2022-06-02 15:17:30 +03:00
Konstantina Galouni 5ae738f155 [Library | new-theme]: [Bug fix] dataProvider.component.ts: Set typeQueryPathParam="services" when ?pid in url and type=="service". 2022-06-01 15:48:57 +03:00
Konstantina Galouni 0946bd73b5 [Library | new-theme]: Fix display of errorMessages | Use <landing-header> instead of <showTitle> in all landing pages | Stop sticky header before graph & feedback line | Fix bug in eoscSubjectsFound intialization - set it as local variable.
1. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html:
   a. Move errorMessages and loading inside center box.
   b. In center box, after graph & feedback line, set [style]="'margin-bottom: '+graph_height+'px'", so that sticky header stop before graph & feedback.
2. resultLanding.component.html: Removed "uk-height-1-1" class from center box.
3. organization.component.html & project.component.html: In sticky header use <landing-header> instead of <showTitle> (forgotten in commit 8b94b7f98a).
4. organization.component.ts & project.component.ts & resultLanding.component.ts: In errorMessage, use OpenaireEntities in singular.
5. parsingFunctions.class.ts: [Bug fix] Removed "eoscSubjectsFound" from class fields and set it as local variable - bug fixed on back and again on landing.
2022-06-01 15:29:19 +03:00
Konstantina Galouni b0c9ee3736 [Library | new-theme]: parsingFunctions.class.ts: Added method "checkAndAddEoscSubject()" which is called for all subjects (classified or not) and sets eosc subjects when the label is found in "eoscSubjects". 2022-05-31 18:08:05 +03:00
argirok 7054a8f26c parsing functions: update links to market place based on environment 2022-05-31 14:01:29 +03:00
Konstantina Galouni e9a2163136 [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 86b48dc932 Merge remote-tracking branch 'origin/new-theme' into new-theme 2022-05-30 10:39:37 +03:00
Konstantina Galouni 95549185d9 [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
argirok aff611314e result landing add additional check for dois - transfer service 2022-05-30 10:06:30 +03:00
argirok 9a2b8d3632 storage transfer: add path validator, fix hardcoded url, add scrolling in the list of files 2022-05-24 14:24:54 +03:00
argirok f16f2dd9e1 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-05-23 14:01:51 +03:00
Konstantina Galouni 4db983a91d [Library | new-theme]: parsingFunctions.class.ts: Updated links for eoscSubjects. 2022-05-23 13:23:24 +03:00
argirok c53e23708e update transfer data component - real api calls 2022-05-23 12:54:34 +03:00
Konstantina Galouni 4ce80019e7 [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
Konstantina Galouni 8154b9f307 [Library | new-theme]: dataProvider.component.html: Do not show "not available" compatibility label in service landing page. 2022-05-19 19:01:37 +03:00
argirok 1a7571593e move datatransfer modules to library 2022-05-19 12:15:52 +03:00
argirok ba409585c1 add eosc data transfer action button in landing
update properties
2022-05-18 13:30:00 +03:00
Konstantina Galouni 5fbdac1dc3 [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 9577c7841d [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 7d563c19a8 [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
Konstantina Galouni 2fac23fd10 [Library | new-theme]: 1. showSubjects.component.ts: Ignore specialSubjects and do not add links. | 2. resultLanding.component.html & resultLanding.component.ts: Show button "Check compatible EOSC services" not only in development or beta environments. 2022-05-16 18:42:23 +03:00
Konstantina Galouni 64b0e163fa [Aggregator & Library | new-theme]: [Bug fix] Set properly "dashboard" and "adminToolsPortalType" properties and show "Check compatible EOSC services" button in eosc portal too.
1. env-properties.ts:
   a. In Dashboard type added "aggregator".
   b. In PortalType added "funder", "ri", "project", "organization", "aggregator", "eosc".
2. environments/: Set "dashboard" property to "aggregator" and only for eosc set "adminToolsPortalType" property to "eosc".
3. entitiesSelection.component.ts: Added check if adminToolsPortalType is "eosc".
4. resultLanding.component.ts: In method "hasRightSidebarInfo()" check if adminToolsPortalType is "eosc" to show "Check compatible EOSC services" button.
5. resultLanding.component.html: Show "Check compatible EOSC services" for adminToolsPortalType "explore" or "eosc".
2022-05-16 17:14:50 +03:00
Konstantina Galouni 4242a65199 [Library | new-theme]: [NEW] #6915 - Added new fields in datasources/services.
1. dataProviderInfo.ts: Added fields jurisdiction, thematic, contentpolicy, identifiers.
2. dataProvider.service.ts: Parse new fields.
3. dataProvider.component.html: Added label "Thematic" when true | moved "web page" under the labels | Show identifiers, jurisdiction and contentpolicy.
4. dataProvider.module.ts: Import ResultLandingUtilsModule.
5. parsingFunctions.class.ts: In method "parseIdentifiers()" added parsing for classid "re3data".
6. showIdentifiers.component.ts: Show identifier when key is "re3data" too.
7. string-utils.class.ts: In Identifier class added class and check for "re3data".
8. searchDataproviders.service.ts: In method "parseResults()" parse "pid" and set identifiers.
9. newSearchPage.component.ts: In method "createKeywordQuery()" added check for identifiers for entityTypes "datasource" and "service".
2022-05-16 17:01:35 +03:00
Konstantina Galouni d61839718e [Library | Trunk]: [NEW] Added service entity.
1. result-preview.component.ts & datasourcesHelper.class.ts & entitiesSelection.component.ts & newSearchPage.component.ts & errorPage.component.ts & searchAll.component.ts: Added case for service entity.
2. searchFields.ts: Added  in OpenaireEntities names for Services | In methods "getFieldName()" and "getFieldParam()" case for service entity.
3. searchDataProviders.component.ts: Parametrize component to show/query for datasources or services.
4. quick-selections.component.ts: Delete reset of resultTypes from "initializeFilters()" method.
5. searchDataproviders.service.ts: In method "numOfSearchDataproviders2()" added parameter "typePathParam" to search for datasources or services | In method "parseResults()" set "entityType" according to eosctype field.
6. portal.ts: In method "getmockPortalInfo()" added entity and routes for service.
7. env-properties.ts: Added properties "searchLinkToService", "searchLinkToServices", "searchLinkToAdvancedServices".
8. dataProvider.component.html: Parametrize component to show for datasources or services | [Bug fix] Added [class.uk-invisible]="!dataProviderInfo" in #graph_and_feedback_template.
9. dataProvider.component.ts: Parametrize component to show/query for datasources or services.
10. dataProvider.service.ts: In method "getDataproviderInfo()" added parameter "typePathParam" to search for datasources or services.
11. searchAll.component.html: Added tab for search services.
2022-05-13 15:57:31 +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
Alex Martzios 1046218717 add eosc services links on landing pages 2022-05-12 14:05:54 +03:00
Konstantinos Triantafyllou 78b46ae45f Add errorLink property and change routing to this. Add searchPageParams to errorPage 2022-05-11 12:55:14 +03:00
Alex Martzios 10c70ad1da delete unused files/methods in landing pages 2022-05-10 12:44:10 +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
argirok 150b26a5d5 Add this: show a message when the share buttons are not loaded 2022-05-06 17:00:52 +03:00