Commit Graph

80 Commits

Author SHA1 Message Date
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
Konstantinos Triantafyllou e7429881ca Delete a > in advanced form 2023-08-02 14:08:04 +03:00
Konstantinos Triantafyllou 3b6822c71f Update material to version 15 2023-08-01 11:40:55 +03:00
Konstantina Galouni 901855daa9 [Library | develop]: In search bars, set in placeholder the portal name according to the configuration name.
1. home.component & navigationBar.component: Get portalName by config.portalAsObservable>name and set placeholder to "Search "+portalName.
2. searchAll.component.ts: Set default value of "formPlaceholderText" to "Search".
3. advancedSearchForm.component.html: Set placeholder of input (when there is also the <entities-selection>) to [placeholder]="formPlaceholderText".
2023-07-24 16:25:20 +03:00
Konstantinos Triantafyllou 2312c5356b Remove a --> from search form. 2023-07-13 11:47:55 +03:00
Konstantina Galouni bda90f2c38 [Library | explore-redesign]: Bug fixes in range filter, advanced search link of search all page, search results "cards" in mobile screens.
1. rangeFilter.component: [Bug fix] Removed from method get disabled() check of isDisabled and added this check for class "disabled" in action/button (error on enter, because isDisabled was already true before triggering the action of yearChanged).
2. search-input.component.ts: [Bug fix] Added check for client side in ngAfterViewInit(), before calling "getComputedStyle".
3. searchAll.component:
   a. Set "advancedSearchLink" properly and pass it to each search entity page in "simpleSearchLink" parameter.
   b. In <advanced-search-form>, pass parameters [entityType]="activeEntity" and [advancedSearchLink]="advancedSearchLink" [advancedSearchLinkParameters]="parameters".
4. advancedSearchForm.component.html: Removed check this.entityType == this.selectedEntity from advanced search link.
5. searchFilter.component.ts: In filterKeywords() method, added cdr.detectChanges().
6. searchResult.component.html: [Bug fix] Reverted [isMobile] parameter to <result-preview" (removed by mistake in a previous merge).
2023-05-16 12:28:35 +03:00
Konstantinos Triantafyllou 416a15e3d0 Add background modifier in search-input in order to add background in search-icon. 2023-05-12 17:25:14 +03:00
Konstantina Galouni ef742be1b2 [Library | explore-redesign]: Added/ updated how filters appear in mobile screens | Updated search forms.
1. general.less: Added fixed position for .filters-toggle-button.
2. newSearchPage.component.html: Added floating button for filters in mobile screens.
3. advancedSearchForm.component.html: Re-introduced commented out <entities-selection> inside <advanced-search-input> | Removed iconPosition and commented button for filters inside search form.
4. home.module.ts: Imported SearchInputModule.
5. home.component.html: Replaced <advanced-search-input> with <div search-input>
6. searchDataProviders.component.ts: Set entitiesSelection to false for <new-search-page>
7. newSearchPage.component.ts & searchAll.component.html: Set entitiesSelection to false for <advanced-search-form>
2023-05-08 17:10:51 +03:00
Alex Martzios 84bd4b24b8 search page: advanced-search > remove number of rules applied in search bar and moved them above the results 2023-05-02 12:11:25 +03:00
Alex Martzios dd6f18db52 search page: simplify search bar - remove 2 steps 2023-04-21 11:04:43 +03: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
Konstantinos Triantafyllou de42da8b6c Change search in order to apply mobile style 2022-12-07 16:56:16 +02:00
Konstantina Galouni 16d4df483f [Library]: advancedSearchForm.component: Remove trackBy: trackByFn - workaround for bug in angular 11 - angular 14 has fixed its error. 2022-11-29 14:35:38 +02:00
Konstantina Galouni 4734c7b821 [EOSC Explore]: package.json & CHANGELOG.md: Updated v1.0.2 | newSearchPage.component.html: Updated margins and paddings in search form | advancedSearchForm.component: Bug fix in advanced search form (fixed in angular 14) & smooth scroll to the last rule when adding new. 2022-11-18 15:03:08 +02:00
Alex Martzios 68e0aa98a8 update advanced search form 2022-10-25 17:21:53 +03:00
Konstantina Galouni 0901228f32 [Eosc Explore & Library]: home.component.html & advancedSearchForm.component.html: Updated width of stepper form & set tooltip=true. 2022-10-18 15:51:40 +03:00
Konstantina Galouni 087cd208d5 [Explore & Library]: home.component.html & advancedSearchForm.component.html & claimContextSearchForm.component.html & claimProjectSearchForm.component.html & claimResultSearchForm.component.html: Increased width of search forms and fixed width of each step of stepper input. 2022-10-18 15:28:04 +03:00
Alex Martzios 3f7a9dda90 fix widths for advanced search for - when selecting publication date and specific date range 2022-08-02 15:42:32 +03:00
Konstantinos Triantafyllou 67211e78c6 Fix dark background in advanced search form 2022-06-27 12:37:21 +03:00
Konstantinos Triantafyllou 0bd6b3cfb1 Support not includes in advanced form for any field 2022-06-16 12:47:21 +03:00
argirok 9caf036b12 improvements for autocomplete 2022-06-10 12:43:21 +03:00
Konstantinos Triantafyllou 05172dad18 Input component: Add searchanle input and add it in advanced search form and linking 2022-06-09 16:21:43 +03:00
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 c9c1aff2ff Change queries in advanced to support or not. Add different options for every equality operator. 2022-06-01 13:27:46 +03:00
Konstantinos Triantafyllou be3020b164 Input component: If in select type more than 7 results available make it autocomplete. Advanced search form add includes/not includes 2022-05-27 12:22:04 +03:00
Konstantinos Triantafyllou 703dfd39a8 Advanced search form: Add form to search on enter 2022-05-20 18:07:52 +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 6caba7a155 [Aggregator | Library | new-theme]: Fixes for eosc portal in search forms.
1. advancedSearchForm.component.html: Updated width in div for entity selection in advanced search form (uk-width-large@m uk-width-2-5@xl uk-width-1-1).
2. newSearchPage.component.html:  In <advanced-search-form> added horizontal padding (on the left it was already there) - the form is centered and leaves some space from the right side of page.
3. aggregators.ts:
   a. Commented background css in .search_box_bg.
   b. Do not apply custom button css for .uk-button-text with parent .search_box_bg or #searchForm.
   c. Added padding: 10px in buttons with parent .search_box_bg or #searchForm.
