Commit Graph

17 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou f9f9a6d5ea Input: enable tooltip in select type. Search Sorting: Change options for stakeholders 2022-06-06 12:22:01 +03:00
Konstantinos Triantafyllou 9893c9d8f9 Add disable behaviour in inputs in search 2022-04-12 15:34:33 +03:00
Konstantina Galouni fa58577e8c [Library | new-theme]: searchSorting.component.ts & newSearchPage.component.html: Removed ":" after "Sort by" and "Results per page placeholders | result-preview.component.html: Use class uk-text-meta instead of uk-text-muted. 2022-04-12 14:12:45 +03:00
Alex Martzios acca43d45a tweaks for search page inputs (select) 2022-04-06 16:26:45 +03:00
Alex Martzios dfd5876217 new inputs for search page and other overall tweaks 2022-04-05 15:26:26 +03:00
konstantina.galouni b0af2de1bc [Trunk | Library]:
1. searchUtils.class.ts: In SearchUtilsClass added field "refineStatus:number = 1;" for refine queries.
2. searchResultsPerPage.component.ts & searchSorting.component.ts: [Bug fix] In EventEmitter (value change), emit raw value, not object with field "value".
3. searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts:
	a. Add subscriptions in array to unsubscribe in ngOnDestroy.
	b. Get properties from environment (no service needed).
	c. Separate queries for refine and results.
	d. Do not call refine query when page, results per page, sortBy change (there is still a bug here).
	e. For refine query, added field "disableRefineForms" default set to false - passed in <new-search-page>.
4. newSearchPage.component.html:
	a. Disable forms when "disableForms" or "disableRefineForms" is true.
	b. Do not show filters, until results query returns, but show results while refine is loading.
	c. Deleted old, unused code.
5. newSearchPage.component.ts:
	a. Added fields "@Input() disableRefineForms: boolean = false;", "@Input() sortedByChanged: string = "";", "@Input() resultsPerPageChanged: number;"
	b. When results per page or sortBy change, do not upadate immediately searchUtils values - do not query for refine when these change (there is still a bug here).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59155 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 13:48:55 +00:00
konstantina.galouni a7e07d8f7e [Trunk | Library]:
1. advancedSearchForm.component.html & searchPaging.component.ts & pagingFormatter.component.ts 
   & searchResultsPerPage.component.ts & searchSorting.component.ts & searchFilter.component.html & rangeFilter.component.html:
	Update/ impove "disabled" view (when results/ filters are loading).
2. searchFilter.component.html: [Bug fix] When selecting a radio button, all values of filter seemed to be selected --> name is value.id not filter.filterId.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59115 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 13:13:44 +00:00
k.triantafyllou 034fbe3931 [Library | Trunk]: 1. Change name of communitesSearchResults to PortalSearchResults. 2. Add method on string utils to check if a word exists on a text. 3. Add description on stakeholder and create StakeholderInfo which extends Stakholder
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58860 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-05 12:56:28 +00:00
k.triantafyllou 6f5d69e61f [Library | Trunk]: Change view of communities results base on mocks
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58547 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-24 16:32:00 +00:00
konstantina.galouni aec9795ebd [Trunk | Library]: searchFilter.component.html & searchResultsPerPage.component.ts & searchSorting.component.ts & citeThis.component.ts: [Bug fix] Fix <mat-select> elements.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58258 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-13 16:11:36 +00:00
konstantina.galouni 2cc64b9e4e [Trunk | Library]:
searchSorting.module - searchSorting.component.ts & searchResultsPerPage.component.ts & searchFilter.module.ts - searchFilter.component.html & 
browseStatistic.component.html - browseEntities.module.ts & citeThis.module.ts - citeThis.component.ts & 
metadataPreview.module.ts - metadataPreview.component.html & linkingGeneric.module.ts - linkingGeneric.component.html & 
displayClaims.module.ts - displayClaims.component.html & claimResultSearchForm.module.ts - claimResultSearchForm.component.html: 
	Use material select (<select> to <mat-select>)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58235 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-12 10:48:04 +00:00
konstantina.galouni b7d1f6bbb0 [Trunk | Library]:
1. advancedSearchForm.component.html & newSearchPage.component.html & searchDownload.component.ts & 
      searchPaging.component.ts & searchResultsPerPage.component.ts & searchSorting.component.ts & pagingFormatter.component.ts:
  Fix margin, padding and new view according to search redesign.
2. searchDownload.component.ts: Remove 'type' parameter in request (in next commit, type is added from search pages).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58130 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:33:34 +00:00
argiro.kokogiannaki ed0f47ad72 [Library|Trunk]
Update Search page to show funders:
	update communitySearchResults.component to get also funders


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57791 d315682c-612b-4755-9ff5-7f18f6832af3
2019-12-03 10:45:28 +00:00
k.triantafyllou 2eef731273 [Trunk|Library]: 1. Create Community Search Results
2. Add in Search Page  a new method for query params and lastIndex parameter with default value true 
3. Add a new sorting field for communities in search sorting 
4. Add parameter to modal-alert for position of okButton
5. Add COMMUNITIES_SEARCH_FIELDS in searchFields and searchLinkToCommunities in properties

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55209 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-05 17:21:23 +00:00
konstantina.galouni 13b8e99e91 Simple & Advanced Search pages: in sorting functionality for Date, rename 'oldest' with 'least recent' and 'newest' with 'most recent'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54204 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-07 09:35:20 +00:00
konstantina.galouni ca1e2b49cb 1. Simple & Advanced Search pages:
in sorting functionality for Date, add ascending (oldest) and descending (newest) options.
        remove margin between paging and search results.
        show and hide sorting and results per page functionalities (like paging) according to results and loading.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54075 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-03 12:32:33 +00:00
konstantina.galouni d17ca55f06 Add 'searchResultsPerPage' and 'searchSorting' components to be used in search pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53918 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 15:24:14 +00:00