Commit Graph

361 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 94519de68b Search page: Change form class back to searchForm 2022-02-21 16:34:43 +02:00
Konstantinos Triantafyllou 5c60c42063 Merge remote-tracking branch 'origin/master' into new-theme 2022-02-21 16:33:33 +02:00
argirok 514cd0dd12 complete previous commit for
clean up search dataproviders for doiRawValue
2022-02-21 16:29:03 +02:00
Konstantinos Triantafyllou 5a69cb2101 Resize icon in portal search result. Delete warning in IconsService. 2022-02-17 17:30:37 +02:00
argirok 497a19a60d apply changes for datasource search pages #7546 2022-02-16 18:43:20 +02:00
Konstantinos Triantafyllou e590ce7b9e Merge commit '014dc9e5562890b61fbafa7705d2f31d0cbcdb74' into new-theme 2022-02-16 18:28:25 +02:00
Konstantinos Triantafyllou cf6ab4a03b Fix filter on disable bug. Add new private icon in portal-search-results. Add method to convert a stakeholder into StakeholderInfo 2022-02-16 18:18:12 +02:00
Konstantinos Triantafyllou 4e9981f24f Add default size usage in icons. Some changes in portal search results. Delete text-as-svg (no need) 2022-02-16 12:01:41 +02:00
Konstantina Galouni 304276f3bc [Library]: Fixes in ORCID put-codes query & query dynamic menu only in development environment.
1. dataProvider.component.ts: Comment log for dataProviderInfo.fundedContent.
2. searchResult.component.ts: In initialize() method, before calling orcidService.getPutCodes, added more checks for type (result, publication, dataset, software, other).
3. navigationBar.component.ts: Call _helpContentService.getMenuItems only in development environment.
2022-02-16 11:40:05 +02:00
Konstantinos Triantafyllou 4e49e7f489 Add new text-as-svg pipe. Add gradient fucntionallity on icons 2022-02-15 16:25:46 +02:00
Konstantinos Triantafyllou db58e5c3e8 Change search page base on new mocks for portal results 2022-02-14 18:02:00 +02:00
Konstantinos Triantafyllou e5a644f2ae Make breadcrumbs also as Input in search page 2022-02-11 16:00:34 +02:00
Konstantinos Triantafyllou 59a7ffd7ce Some small changes in contact and search communities 2022-01-28 13:57:47 +02:00
Konstantinos Triantafyllou 03f412c550 Update search page layout base on new theme 2022-01-21 10:20:46 +02:00
Konstantinos Triantafyllou 13efcd8891 Change filters list to uk-list-large 2022-01-20 13:42:10 +02:00
Konstantinos Triantafyllou 78ee2e4bcd Update search componenents with new theme 2022-01-20 11:19:44 +02:00
Konstantinos Triantafyllou e8f9970074 Icon component: Add visually hidden parameter. Change inside svg instead of scaling. Search change filters to links with uk-label 2022-01-19 14:30:48 +02:00
argirok 845db0a835 truncate text for open access mandate and collected from aggregator_name labels - better display in mobile 2022-01-03 16:10:15 +02:00
argirok 1475fb754b Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-11-18 12:42:32 +02:00
argirok f19f5e6367 Search pages:skip query parameter if value is empty 2021-11-18 12:42:12 +02:00
Konstantinos Triantafyllou 7ef741c205 Add logoUrl function in string utils and logoUrl pipe for HTML usage 2021-11-12 14:07:55 +02:00
Konstantinos Triantafyllou b9e6894ba1 Portal search result add getLogoUrl 2021-11-12 12:55:07 +02:00
Konstantinos Triantafyllou 02efeb4038 Portal search results fix hasPersmission method. Add private icon in hidden communities 2021-11-03 17:44:12 +02:00
Alex Martzios 045665ae10 Work in progress 2021-11-03 14:00:05 +02:00
Alex Martzios 1ca8d54296 Progress in showing the communities properly - CONNECT 2021-11-03 11:41:17 +02:00
Konstantinos Triantafyllou 5c7430ae7c Portal search card add uk-card class 2021-10-19 15:24:42 +03:00
Konstantinos Triantafyllou ff98d8187b Align portal search results to center vertically. Add Restricted label top right 2021-10-19 15:20:30 +03:00
Konstantinos Triantafyllou 0b3e699796 Portal search results remove link if user has not permission to visit a specific dashboard 2021-10-05 18:12:19 +03:00
argirok 81195135c2 enable impact factors for inspired-ris, show all featured datasets in enermaps featured tab 2021-09-07 13:13:06 +03:00
argirok 18dd1379ad changes for the fix in search pages - #6937 2021-08-13 15:48:41 +03:00
argirok 725d2aa7e3 Search pages: fix #6937- results per page change is not applied when the page or the keyword changes 2021-08-13 12:42:50 +03:00
argirok 3d413cde2d SEO - accessibility: In images add alt, add specific width and height, in links add <span class="visually-hidden"></span> with descriptive text - not visible (add class in library.css) 2021-08-10 13:46:33 +03:00
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
argiro.kokogiannaki eee822bdeb [Library|Trunk]
SEO changes:
- ignore quick filter in search pages. don't add qf=true, the filter is NOT applied by default.
- add page in the canonical url
- keep order of params to have the same url in canonical no matter the order of the filters
- add prev/ next links