2022-05-19 12:14:28 +03:00
Konstantina Galouni 5aa832d698 [Library | Trunk]: advancedSearchForm.component.html: Dropdown for advanced search link (all content) replaced with a link to advanced search results (research products). 2022-05-13 15:46:54 +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
Konstantinos Triantafyllou b19ef578b4 Update advanced search form 2022-04-19 12:33:52 +03:00
Konstantinos Triantafyllou ca4da85090 Add openAccess in quick selection and make it responsive. Remove enter behaviour for select inputs in advanced-search-input 2022-04-19 02:09:42 +03:00
Konstantinos Triantafyllou 19bf9f7968 1. Entities Selections: Fix conditions. 2. Filters selected add uk-text-truncate 2022-04-18 14:43:33 +03:00
Konstantinos Triantafyllou 5f042433be Advanced form: apply new design (not completed). Entities selection for advanced form 2022-04-18 11:29:14 +03:00
Konstantinos Triantafyllou 8df2c1a2e1 Fix a bug with search-form. Change uk-text-muted to uk-text-meta 2022-04-16 01:10:34 +03:00
Konstantinos Triantafyllou cee1d9f876 Add advanced-search-input with entities selections in all search-pages 2022-04-16 00:49:35 +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
Konstantinos Triantafyllou d983a24aa4 Fix some issues in input and search input. Add search input in search-page. 2022-04-12 17:20:51 +03:00
Konstantinos Triantafyllou db58e5c3e8 Change search page base on new mocks for portal results 2022-02-14 18:02:00 +02:00
Konstantinos Triantafyllou 03f412c550 Update search page layout base on new theme 2022-01-21 10:20:46 +02:00
Konstantinos Triantafyllou 78ee2e4bcd Update search componenents with new theme 2022-01-20 11:19:44 +02: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 ba229df685 [Trunk | Library]:
deletedByInference.component.ts: In <result-preview> add property "showOrcid" set to "false".
resultLanding.component.html: 
	a. Show <orcid-work> always (user is logged in or not and if there are no identifiers).
	b. Add class "half-opacity" in button and text for annotations when not user is logged in or there is no pid.
resultLanding.component.ts: Remove "loggedIn" field as it is duplicate (the other is "isLoggedIn").
advancedSearchForm.component.html: Show input form for filters with type "keyword" and [NEW] type "identifier".
loading.component.ts: Add boolean property "top_margin" to add or not class "uk-margin-small-top" on spinner.
result-preview.component.html: 
	a. Show <orcid-work> component even when user is not logged in.
	b. Fix widths for bottom line of result preview.
	c. Add "orcidCreationDates" and "orcidUpdateDates" in bottom line when available (in my orcid links page).
result-preview.component.ts: Add "showOrcid" property.
result-preview.ts: Add fields "orcidUpdateDates: string[]" and "orcidCreationDates: string[]".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60393 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-10 09:05:37 +00:00
argiro.kokogiannaki fa25562aea [Library|Trunk]
Add custom filter parameters when switching from simple to advanced search pages or change entities


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59938 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-23 16:08:36 +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 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
argiro.kokogiannaki 3828670514 [Library|Trunk]
JSONLD:
-Home page: 
-Add description in Website with search action
-In every search page add description based on the filters
-In (project, content provider, organization) landing add description if available otherwise use the title
-In project add id in funder entity

Autocomplete: create event emitter to update entity or refine result label (used in jsonld)

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59152 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 12:41:08 +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 db7bd35f62 [Library | Trunk]: Changes for adding search and langing pages to monitor dashboard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59060 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:37:17 +00:00