Commit Graph

54 Commits

Author SHA1 Message Date
argirok 9c8a67e612 [develop | DONE | FIXED] Search pages: extra fixes for custom filter 2024-02-14 10:28:54 +02:00
Konstantina Galouni 83de7adc09 Merging branch develop into angular-16-irish-monitor 2024-02-07 22:32:42 +02:00
Konstantina Galouni b357ff2ae2 [develop | DONE | CHANGED]: Remove preselected "Open Access" filter from search.
1. home.component.ts: Set field "resultsQuickFilter" to null.
2. searchAll.component.ts: Set field "quickFilter" to null | In method "entityChanged()" do not set parameter "resultbestaccessright" | [BUG FIX] Clear subscriptions from fetchOrps.
3. searchResearchResults.component.ts: Set field "quickFilter" to null.
4. navigationBar.component.ts: Set field "resultsQuickFilter" to null.
5. app.component.ts: Remove "resultbestaccessright" parameter from menu items of Search research products.
2024-02-07 21:28:45 +02:00
Konstantina Galouni 514e92b177 [develop | DONE | FIXED]: [BUG FIX] searchResearchResults.component.ts: In method "filterRequestedAll()", call "this.searchPage.filterFilterValues(this.filters);", to filter out from funding filters, values not related to the selected funder. 2024-02-07 15:45:58 +02:00
Konstantina Galouni 59bd3918e8 [angular-16-irish-monitor | DONE | ADDED]: New type of filter (triplet) added - use of <mat-button-toggle-group> | Grouping of filters added | Fixed checks for dependent filters and added new checks for dependent to filter values.
1. newSearchPage.component.html: Added display of grouped filters | Added checks for triplet typed filters.
2. newSearchPage.component.ts: Fixed checks for dependent filters and added new checks for dependent to filter values.
3. searchFilter.component.html: New "triplet" type of filter | Grouping of filters - smaller titles.
4. searchFilter.component.ts: Added field "@Input() grouped: boolean = false" | Added check for triplet filter | Added method "tripletFilterChange()".
5. searchFilter.module.ts: Import MatButtonToggleModule.
6. searchResearchResults.component.ts: Fixed how groupedFilters are initialized - TODO: Add this fix in other search pages too.
2023-12-21 10:57:14 +02:00
Konstantina Galouni 1853b1cf57 [angular-16-irish-monitor | DONE | CHANGED]: searchHelperClasses.class.ts: In Filter class renamed field "isOpen" to "isViewAllOpen" | searchResearchResults.component.ts * searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts & searchFilter.component: Use renamed filter field (isViewAllOpen) | searchFilter.component.html: Capitalize value names of filters. 2023-12-21 00:06:32 +02:00
argirok d804da4dd8 Merge branch 'develop' into angular-16-irish-monitor 2023-12-15 16:46:43 +02:00
Konstantina Galouni afcbb07a24 [develop-filters | DONE | ADDED]: Added structures for grouping and ordering search filters.
1. searchFields.base.ts: Added RESULT_FIELDS_ORDERED and PROJECT_FIELDS_ORDERED.
2. searchResearchResults.component.ts: Set and initialize orderedFields and orderedFilters and pass them to <new-search-page>.
3. newSearchPage.component.html: If there are orderedFilters, show filters from this structure.
2023-12-14 18:23:28 +02:00
Konstantina Galouni d9c7d35e57 [develop-filters | DONE | CHANGED]: Get 7 top values for each filter (minRef) and on view all click, query for top 100 for a specific filter.
1. searchResearchResults.service.ts & searchProjects.service.ts & searchOrganizations.service.ts & searchDataproviders.service.ts: In advanced search method added parameter minRef: boolean = false and if true, add in request url "&minRef=true" to query for top 7 values.
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: By default query filters with minRef=true | Added method "filterRequestedAll()" to be called on view all click of a filter.
3. searchHelperClasses.class.ts: Added in Filter public countAllValues?: number = -1; (-1: all filters not yet requested, 0: request failed) and public isOpen?: boolean = false; (checks if view all filter is clicked).
4. searchFilter.module.ts: Imported LoadingModule.
5. searchFilter.component.ts & searchFilter.component.html: Updated process on view all click.
6. newSearchPage.component.ts: Added method "filterToggled()".
7. newSearchPage.component.html: Bind filterToggled method to <search-filter> output.
2023-12-14 18:14:57 +02:00
Konstantina Galouni b0a67be290 [develop-filters | WIP | CHANGED]: Added static refine fields.
1. searchFields.base.ts: Added RESULT_STATIC_FIELDS/ DATASOURCE_STATIC_FIELDS and RESULT_STATIC_FIELD_VALUES/ DATASOURCE_STATIC_FIELD_VALUE and updated in RESULT_FIELDS type to static for resultbestaccessright, and added type and in DATASOURCE_FIELDS added eosctype.
2. staticAutoComplete.component.ts: Added @Input() public fieldValues; and added check not to query for values when static (fieldValues exists).
3. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: Added parameters for static fields in <new-search-page> and initialized them properly.
4. advancedSearchForm.component.html: Added parameter fieldValues to <static-autocomplete>.
5. advancedSearchForm.component.ts: Added method "public getFieldValuesForId(id: string)".
6. newSearchPage.component.html: Added parameter fieldValues to <advanced-search-form> and show static filters view case.
7. newSearchPage.component.ts: Added static filters - initialize them properly and make code for static filters more dynamic.
2023-12-14 17:30:29 +02:00
argirok 38b8865be0 [angular-16-irish-monitor | DONE | ADDED] Add title prefix for research outcomes 2023-12-07 12:09:52 +02:00
argirok 62d4ab1a36 [angular-16-irish-monitor | DONE | UPDATED] Custom Filter accept single or an array of Custom filters 2023-11-13 11:18:00 +02:00
Konstantina Galouni 966dedde45 [Library | develop]: searchSorting.component.ts: Added sorting options (generalOptions), "citation_count,descending", "popularity,descending", "influence,descending", "impulse,descending" | searchResearchResults.component.ts: Added the new sorting options in the checks. 2023-09-20 10:48:20 +03:00
Konstantinos Triantafyllou 37b7423e7f Simplify piwik logic: All work is done in piwik.service. 2023-07-12 15:05:25 +03:00
Konstantinos Triantafyllou da6f36bdf3 Fix two more promises by adding void type. 2022-09-23 17:04:45 +03:00
Konstantinos Triantafyllou 717ead02b2 Make some fixes after update to angular 12 2022-09-23 12:24:15 +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 9c194a3a56 [Library | new-theme]: searchPages/: Set default value null to @Input() openaireLink | env-properties.ts: In Dashboard type added "eosc". 2022-08-08 17:45:31 +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
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
Konstantina Galouni 39a54e060a [Library | new-theme]: Use OpenaireEntities in search pages
1. newSearchPage.component.html: In graph and feedback, replace uk-text-muted with uk-text-meta and add uk-margin-large-top.
2. datasourcesHelper.class.ts & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts: Use OpenaireEntities for result type names.
2022-05-05 20:35:08 +03:00
Konstantinos Triantafyllou d17f9b4d5c Add searchForm input in all search pages 2022-04-15 15:38:41 +03:00
Konstantinos Triantafyllou 73b6704124 1. Search Pages: Download link, search from bg with dark option. 2. Input add a no value selected option for select type. Search input toggle if input has no value. 3. Sidebar: Add uk-nav 2022-04-15 11:08:12 +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
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 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
konstantina.galouni f57e7d4d60 [Trunk | Library]:
1. [NEW] Added folder and files for "recommend-orcid-links".
2. searchResearchResults.component.ts: Added input fields "usedBy", "orcidQuery", "identifiers" (needed for recommend orcid links page).
3. newSearchPage.component.html: Add cases for "usedBy=='orcid'" | call <orcid-result> component when "usedBy == 'orcid'".
4. newSearchPage.module.ts: Import "SearchResultsForOrcidModule".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60395 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:26:47 +00:00
argiro.kokogiannaki 0df3f39609 [Library|Trunk]
Search all bug- freezing form: missing events to update disableForms. update search pages

