Commit Graph

193 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
George Kalampokis dc06ba9201 Allow to return DMP with no Datasets for the Dataset Editor 2022-03-15 17:58:01 +02:00
Konstantina Galouni b68ede8cd7 #7518 & #7519: [Bug fix] in Required indication in Rich Text Area fields & editable general info on dataset template new version & date with time shown in dataset templates.
1. rich-text-editor.component.scss: Css for .editor-wrapper .disabled added.
2. rich-text-editor.component.ts: New "editable" Input() field added, to allow rich text area to be disabled and not editable.
3. dataset-profile-editor.component.html:
   a. In <rich-text-editor-component> set [editable]="form.controls['description'].status !== 'DISABLED'"
   b. #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty)
4. dataset-profile-editor.component.ts: #7519 comment disable of form controls label (title), description and language.
5. dataset-profile-listing.component.html: #7519 Time added in created column of dataset templates.
6. dataset-editor.component.html & form-field.component.html: #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty).
7. clone-dialog.component.html: Replaced <textarea> with <rich-text-editor-component> for description field.
8. clone-dialog.module.ts: Import RichTextEditorModule.
9. clone-dialog.component.ts: #7519 comment disable of form group label (title)
10. styles.scss: Css for class .form-field-subscript-wrapper updated.
2022-02-28 18:08:38 +02:00
Konstantinos Triantafyllou e4e009f5b1 Fix after prefill datase editor behaviour - 7545 2022-02-18 15:57:17 +02:00
Konstantinos Triantafyllou e1a4a64d81 Add hint text for prefilling. Change Empty to Manually 2022-01-04 14:53:49 +02:00
Konstantinos Triantafyllou c8b388b546 1. Change configuration of Zenodo to production.
2. Add default multiplicity placeholder and remove tooltip
3. Disable reordering of fields if template is finalized.
4. Create Dataset Wizard: Add prefilling functionality
2021-12-22 15:59:58 +02:00
George Kalampokis 9dc4d52f91 Fix issue with Dataset copy status 2021-11-23 11:24:42 +02:00
Konstantina Galouni 7a7f12b83a Fixed #7182: Required field names appearing in the warning modal.
dataset-wizard.component.ts & dmp-editor.component.ts & form-validation-errors-dialog.component.ts:
a. For 'mat-select', use placeholder instead of aria-label.
b. [Bug fix] For 'app-multiple-auto-complete' dig into 2 more levels (formControl.nativeElement.firstChild.firstChild.firstChild.children) --> reason: commit de99784b5e: moved <input> inside <mat-chip-list>.
2021-11-16 11:47:24 +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
Konstantina Galouni f9bf688085 dataset-wizard.component.html: Added in dropdown list "Save & Continue" option (same as Save). | assets/i18n/: Added DATASET-WIZARD.ACTIONS.SAVE-AND-CONTINUE in language files. 2021-10-12 18:53:07 +03:00
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi 5ddb7df2b4 Finalize dataset from dataset editor.
* Finalize dataset from dataset editor.
* Finalize dataset on dataset overview redirects you to dataset editor
* Grouping save action buttons
2021-07-20 13:32:40 +03:00
Kristian Ntavidi cce9df8eb7 Fixes
* Feedback message on error saving dataset.
* Unsubscribe backend calls on dashboard component destroy.
2021-07-09 13:03:09 +03:00
George Kalampokis d1e3aae36d Fix critical issue with dataset's copy dropdown 2021-06-30 12:51:12 +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 d9826095bc Dmp editor. Fix issue on selecting grant after search. 2021-06-11 15:35:47 +03:00
Kristian Ntavidi a3c9df87df Add validate button on Dataset Wizard. Show in red invalid fieldsets in table of contents 2021-06-11 12:16:50 +03:00
Kristian Ntavidi e9e953aee3 Bug fixes and language updates.
Admin Templates listing table fix. When a filter is applied, gets you to the first page. Total templates number fix .
Admin Template Editor. Enable editing Description in finalized templates.
Dataset wizard. Fix NaN in total progress when finalized. (remove all edit/save actions).
Portuguese language update.
2021-04-27 23:33:30 +03:00
Kristian Ntavidi e801bbf2e2 User Dataset Editor. Table of contents loads properly on saved template. Table of contents and tempalte description have the same visibilityRules service. 2021-04-13 11:19:09 +03:00
Kristian Ntavidi 167cae9e59 User guide links update. Placeholders in dataset identifier and validation. Confirmation dialog minor changes. 2021-04-09 11:31:16 +03:00
Kristian Ntavidi 037e246262 Admin template editor: reseachers multi auto-complete fix. Discard changes on dataset editor navigates back to dmp editor. 2021-04-07 12:58:45 +03:00
Kristian Ntavidi 560e6100b7 Dataset Profile Editor: when "select" is created it appends as well an empy option. Recent edited activity "LoadMore" fix. Table of contents: selected entry updates. 2021-04-06 09:57:17 +03:00
Kristian Ntavidi c8ce77ff81 Dataset Wizard. Fix "Previous" and "Next " steps behaviour. Uncompleted guide steps appear with red when user attempts to save. 2021-03-19 14:32:17 +02: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
Kristian Ntavidi 6f52f77459 Dataset Wizard bug fix. On save show errors only for the semiform. 2021-03-18 18:02:09 +02:00
Kristian Ntavidi 1389b3dbf5 UI Fixes. Panels in wizard expand all the way up to page level (when selected from table of contents). Hide overflown text in table. 2021-03-18 10:52:18 +02:00
Kristian Ntavidi 72d40b0f33 UI Fix. Expansion Panels expand when the selected element is collapsed. 2021-03-17 17:49:42 +02:00
Kristian Ntavidi ae378899e2 Dataset description and table-of-contents works with tocentries. 2021-03-17 11:08:59 +02:00
Kristian Ntavidi 2924db4409 Show the same numbering in wizard and editor. Sorting by ordinal in wizard description 2021-03-09 10:04:50 +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 36ac02e9f9 Change texts on editors 2020-11-17 09:57:52 +02:00
apapachristou 77b9a84105 Fix bug: discard button should disappear after save on dataset editor 2020-11-12 18:18:09 +02:00
apapachristou 50fc4612b7 Fix bug on save dataset profile definition 2020-11-12 17:57:09 +02:00
apapachristou 188fcd539f Style fix: add hover on dialog close button 2020-11-12 10:39:41 +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 0e906cb4b9 Fixes compile error 2020-11-02 18:25:51 +02:00
apapachristou abfb6342b2 with previous commit 2020-11-02 18:14:10 +02:00
apapachristou d0d98bc520 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts
2020-11-02 18:11:19 +02:00
apapachristou 0e2d288478 on dataset save remain at the same position 2020-11-02 18:08:25 +02:00
George Kalampokis c391cd5521 Fix issue when saving Datasets 2020-11-02 17:38:19 +02:00
apapachristou 45979922d5 Fixes style on title of dataset temlate preview and adds margin on expansion panels 2020-10-30 14:15:49 +02:00
apapachristou e661eb3d0b Removes unnecessary scrollbar from editors 2020-10-29 13:46:10 +02:00
apapachristou cd618563bf Style changes on buttons 2020-10-26 17:31:39 +02:00
apapachristou 9c2f1b12bd Adds progress bar on dataset editor 2020-10-16 16:48:28 +03:00