TimeOut interceptor: set it 3000 for server and 6000 for client



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61019 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-19 07:39:08 +00:00
argiro.kokogiannaki 6eed709019 [Library|Trunk]
- Remove inline argument for parsed contexts, projects, remove unused code with <mark> tag


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61002 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 15:21:46 +00:00
argiro.kokogiannaki bbdf705ea8 [Library |Trunk]
Search page: fix prefix initialization



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61001 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 10:02:50 +00:00
konstantina.galouni ea1795becc [Trunk | Library]:
1. newSearchPage.component.html: In search pages show warning message when there is an error (e.g. timeout) getting refine filters. 
	(do not hide message for not available filters when existingFiltersWithValues > 0 - when there are filters created by url)
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts:
	a. Set refine to true when there was an error in the previous refine query (searchPage.searchUtils.refineStatus != this.errorCodes.DONE).
	b. When there is an error getting refine filters, call searchPage.prepareFiltersToShow([], 0) (and prepareRangeFiltersToShow() for results and projects).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60992 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 14:22:08 +00:00
argiro.kokogiannaki 3d7a6e7260 [Library|Trunk]
Search page: 
	fix for undefined properties
	add page prefix as an input() attribute (for connect)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60986 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 07:18:34 +00:00
konstantina.galouni ac16d505d6 [Trunk | Library]:
1. newSearchPage.component.ts: [Bug fix] Initialize properties (Envproperties) in field definition, not in ngOnInit method (when parent called a method that needs property, may had not been initialized).
2. portal-search-result.component.html: Removed tooltip from description.
3. portal-search-result.component.ts: In method "_formatDescription()" call method "StringUtils.HTMLToString()" before cutting it.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60984 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-11 09:14:53 +00:00
argiro.kokogiannaki d97a4d6f69 [Library | Trunk]
Search pages: 
	updating canonical url with filters
	update title with filter values



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60976 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-28 15:54:30 +00:00
konstantina.galouni f7fe97900f [Trunk | Library]:
1. myOrcidLinks.component.ts: 
	a. Remove comments from file.
	b. Update and move on top of the page, message about green icons and when the data will be synchronized with ORCID.
	c. Align "Discover research results related to you" on the right side of title.
	d. [Bug fix] Set "baseUrl" with properties.myOrcidLinksPage.
2. orcid-work.component.ts: Show last update date in ORCID, on hover of Update button.
3. searchResult.component.ts: Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
4. env-properties.ts: Added property "myOrcidLinksPage?: string;".
5. result-preview.component.html: 
	a. Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
	b. Hidle "result.orcidUpdateDates" from results preview (this info is moved on hover of update button).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60875 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 08:31:05 +00:00