Piwik Service: add check about piwik ID	



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60132 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-15 12:45:02 +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 6b19edafca [Library|Trunk]
Search Page: add sticky option for search form




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59286 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-17 08:51:46 +00:00
argiro.kokogiannaki 6137dc874c [Library|Trunk]
Search Pages:
- change showAdvancedSearchLink to showSwitchSearchLink and used it to chech for both simple and advanced link
- add showBreadcrump choice for search projects, content provider and organization components
- customFilter: add promptToAddFilter: boolean in order to display prompt about adding or removing custom filter
- entities selection: if advanced search use the advanced search routes, disable selection for advanced pages of connect - community portal



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59265 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-13 11:15:10 +00:00
konstantina.galouni 8b9ceb091b [Trunk | Library]:
1. cache-interceptor.service.ts: Added query for refine projects with hidden filters as cachable (to be removed when bug with hidden filters is solved).
2. searchResearchResults.component.ts & searchProjects.component.ts & searchDataProviders.component.ts & searchOrganizations.component.ts:
	a. [Bug fix - r59155] Update checks for refine query - Do not call refine query when page, results per page, sortBy change.
	b. Set refineStatus to DONE when no refine query.
	c. Set new field "searchPage.hideFilters" to false when results return - used only for 1st load (do not show filters, until results return).
