Commit Graph

322 Commits

Author SHA1 Message Date
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 193e7410a8 Added rich text area field type for response in dataset > chapter > section > questions.
1. dataset-profile.module.ts: Added in declarations "DatasetProfileEditorRichTextAreaFieldComponent".
2. dataset-profile-editor-composite-field.component.html: Added RichTextArea as input field type for response to a question.
3. dataset-profile-editor-composite-field.component.ts: In method "addNewInput()" added case for RichTextArea.
4. dataset-profile-field-view-style.ts & view-style-enum.ts: Added RichTextArea.
5. field-data.ts: Added interface RichTextAreaFieldData.
6. enum-utils.service.ts: In methods "toDatasetProfileFieldViewStyleString()" and "toDatasetProfileViewTypeString()" added cases for RichTextArea
7. field-editor-model.ts: Added richTextarea.
8. component-profile-editor-default-value.component.html: Added <mat-form-field> for RichTextArea (how rich text area is initialized when this type is selected as response).
9. dataset-profile-editor-field.component.html: Added <mat-option> for RichTextArea (to select it) and <app-dataset-profile-editor-rich-text-area-field-component> (to show it).
10. dataset-profile-editor-field.component.ts: Added RichTextArea case everywhere.
11. dataset-wizard.component.ts & dmp-editor.component.ts: In method "_getPlaceHolder()" added case for richTextarea.
12. dataset-description-form.module.ts: Imported RichTextEditorModule.
13. form-field.component.html: Added RichTextArea case with <rich-text-editor-component>.
14. assets/i18n/: Added DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-TITLE, DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-PLACEHOLDER and DMP-EDITOR.TYPES.DATASET-PROFILE-FIELD-VIEW-STYLE.RICH-TEXT-AREA.
15. field-data/rich-text-area-field-data-editor-model.ts & field-type/rich-textarea/: [NEW] Files for Rich Text Area field type.
2021-11-01 15:30:21 +02:00
Konstantina Galouni 7bdfcb70af Created common component for rich text editor configuration & added rich text for dmp and dataset description.
1. library/rich-text-editor: [NEW] Common component which configures a rich text editor.
2. dataset-editor.component.html & main-info.component.html: Use <rich-text-editor-component> to allow rich text in dataset and dmp description.
3. dataset-overview.component.html & dmp-overview.component.html: Show dataset and dmp description as innerHTML.
4. dataset.module.ts & dmp.module.ts: Imported RichTextEditorModule.
2021-11-01 14:45:02 +02:00
George Kalampokis 5a66754cbd Make DMP language Mandatory and set default language to English 2021-10-29 15:08:58 +03:00
George Kalampokis 045dd51014 Prevent the selection of an already selected dataset Templates 2021-10-13 16:10:56 +03: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 3e98297da9 Pt language updates. 2021-07-06 09:37:41 +03:00
Kristian Ntavidi d878562d3d Ui fixes on landpage (static pages) 2021-06-24 16:00:21 +03:00
Kristian Ntavidi 1a6df44eeb Add deactivate guards in dataset editor and dmp editor. 2021-06-23 10:54:05 +03:00
Kristian Ntavidi e2f262b385 Popup dialog on locked DMP/Datasets overview / editors 2021-06-22 14:12:58 +03:00
Kristian Ntavidi 92b60c7c90 DMP editor. Show popup dialog when dmp is locked. 2021-06-17 12:52:01 +03:00
Kristian Ntavidi 9161dbda56 UI fixes and bug fixes
* Member of dmp cannot see dmp editor anymore. Redirects to overview
* Hide percentage bar in dmp editor when editor is disabled (when finalized or locked)
* Change font sizes on Resource page (static pages)
* Fix issue of indeterministic disabled on DMP editor.
2021-06-17 12:25:46 +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 9eb1c12afd DMP Overview. Provide user feedback of invalid datasets on finalize. Prevent user from submitting invalid Datasets. 2021-05-10 15:51:10 +03:00
Kristian Ntavidi b825a80e61 DMP Editor patch: Form is not invalid invalid anymore when change from createnew funder to existing 2021-04-30 16:42:59 +03:00
Kristian Ntavidi b82398d97e DMP Editor. Organizations identifier query params patch. 2021-04-30 16:14:13 +03:00
George Kalampokis a155f2cbec Allow to search organizations based on reference 2021-04-30 15:25:31 +03:00
Kristian Ntavidi a8f75aafb9 DMP Editor. Prefixing queries on searching existing identifiers. 2021-04-30 14:34:28 +03:00
George Kalampokis 8a7cfab3b8 Fix various issues 2021-04-30 13:10:11 +03:00
Kristian Ntavidi b486a27e48 Unique identifiers(in references) on on researchers, organisations, funders, grants, projects (frontend) ( !! Needs configurationw with backend ). Backend error messages translate to PT. 2021-04-30 10:57:13 +03:00
Kristian Ntavidi 198eb838c5 User Dataset Editor. Pages/ Sections/Fieldsets that have all inputs hidden, are hidden as well (Both on template and table of contents). 2021-04-12 19:08:09 +03:00
Kristian Ntavidi ab9bb3e8cf DMP Editor: remove modal when navigating to dataset. Minor ui fixes. 2021-04-08 12:57:44 +03:00
Kristian Ntavidi 14c7770ae9 User guide patch. Sorting available profiles in dmp editor. Portuguese on guide tour. 2021-04-07 19:19:22 +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
Kristian Ntavidi 97db10be12 Dataset Wizard. Table Of Contents entries show error state (not visible yet, only implementation). Fix Bug on DMP Editor: "Save & Add" doesn't validate datasets to proceed anymore. 2021-03-19 12:04:01 +02:00
apapachristou 558b506643 Add analytics to pages, οverviews, editors etc. 2020-12-14 19:28:13 +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 0542c17aae removes unnecessary console.log and comments 2020-11-20 15:01:57 +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 52317c10f9 Fix style of buttons on finalize dialogs 2020-11-18 10:58:26 +02:00
apapachristou 36ac02e9f9 Change texts on editors 2020-11-17 09:57:52 +02:00
George Kalampokis fbff31d287 When changing steps on both editors reset the scroll 2020-11-11 12:32:55 +02:00
George Kalampokis 5d01519415 Fixed various styling issues 2020-11-10 16:53:48 +02:00
apapachristou 0bd5afffe1 Fix: on save of datset, table of contents remains open 2020-11-06 12:42:31 +02:00
apapachristou b13dab598f After dmp save remain at the same position 2020-11-02 18:18:49 +02:00
apapachristou e661eb3d0b Removes unnecessary scrollbar from editors 2020-10-29 13:46:10 +02:00
apapachristou a926d933e3 Removes auto open of autocomplete panel on invitation dialog open, replace 'invite collaborators" with "invite 2020-10-29 11:44:17 +02:00
apapachristou 8946ea2fb7 Changes style of title on dmp an dataset card 2020-10-23 17:59:59 +03:00
apapachristou 1d0a375453 Adds preview icon on all profile multiple autocomplete fields 2020-10-20 13:23:22 +03:00
apapachristou 32caed9f6f Adds preview of dataset template, adds delete with spacebar on multiple autocomplete 2020-10-20 13:00:02 +03:00
apapachristou 9c2f1b12bd Adds progress bar on dataset editor 2020-10-16 16:48:28 +03:00
apapachristou e179d90f12 Adds progress bar on DMP editor 2020-10-15 13:46:59 +03:00
George Kalampokis f08d8e2e01 When checking for Form Validation errors if the control has no nativeElement then pass as name it's formGroup key, also added some additional checkup for the placeholder parser in the FormValidationComponent 2020-10-13 12:55:11 +03:00
apapachristou 4c3775232a Adds everywhere snackbar on download rda json failure 2020-10-09 13:04:38 +03:00
apapachristou 7cc584ac33 Fixes spelling of variable name 2020-10-07 13:14:19 +03:00
apapachristou d856255405 Fixes bug: after discard grant was not set to previous value 2020-10-07 12:42:10 +03:00
apapachristou a1b067071a Backend: Fixes modified time check on save dmp without previous reload. Frontend: Adds dialog to proceed to dataset editor on "save & add dataset" 2020-10-06 11:21:15 +03:00
apapachristou 34111fc6a9 Adds dialog to specify transition from dmp editor to dataset editor 2020-10-05 11:34:08 +03:00
apapachristou dc8492e337 Removes unnecessary code 2020-10-02 12:11:51 +03:00
apapachristou 716610e7c3 front changes to match with changes on back-end previous commit 2020-10-02 10:15:02 +03:00
apapachristou 97a3338dda Fixes enumerating of editor fields, changes title of fields 1.1 2020-10-01 16:35:20 +03:00
apapachristou ae7d62b63c Fixes style on editor fields 2020-09-30 15:52:50 +03:00
apapachristou a05d24b95b Initialise contact field on dmp editor 2020-09-30 14:39:38 +03:00
apapachristou d249eb841a Adds description text on dmp editor fields 2020-09-30 11:42:52 +03:00
apapachristou b8ebfb0726 Removes 1.3 External Link field from dataset editor 2020-09-29 14:30:00 +03:00
apapachristou 410583a5f2 Moves fields language, visibility, publication data, contact from license tab to main 2020-09-25 15:55:06 +03:00
apapachristou 6bc2d37bda Restyles Warnign Dialog 2020-09-25 14:03:04 +03:00
apapachristou 1caa40988d Restyles navigation buttons on editors, fixes bugs on discard changes on editors 2020-09-24 20:28:03 +03:00
apapachristou eb0bf2f003 Adds "Insert manually" link instead of add ( + ) button 2020-09-23 19:41:12 +03:00
apapachristou 26fa759d81 Removes default hint subtitles on fields of editors 2020-09-23 19:02:59 +03:00
apapachristou f38e858f72 Hides cost field on dmp editor at license tab 2020-09-23 18:31:42 +03:00
apapachristou d48e8a984a Create new Dataset - using pop up 2020-09-18 14:14:48 +03:00
apapachristou 5944dfc005 Dataset editor changes on save 2020-09-17 18:48:13 +03:00
apapachristou 2ebf413217 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html
2020-09-16 18:37:03 +03:00
apapachristou 9596fd1595 New seperate dataset editor (1st commit) 2020-09-16 18:19:29 +03:00
George Kalampokis 33a43f1066 Prevent to add and save datasets on a finalized dmp 2020-09-15 14:27:51 +03:00
apapachristou c943a2d297 Fixes bug on multiple template select, on choosing not existing template and then click to open available profiles 2020-09-14 14:30:12 +03:00
apapachristou b33c49ce4c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-10 11:35:18 +03:00
apapachristou 1680409755 Style fixes on editor template input field 2020-09-10 11:35:10 +03:00
George Kalampokis c4dc3b0836 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/editor/dataset-editor-details/dataset-editor-details.component.html
2020-09-10 11:28:28 +03:00
George Kalampokis e558c99404 Fixed issue with visibility rules not working 2020-09-10 11:27:04 +03:00
apapachristou 8782b6c05d Reorders dataset editor template field 2020-09-09 18:18:30 +03:00
George Kalampokis 73b8eb7203 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-09 17:55:04 +03:00
George Kalampokis 9f8b4bb9f7 Add License info step for the DMP Editor 2020-09-09 17:52:42 +03:00
apapachristou 1737c96621 Fixes condition visibility of remove dataset 2020-09-08 18:18:18 +03:00
apapachristou e4bef006d3 Fixes bug, cant remove finalized dataset 2020-09-08 18:11:29 +03:00
apapachristou f32a3db3b5 Adds functionality, remove dataset from dmp editor 2020-09-08 16:54:01 +03:00
apapachristou eb7a5571c4 Edit template on dmp-dataset editor 2020-09-08 10:36:18 +03:00
apapachristou b3bf7ab73d Fixes bug on preview of dataset template on dmp editor, dataset editor 2020-09-07 11:02:21 +03:00
apapachristou 2eb608a897 Add dataset from dmp editor 1st commit 2020-09-04 19:27:41 +03:00
George Kalampokis d890763b41 Updated The DatasetWizardModel on the backend in order to be similar to it's front end counterpart 2020-09-04 17:00:34 +03:00
apapachristou 89c4aac560 Modifies new version of dmp 2020-09-03 18:49:45 +03:00
apapachristou b908df98d7 Modified clone dmp 2020-09-03 12:52:35 +03:00
apapachristou 3bcafc0dd4 Converts all links of add dataset to dmp, directing from old dataset editor to new 2020-09-01 10:28:13 +03:00
apapachristou b2977df4e5 Adds link on button "add dataset" on dmp cards 2020-08-31 19:08:32 +03:00
apapachristou e837091346 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-31 02:43:17 +03:00
apapachristou db006d6ad2 Fixes bugs on discard buttons 2020-08-31 02:43:11 +03:00
gpapavgeri 74099ecabc Adds comment for custom template, removes add dataset & updates style for dataset-info 2020-08-27 11:47:07 +03:00
apapachristou 404632a337 Fixes save new dataset 2020-08-25 18:34:28 +03:00
apapachristou 15d2958c95 Adds dataset profile definition form on new dataset page 2020-08-25 10:45:42 +03:00
apapachristou be48a150b2 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dashboard/dashboard.component.html
2020-08-24 16:12:53 +03:00
apapachristou ac153477e7 Adds dataset editor on home button "Add new dataset" 2020-08-24 15:46:55 +03:00
gpapavgeri 4dae734379 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 16:07:02 +03:00
gpapavgeri 311f79b372 Placeholder changed in dataset-info 2020-08-06 16:06:16 +03:00
apapachristou cca9ac3ec9 Adds button save on DMP editor even if dataset is finalized and adds indication that a dataset is finalized 2020-08-06 16:01:22 +03:00
apapachristou 8caad8bb3e Changes on create new dataset editor (2nd commit) 2020-08-06 14:02:50 +03:00
apapachristou 5e31820e49 Fixes bug on editor in case of dataset is finalized but dmp not 2020-08-06 13:50:28 +03:00
apapachristou 9708a0c82d Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 13:20:35 +03:00