Commit Graph

27 Commits

Author SHA1 Message Date
Konstantina Galouni f0a48cd2e1 [Library | develop]: search-input.component.ts: [Bug fix] Added cdr.detectChanges() call on ngAfterViewInit, to solve expressionChangedAfterItHasBeenChecked error. 2023-10-16 11:44:18 +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
Konstantinos Triantafyllou de42da8b6c Change search in order to apply mobile style 2022-12-07 16:56:16 +02:00
Konstantinos Triantafyllou 09706515ba Search Input: Add icon position and focus state 2022-10-12 12:23:24 +03:00
Konstantinos Triantafyllou 56d42bcd71 Search input: on reset focus input and on enter select option then search. Input: If autocomplete_soft is selected then do notselect item from the list by default and close dropdown on enter. 2022-06-09 15:25:24 +03:00
Konstantinos Triantafyllou 7e9db1d0de CHange keydown listeners to specific key listener to optimize perfomance 2022-04-17 15:25:01 +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
Konstantinos Triantafyllou e6b2f41c8c Click outside optimized and use at input and search-input 2022-04-13 13:00:40 +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 337a56ec75 1. Notify Form: Change view of form base on new redesign. 2. Input: Add a new type autocomplete_soft in order to use it in search. 3.Search Input: Add options for autocomplete. 4. Change some dashboard-inputs to inputs 2022-04-11 12:27:10 +03:00
Konstantinos Triantafyllou 4deb378f2d Search Input: Change conditions and add value change emitter. Advanced Search Input: Unfocus on enter 2022-04-08 15:47:03 +03:00
Konstantinos Triantafyllou 95e382fc62 Search input: search on enter 2022-04-07 15:12:25 +03:00
Konstantinos Triantafyllou 510f4c56ba 1. LayoutService: Delete isDashboard. 2. Navbar: fix a bug with class add and remove. 3. Role-users: Add new search-input. 4. Modal make title h5 2022-04-07 01:09:49 +03:00
Konstantinos Triantafyllou bf970593f6 Finish search-input component 2022-04-06 18:24:14 +03:00
Konstantina Galouni 0c5483ac9b [Library | new-theme]: rangeFilter.component: [Bug fix] In range filters, years were not updating & errors were not properly displayed | search-input.component.ts: Remove styleUrls (file is deleted). 2022-04-05 20:08:11 +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 1d8003690b [new-UI | Admin]:
1. search-input.component.css: Set currentColor for border in classes ".bordered.focused" and #a3a3a3 in classes ".bordered:not(.focused)".
2. search-input.component.ts: 
	a. Add class "focused" when "showSearch" is true.
	b. In search button add tooltip with value same as placeholder.
3. subscribers.component.html: Name of search button is (by default) "Search" and placeholder "Search subscribers".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60706 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-23 22:03:10 +00:00
k.triantafyllou d9c67bab76 [Library | Trunk]: Search Input: On bordered search make selected value's width 100%
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60697 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-23 16:28:38 +00:00
k.triantafyllou 92852d0962 [Library | Trunk]: 1. Input fix bug with search control value. Remove selection of chip in autocomplete. 2. Search Input: Add truncate on selected value. 3. Full screen modal: Fix close method
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60688 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 15:10:18 +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
k.triantafyllou 467d1a4ff1 [Library | Trunk]: Search input: Fix reset function and toggle on selected. Sidebar: fix route on active route
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60488 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-24 14:35:02 +00:00
k.triantafyllou a5a57976dd [Library | Trunk]: Change search input on admin-tools pages
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60341 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-02 12:29:18 +00:00
k.triantafyllou 7d147b89e7 [Library | Trunk]: Create subscriber invite and subscribers components.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60274 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-21 15:15:53 +00:00
k.triantafyllou 0c9f2e4f2e [Library | Trunk]: Change admin-tools pages header layout. Add search-input
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60211 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 18:33:24 +00:00
k.triantafyllou edee649e7c [Library | Trunk]: Create search-input component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60208 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 15:40:51 +00:00