Commit Graph

48 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou a58e926c3d Prefilling: Alphabetical order in the returning list. Autocomplete of prefilling: no search with empty value. 2022-03-29 15:14:34 +03:00
Konstantina Galouni 52c7796e8e #7183: Do not query for authors (DMP invitation) until 3 letters have been typed.
1. multiple-auto-complete.component.ts:
   a. Added @Input field minLength (default 0)
   b. In method "_onInputFocus()" filter results, only if query >= minLength.
2. dmp-invitation-dialog.component.html: In <app-multiple-auto-complete>, added property [minLength]="3" (invite users to a DMP).
2021-11-22 13:36:02 +02:00
Konstantina Galouni de99784b5e In multiple and single autocomplete do not show "no results found" when user is typing | in multiple auto complete added parameter to check if "no results found" will be displayed | in multiple auto complete show full width for input & wrap title into multiple lines.
1. multiple-auto-complete.component.html:
   a. #7137: show full width for input ([matAutocompleteConnectedTo]="origin") | wrap title into multiple lines (added classes "title-subtitle-fn", "subtitle-fn", "subtitle-fn-inner" and updated classes "title-fn", "title-fn-inner").
   b. single-auto-complete.component.html: #7136: Show "No results found" when user is not typing and there are no results.
   c. added check to show this label according to "showNoResultsLabel" input parameter.
2. multiple-auto-complete.component.ts & single-auto-complete.component.ts:
   a. Added field "queryValue", input "showNoResultsLabel".
   b. increase "requestDelay" from 400 to 600ms.