3. newSearchPage.component:
	a. Show "Filters" label always.
	b. Check if there are filters with method "get existingFiltersWithValues()" instead of "filters.length" (cases where filters > 0, but values = 0).
	c. Show filters column when "!hideFilters" and there are filters (refine or selected) or when there are results.
	d. Add in url parameters for "page" and "resultsPerPageChanged" even when they are set to default value (need to separate navigation via menu with no params).
4. searchFilter.component.html: Add "<ng-template #input_label>" for checkboxes and radio buttons in filters (used also in view all part).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59163 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-24 11:21:22 +00: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
k.triantafyllou d07a30b5ca [Library | Trunk]: 1. Contact us css changes. 2. Search for monitor. 3. Landing for monitor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59007 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 13:15:52 +00:00
argiro.kokogiannaki 1b576e5a40 [Library | Trunk]
Search:
1. advanced link in home and /search/find
2. DOI issue in /search/find/
3. update of numbers in tabs when there is an error in /search/find/
4. order of filters in search outcomes
5. In Landingpages:  rename "Publication Summary" --> "Summary" kai "Related outcomes" --> "Related research"

Linking:
get communities but not hidden ones



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59003 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 11:10:32 +00:00
konstantina.galouni d8e31242e8 [Trunk | Library]:
1. subscribe.service.ts: Remove unnecessary prints.
2. newSearchPage.component.ts: Set default value for field 'sort' to true.
3. newSearchPage.component.html: In <search-sorting> bind entityType parameter.
4. searchResearchResults.component.ts: Remove data binding for 'sort' in <new-search-page>.
5. searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: Add data binding [sort]="false"in <new-search-page>.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58594 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-05 08:46:10 +00:00
argiro.kokogiannaki 777074d274 [Library |Trunk]
Apply corrections after initial connect update :
	Search all: remove quick selections as it is inside the search page
	Search results: add option to show advanced search link
	QuickSelections: fix widths and margins 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58525 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-23 07:33:23 +00:00
argiro.kokogiannaki bfc49c0e18 [Library|Trunk]
Connect - Production release with links to beta: Connect helper ignore community id in domain if in production

Search Page:
	option to include breadcrumb
	show quickFilters for only results view
	Quick Filters: 
		one line if they fit
Entities Selection Component:
	add option to show only result types 
	add check  if different result types are enabled


Add search bar component:
	select different result types 

Navbar: apply changes for searchbar to fit 

	


	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58517 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-22 13:00:13 +00:00
konstantina.galouni 1e5964aecc [Trunk | Library]: searchResearchResults.component.ts & searchProjects.component.ts:
[Bug fix - caused on r58351] Initialize range filters only on when refine is true (do not flicker range filtes on page change - BUT update on range value/ query change)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58360 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-31 10:14:13 +00:00
argiro.kokogiannaki 59753e1eeb [Library|Trunk]
Claims:
	bulk linking ignore empty lines and check exceed on valid DOIs

