Commit Graph

160 Commits

Author SHA1 Message Date
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
Konstantinos Triantafyllou bc5f5860f9 Quick contact: Fix a bug with dropdown and add some inputs to make it dynamic. GeneraL: Fix some breadcrumb alignments and fix modal overflowBody parameter 2022-06-02 17:27:45 +03:00
Alex Martzios 8a5d5d954a linking: results to match search results and community: whole card to be a pointer 2022-05-19 13:12:59 +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
argirok 3d945b1e05 make stepper and basket sticky 2022-05-16 17:58:31 +03:00
argirok 623f65423b linking add margins, update community modal functionality 2022-05-16 17:25:35 +03:00
Alex Martzios 8e0ae78383 update 'my links' and 'my orcid links' pages 2022-05-16 14:07:15 +03:00
argirok f247480aea linking:
- update layout  for communities
- clean up code for communities
- update css for select/remove buttons
2022-05-12 17:59:13 +03:00
argirok 4608635879 Claims: add alert when add or remove from the basket 2022-05-11 18:46:51 +03:00
argirok f8b76246f5 linking fix issue with basket tabs 2022-05-11 15:34:38 +03:00
argirok 261670e79b claims: update search input, fix query issues 2022-05-11 12:02:23 +03:00
argirok 0067239cb6 Claims: fixes for my claims page: new inputs, fix issues with selected types in 1st load, rename entities with OpenaireEntites 2022-05-10 17:28:50 +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 99ffee241d fixes in direct linking 2022-04-19 16:25:24 +03:00
argirok 4bc50b8b4f Linking: add new inputs, update paging style 2022-04-08 16:55:22 +03:00
argirok b20fcfa219 more layout changes for the linking (eg filters, icons, etc) 2022-04-05 18:36:08 +03:00
argirok b027575fc0 claims updates 2022-03-16 18:54:22 +02:00
argirok 7a8358bb47 stepper component v2 2022-03-16 18:53:19 +02:00
argirok f2217a4a38 initial commit of stepper component 2022-03-16 17:24:48 +02:00
argirok c9ed6a255b linking updates 2022-03-02 18:08:37 +02:00
argirok dcffb611a2 v2 2022-03-02 12:18:24 +02:00
argirok 9222deed7b initial linking changes 2022-02-25 14:52:36 +02:00
argirok 49dfdd6e1b Search: allow exact search with doi raw value - in case of full url doi 2022-02-21 15:55:20 +02:00
argirok 9bf905bc22 Bulk claim: allow full doi url #6638 2022-02-21 15:34:17 +02:00
Konstantina Galouni d635949909 [Library]: searchDatacite.service.ts & searchCrossref.service.ts: [Bug fix] Extra checks added in author parsing | In Crossref parse author.name if author.family and/or author.given is missing. 2021-11-11 12:13:25 +02:00
Konstantina Galouni e99a425813 1. environments/ & env-properties.json: #7159: "doiURL" property updated from https://dx.doi.org/ to https://doi.org/.
2. searchDatacite.service.ts & searchOrcid.service.ts: #7159: In result.url "doiURL" property is used instead of a constant prefix.
3. parsingFunctions.class.ts: #7155: Added field "instanceWithDoiExists", to check if publisher with doi related url should be added as instance (download from section).
4. showIdentifiers.component.ts: Removed "space" class from external icon.
5. relatedDatasourcesTab.component.ts: #7004: Updated message on top of the tab.
2021-11-09 23:04:01 +02:00
k.triantafyllou 08bf703186 [Library]: Move angular 11 to trunk. Remove no needed files. Delete angular upgrade branches
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61381 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 11:19:57 +00:00
konstantina.galouni 03e5cb0c4a [Trunk | Library]:
1. src/app/openaireLibrary/claims/claim-utils/service/contexts.service.ts & src/app/openaireLibrary/services/searchResearchResults.service.ts: 
	Added in constructor default value null for HttpClient.
2. src/app/openaireLibrary/landingPages/landing-utils/parsingFunctions.class.ts: 
	a. In method "parseIdentifiers()", concat quotes in pid.content to make it string always.
	b. In method "parseResults()" if "data" is null, return empty array.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61218 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-15 12:54:40 +00:00
k.triantafyllou 1e785e4fd9 [Library | Trunk]: Remove scroll to top from pages initiliazation
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60926 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-20 15:18:15 +00:00
argiro.kokogiannaki 858b36bd0b [Library|Trunk]
- display claims: 
	rename  property title to pageTitle -> avoid confusion with HTML tooltip
	add tooltip for claim status