3. multiple-auto-complete.component.scss: wrap title into multiple lines (added classes "title-subtitle-fn", "subtitle-fn", "subtitle-fn-inner" and updated classes "title-fn", "title-fn-inner").
4. dmp-invitation-dialog.component.html: In <app-multiple-auto-complete> added parameter [showNoResultsLabel]="false".
2021-11-09 14:14:19 +02:00
Konstantina Galouni ca5883724a In Dataset Template selection cut description when templates are displayed in list and show description (instead of DMP-EDITOR.DATASET-DESCRIPTION.INTRO) in template preview.
1. multiple-auto-complete.component.html: Added class "title-fn-inner" to cut the displayed description of dataset templates.
2. multiple-auto-complete.component.scss: Css for class "title-fn" updated and for class "title-fn-inner" added to cut the displayed description of dataset templates.
3. available-profiles.component.html: Added class "list-option-inner" to cut the displayed description of dataset templates.
4. available-profiles.component.scss: Css for class "list-option" updated and for class "list-option-inner" added to cut the displayed description of dataset templates.
5. dataset-preview-dialog.component.html: Added [datasetDescription]="data?.template?.description" in <app-dataset-description>
6. dataset-description.component.ts: Added in class, field "datasetDescription".
7. dataset-description.component.html: Show template datasetDescription (as html) instead of DMP-EDITOR.DATASET-DESCRIPTION.INTRO.
2021-11-02 16:50:43 +02:00
Konstantina Galouni 198061aeaa Description boxes in admin forms replaced with rich text editor <angular-editor>.
1. dataset-profile-editor-composite-field.component.ts & dataset-profile-editor-section.component.ts & dataset-profile-editor.component.ts: Initialize AngularEditorConfig.
2. dataset-profile-editor-composite-field.component.html & dataset-profile-editor-section.component.html & dataset-profile-editor.component.html: Use <angular-editor> in description.
3. multiple-auto-complete.component.html & dataset-profile-listing.component.html & form-section.component.html: Show description as html.
4. dataset-profile.module.ts: Imported HttpClientModule, AngularEditorModule (needed for <angular-editor>).
5. available-profiles.component.html: Show description as html, under the Dataset Template title, not as tooltip (matTooltip does not receive html).
6. available-profiles.component.ts: Added styleUrls: ['available-profiles.component.scss'].
7. available-profiles.component.scss: [NEW] Added css for class "list-option" to cut description if too long.
8. form-composite-title.component.html: Show description and extendedDescription as html | Add view more/less functionality to show/hide extendedDescription.
9. form-composite-title.component.ts: Added "public showExtendedDescription: boolean = false;" field.
10. form-composite-title.component.scss: Added css for "more" class, to make "view more/less" seem like link.
11. assets/i18n/: In language files added DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-MORE (-LESS).
12. assets/styles.css: Added css for <angular-editor>, to be similar to the other text areas and forms.
2021-10-12 18:14:22 +03:00
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi a212f4e5a1 Subtle border on invalid emails inputs (in invitation dialog)
* Mutli auto compolete component extended
2021-07-21 12:16:22 +03:00
Kristian Ntavidi 1b731fdf20 Changes on multi-auto complete component.
* Give precedence on autocomplete option-selected over onblur.
* Invitation dialog on blur commit given email till that time, on emails list.
2021-07-21 11:09:13 +03:00
Kristian Ntavidi add23dab2f Grant search fix.
* Change the way the single auto complete refreshes.
* Remove some unnecessary code.
2021-06-14 01:46:29 +03:00
Kristian Ntavidi d9826095bc Dmp editor. Fix issue on selecting grant after search. 2021-06-11 15:35:47 +03:00
Kristian Ntavidi abaf61cf02 DMP Editor. Uncompleted guide steps appear with red color when form is invalid and the user attemps to save. 2021-03-19 13:30:21 +02:00
apapachristou 2f61e47139 On focus out of autocompletes clear value if not selected option (to be reviewed) 2020-11-25 18:08:51 +02:00
apapachristou 06f156c687 Fix bug on dmp editor that prevented request grants on funder change (change on single autocomplete component to be reviewed) 2020-11-25 14:22:30 +02:00
apapachristou 4552525e1c On multiple autocomple inputs removes permanent placeholder inside the container, adds overflow 2020-11-19 10:38:43 +02:00
apapachristou ce6c0f3b20 Fixes position of arrow on auto complete 2020-10-29 12:10:39 +02:00
apapachristou 32caed9f6f Adds preview of dataset template, adds delete with spacebar on multiple autocomplete 2020-10-20 13:00:02 +03:00
apapachristou eb7a5571c4 Edit template on dmp-dataset editor 2020-09-08 10:36:18 +03:00
apapachristou 2c9475da2c Fixes bug of double select dropdown.
The attribute autocomplete="nope", set by downshift, is ignored in Chrome 67 and Opera 54 (latest at the time of writing)
2020-08-24 15:47:58 +03:00
gpapavgeri a4b61c2172 dmp&dataset overview_remove user & invite user update 2020-07-09 10:17:49 +03:00
Diamantis Tziotzios 4ae13704c5 autocomplete fix 2020-03-11 16:21:58 +02:00
George Kalampokis e2982b6c3d Improved auto complete styling 2020-02-28 16:59:04 +02:00
Diamantis Tziotzios c8600b315e autocomplete fix 2019-12-18 17:37:00 +02:00
Diamantis Tziotzios 3bab68265b added grant id to displayfn 2019-12-13 17:05:19 +02:00
Diamantis Tziotzios 3327131ad8 autocomplete style fix 2019-12-12 16:54:26 +02:00
Diamantis Tziotzios d21e5c3d78 autocomplete fixes 2019-12-12 16:12:46 +02:00
Diamantis Tziotzios bcf4a3f6a2 autocomplete style changes 2019-12-12 12:42:00 +02:00
Diamantis Tziotzios d1d0cbd931 autocomplete fix 2019-12-12 12:04:29 +02:00
Diamantis Tziotzios 16d57bd0ad dmp advanced editor changed to remain at the same page when saving 2019-12-11 16:51:03 +02:00
apapachristou de5dcb7d4c Improves usability of Copy Dataset Description dialog 2019-11-07 16:37:07 +02:00
apapachristou 8adfc1d46d Adds link to SingleAutoCompleteConfiguration 2019-11-04 17:51:08 +02:00
apapachristou f1a79459a0 Fixes bug on Autocomplete drop down menu (Issue #201) 2019-11-04 13:06:30 +02:00
apapachristou 77d2aa317e Funder - Grant Selection in DMP at quick-wizard. (Issue #182) 2019-10-04 19:11:52 +03:00
apapachristou d89beeaf0f Fixes width of autocomplete panel. 2019-10-03 16:06:21 +03:00
apapachristou f45e41a625 Fixes autocomplete scaling chip bug. (Issue #176) 2019-09-25 18:02:26 +03:00
apapachristou 74ae77edbc Fixes bug on External References undo finalize. (Issue #162) 2019-09-23 14:06:58 +03:00
Diamantis Tziotzios e6891861e5 angular update to version 8 2019-09-23 11:17:03 +03:00
gkolokythas e853c8c44a Adds clear autocomplete when you select value functionality at External References. (Issue #155) 2019-09-19 18:05:20 +03:00
gkolokythas a64c96bc1e Fixes bug on multiple autocomplete reseting the form value when typing. (Issue #135) 2019-07-25 16:12:14 +03:00
apapachristou 8b2f54f9dc Fixes mat-autocomplete width to be as long as the larger option, fixes subtitle of wizard 2019-06-14 16:41:43 +03:00
Diamantis Tziotzios ed03abd254 Adds the multiple autocomplete functionality on Combo Box Autocomplete. 2019-03-26 17:09:02 +02:00
Diamantis Tziotzios f3168f4e06 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-02-15 13:41:21 +02:00
Diamantis Tziotzios 24386b5d43 autocomplete fix 2019-02-15 13:41:14 +02:00
Diamantis Tziotzios 7380c55443 Fixes single and multiple autocomplete's performance. 2019-02-15 13:00:26 +02:00
Diamantis Tziotzios 54779bf53f autocomplete fix 2019-02-15 10:51:21 +02:00
Diamantis Tziotzios 1a0728295b autocomplete disabled fixed 2019-02-14 18:56:06 +02:00
Diamantis Tziotzios 853be683a8 Delete buttons
LogIn Page Fix
fix Multiplisity Ids
fixVizibility to Child Items
2019-02-01 10:29:00 +02:00
Diamantis Tziotzios 8c5c57375a validator to external datases tipe requierd, Space in to Dataset Fields Titles, AutoComplete Fix option selection 2019-01-25 15:54:14 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00