Search:
	all:    don't do double  request: call component destroy method when the active tab changes.
		reset result types when active tab changes
	search pages: when setting the filters, set properly the total number of results 



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58354 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-30 14:24:56 +00:00
konstantina.galouni fe4178cdca [Trunk | Library]:
1. searchProjects.component.ts: Initialize range filters only on first load (bug fix for flickering range filtes on page/query change).
2. searchResearchResults.component.ts: Initialize range filters only on first load (bug fix for flickering range filtes on page/query change) | set "loadPaging" to true when params change.
3. searchDownload.component.ts: Added input field "isDisabled" and disable button when it is true (bug fix for missing or flickering button).
4. rangeFilter.component.html: Disable inputs and buttons when "isDisabled" is true.
5. newSearchPage.component.html: Update input parameters for <search-download>.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58351 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-28 00:33:55 +00:00
argiro.kokogiannaki cad0fe9061 [Trunk|Library]
Search pages:
	remove logs
	fix issue in /search/find when switch access mode filter
	search all: don't hide number when change tabs 
	deposit results add space between cards
	



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58348 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-27 12:39:18 +00:00
argiro.kokogiannaki 3c9d72a8d4 [Library | Trunk]
Claims:
	add more checks and redirect to login if the session is expired

Sherpa/Romeo:
	update with new link

Search pages:
	hide table view link
	update placeholders in simple search form
	update Advanced search form width, date filter
	simple search form for smaller devices



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58331 d315682c-612b-4755-9ff5-7f18f6832af3
2020-03-26 12:18:18 +00:00
argiro.kokogiannaki c88ec8c54f [Library|Trunk]
New search:
        fix issue with quick selections

add Page URL resolver component: to properly redirect old  routes to new research outcomes search page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58156 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-28 10:05:59 +00:00
argiro.kokogiannaki 1909165ad8 [Library | Trunk]
Search Queries for datasources & organizations: add Compatibility 4.0



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58143 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-26 11:24:50 +00:00
konstantina.galouni d292a3e1ed [Trunk | Library]:
1. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts: Remove 'type' parameter from request.
2. newSearchPage.component.ts: 'type' parameter is added for every type (not only for results).
3. entitiesSelection.component.ts: [Bug fix] For content providers: value="dataprovider".
4. searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts: Initialize "csvParams" correctly according to queries built in search pages (search redesign).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58132 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-24 13:45:22 +00:00
argiro.kokogiannaki 0200a0922c [Library|Trunk]
New Search:
	add search All component 
	update Search pages to work from search all component



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58115 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-19 15:35:48 +00:00
konstantina.galouni 64df17d834 [Trunk | Library]: Filters according to new UI/UX design.
1. utils/rangeFilter/: range filters added to describe year range queries (currently used in types: result & project).
2. utils/properties/searchFields.ts: 
	'uniqueValue: boolean' changed to 'filterType: string' with value among: null (if this is not a range/refine filter), radio, checkbox, range.
	RANGE_FIELDS added for each type needed.
	'fieldHasUniqueValue()' method renamed to 'getFieldFilterType()' method.
	'getFieldParam()' method added.
3. utils/properties/searchFields.ts & services/servicesUtils/refineResults.class.ts & searchPages/searchUtils/searchHelperClasses.class.ts
   & searchPages/dataProviders/ & searchPages/searchDataProviders.component.ts & searchPages/searchOrganizations.component.ts: 'filterType' field is used.
4. searchPages/searchProjects.component.ts & searchPages/searchResearchResults.component.ts: Initialize and use in calculations range filters.
5. searchPages/searchUtils/searchFilter.component: Update filters to match redesign & use them everywhere (not special case if search or deposit).
6. searchPages/searchUtils/newSearchPage.component: Update filters to match redesign and add range filters.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58105 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-17 14:19:14 +00:00
argiro.kokogiannaki 9da07c3568 [Library|Trunk]
New Search pages:
	1. update queries to use new method in API /resources2?type={publications,datasets,software,other,projects,organizations, datasources}
	2. add Entities Selection component and add it Simple, Advanced pages
	3. Quick Selections update: add check for enabled entities 
	4. Update simple search form and advanced according to the mocks



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58093 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-13 14:44:51 +00:00
argiro.kokogiannaki cce694ca7f [Library|Trunk]
New Search:
	Create pages for project, organizations, datasources
	Add checks in new search page 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58073 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-11 14:56:20 +00:00