- Search research results service - add check for year in most recent results
- Bottom component: update newsletter url
- Customization: initialize the colors with ligher versions for light background and form



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60916 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-19 16:28:36 +00:00
konstantina.galouni b227f1d9f6 [Trunk | Library]:
1. claimsAdmin.component.ts: [Bug fix] Added "uk-margin-small-top" in grid | [Bug fix] Added "uk-container-large" class (when !isConnect) together with "uk-container".
2. myOrcidLinks.component.ts: Added piwik tracking when it is enabled (in Explore, there is no input "piwikSiteId" and piwikService resolves it from properties).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60857 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-13 13:32:58 +00:00
konstantina.galouni aa637e73ea [new-UI | Library]: displayClaims.component.ts: Added property "subResults" for subscription of getClaims methods in ClaimsService, to unsubscribe (cancel old request) when new request comes.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60712 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-24 10:00:30 +00:00
k.triantafyllou 8b23de0974 [Library | Trunk]: admin tools pages add title
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60678 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-19 16:51:02 +00:00
argiro.kokogiannaki 4e7a8cd474 [Library|Trunk]
Display claims fixes:
	initialize and preview keyword
	correct communities filter 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60664 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-18 08:51:09 +00:00
argiro.kokogiannaki 50dda276c6 [Library|Trunk]
String utils: add function HTMLToString
create HTMLToStringPipe




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60647 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-12 14:49:12 +00:00
argiro.kokogiannaki 8f917a2e2e [Library|Trunk]
- remove search table view
- preview result: support projects urls with funder and grant id
- Search page changes:
	-clean up variables about showing graph info
 	- add variable about download results

Comment unused components that import datatables



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60605 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-08 15:32:33 +00:00
argiro.kokogiannaki 6335da03c5 [Library|Trunk]
update UI for pages, entities, helptexts - new mocks


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60507 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-25 15:55:56 +00:00
argiro.kokogiannaki ed5f31cb7b [Library|Trunk]
- Error interceptor add check for registry url
- landing canonical: keep  the canonical id (to be used in services like usage counts) and put the 1st pid for the canonical url



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60422 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-15 13:19:33 +00:00
argiro.kokogiannaki 82be5a6e52 [Library | Trunk]
Claims: update UI for display claims component

Dashboard - connect: update notification settings component




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60403 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 10:24:52 +00:00
k.triantafyllou 3ac191b39c [Library | Trunk]: Paging bold numbers
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60278 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-22 14:36:06 +00:00
argiro.kokogiannaki 8d9420e4a1 [Library|Trunk]
properties: remove reading properties from route data

Aggregator: add aggregator checks in navbar, entities selection and as adminToolsPortalType



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59899 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-18 16:06:27 +00:00
argiro.kokogiannaki 1d5c753ff6 [Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from  the component that uses them (clearSubscriptions())




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59816 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-11 14:43:13 +00:00
konstantina.galouni f1e46be3cc [Trunk | Library]:
1. contexts.service.ts: Add BehaviorSubject for getting communities (with status) only once (providedIn: 'root') - used by searchResearchResults.component.ts & claimContextSearchForm.component.ts.
2. claimContextSearchForm.component.ts & claimContextSearchForm.module.ts: Use 'getPublicCommunitiesByState()' instead of 'getPublicCommunities()' (contexts.service.ts) | Do not import in module (singlet$
3. refineResults.class.ts: In 'includeValue()' add checks if name is empty or undefined (do not include filter value in that case).
4. searchResearchResults.component.ts: For 'community' filter, add query for getting communities with public status and filtering values accordingly (timeout 300ms after filters request is over).
5. searchResearchResults.component.ts: & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts:
        Add methods "filtersReturned()" and "resultsReturned()" - when refine or search query returns with no results or page is out of bounds, stop the other query and initialize statuses and values 
                (stop loading when we know there are no results).
6. newSearchPage.component.html: Improve some checks to better display filters and results (out of bounds message, loading for filters, etc..).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59648 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 14:47:54 +00:00
argiro.kokogiannaki 2901fe8e48 [Library|Trunk]
- QuickSelection component:
	- change resultTypes to a Filter
	- use search-filter compoonent to show the types
	- add actionRoute property
- Action route:
	- add in filters and range filters,
	- set it true in search pages, false for filters in claims




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59632 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-20 09:11:15 +00:00
argiro.kokogiannaki 8c3662377c [Library|Trunk]
claims: metadata preview - fix label "Type"


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59613 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-16 09:48:57 +00:00
k.triantafyllou 8b9af0edc2 [Library | Trunk]: Change headings on library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59575 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-13 19:04:50 +00:00
argiro.kokogiannaki 85a1688dc0 [Library|Trunk]
Display claims: avoid loop when user is logged in but the service returns 403 (e.g different AAI instance) 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59444 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-22 08:35:52 +00:00
argiro.kokogiannaki 04ef1ba8cc [Library|Trunk]
apply in all pages domain and baseLink changes (part 4..)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59438 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-21 07:27:19 +00:00
argiro.kokogiannaki 479a76b318 [Library|Trunk]
apply in all pages domain and baseLink changes (part 2)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59413 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 10:10:18 +00:00
argiro.kokogiannaki 7526ef56e3 [Library|Trunk]
properties changes: 
	domain:
	  -is https://{explore,connect,monitor, etc}.openaire.eu 
	  -initialized in environment files
	  -reset for communities in EnvironmentSpecificService
	baseLink: is the prefix after the domain / or /dahsboard for monitor_dashboard
apply in all pages domain and baseLink changes

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59411 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 07:57:42 +00:00