k.triantafyllou 01a6d0a22b [Library | Trunk]: Entities selection add enable all parameter
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60868 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-15 18:26:38 +00:00
k.triantafyllou deff0f595e [Library | Trunk]: Search page fix missing argument on queryChange
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60785 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 11:45:00 +00:00
argiro.kokogiannaki 3ef2e0168d [Library|Trunk]
Enermaps integration:
- parse enermaps id
- show in results and in landing (to be revised)
- add enermaps url property
- add function to query all results for community id/ context




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60783 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 09:17:00 +00:00
argiro.kokogiannaki 56081c33da [Library|Trunk]
- Cache Interceptor service: add explore home page search queries (stats numbers)
- Result Landing: enhance noindex filter (avoid common title/authors/abstract)
- Search module: remove unused module



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60750 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-30 11:50:15 +00:00
argiro.kokogiannaki d856aadf61 [Library|Trunk]
community service: keeps subscription is array, update clear method.
Advanced search: add check for selected fields array


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60730 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-26 15:45:30 +00:00
konstantina.galouni 4e5ccfa88b [new-UI | Library]:
1. no-load-paging.component.ts: [Bug fix] Added pipe "number" to totalPages.
2. searchProjects.service.ts: Nothing but removed a ";" which was double.
3. search-input.component.ts: 
	a. Added "bordered" class when input is focused (showSearch) or when a keyword exists (selected).
	b. Added "uk-visible@m" and "uk-padding-small" clases when showing selected keyword (padding is added so that border does not move).
4. icons.ts: Added icon "info" (from uikit).
5. string-utils.class.ts: Removed a console.log from "HTMLToString()" method.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60681 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 00:18:09 +00:00
konstantina.galouni 127c489da4 [Trunk | Library]:
1. resultLanding.component.html & result-preview.component.html: Show orcid buttons in all environments (production too) | in <orcid-work> added "resultTitle" property.
2. myOrcidLinks.component.ts: Added "getPersonalDetails()" method and link to advanced research outcomes page, filtered by user's name (if personal details from ORCID fails, use name from AAI - getUserInfo).
3. searchMyOrcidResults.module.ts: Removed PagingModule and added NoLoadPaging.
4. searchMyOrcidResults.component.ts: Added method "totalPages()" to calculate pages in paging.
5. searchMyOrcidResults.component.html: 
	a. Added <no-load-paging> (instead of custom paging with <paging-no-load>).
	b. In <orcid-work> added "resultTitle" property.
	c. Fix widths of grid inside card for result preview and orcid buttons.
6. orcid-work.component.ts:
	a. Added "resultTitle" @Input property, to show it in notifications, instead of pids.
	b. Updated messages for errors and for multiple put-codes.
	c. Use "danger" notifications instead of "warning" when an error occurs.
	d. For search and my orcid links pages, in orcid buttons, use <icon> for icons | For landing page, updated icons in orcid buttons.
	e. Added message "The action will affect your real ORCID iD." in tooltips, when environment == 'beta'.
	f. Removed property "procedurePaused" and its usage replaced by "currentAction".
	g. [Bug fix] For search pages, added "uk-align-right", in order orcid button not to take width for the whole line.
	h. [Bug fix] In method "getOrcidWorks()" check "Session.isLoggedIn()" was missing.
7. orcid.component.ts: If personal details from ORCID fails, use name from AAI - getUserInfo.
8. orcid.module.ts: Added IconsModule and registered icons: add, remove, preview, refresh in IconsService.
9. searchResult.component.ts: Call "orcidService.getPutCodes()" in all environments (production too).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60619 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 01:40:53 +00:00
argiro.kokogiannaki cca8a3c7f3 [Library|Trunk]
Enermaps datasets: 
	apply changes in search  results components to be able to add custom title and add an image if available.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60612 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-10 10:41:38 +00:00
argiro.kokogiannaki bc10ab48c8 [Library | trunk]
SearchDataProvidersComponent: update variable for index info


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60607 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-08 15:52:51 +00:00