Commit Graph

38 Commits

Author SHA1 Message Date
Konstantina Galouni 1a2a93a95f #8738 - Disable input fields in finalised DMPs/datasets.
1. dataset-editor.component.html & form-composite-field.component.html & form-field.component.html & form-section.component.html: Added [editable] parameter input in <rich-text-editor-component> or [disabled] attribute in inputs, buttons, <ngx-dropzone> and <mat-select> to disable then when form is disabled & do not add "pointer" class when form is disabled.
2. form-field.component.ts: For DatasetIdentifier and Validation view styles, when removing and re-adding control, check if form was disabled and disable it again.
3. form-section.component.ts: In method "addMultipleField()", return without doing anything when form is disabled.
2023-06-16 14:36:24 +03:00
Konstantinos Triantafyllou 3e5dc85e04 Fix visibility dependencies for table view. Add missing question titles if a field is table. 2023-01-10 13:08:56 +02:00
Konstantinos Triantafyllou a2d07c93c8 Table View: Change columns text from truncate to wrap 2022-11-29 09:55:47 +02:00
Konstantinos Triantafyllou 9fd963a480 Add table view in preview of datataset profile editor and dataset editor. 2022-11-24 21:28:18 +02:00
Konstantina Galouni e329ef763a form-section.component.html: Updated classes of comment field parent and wrapperClasses so that it looks full width in all views. 2022-06-23 15:51:28 +03:00
Konstantinos Triantafyllou 304a6cfdb3 Backend: Fix a bug with compareTo of a field throwing an error because ordinal is not exists. FrontEnd: Initialize visibility rules for multiple fields coming from service according to their parents. 2022-06-23 15:38:48 +03:00
Konstantina Galouni 941cca8103 form-section-inner.component.html & form-section.component.html: Updated comment field to use <rich-text-editor> instead of <input> and <mat-hint>. 2022-06-10 17:00:36 +03: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
Konstantinos Triantafyllou ade9b42d12 Add a placeholder field in multiplicity. (BackEnd)
Add a placeholder input in editor for multiplicity add new field button.
2021-12-15 16:26:06 +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
Kristian Ntavidi 907ad14269 #7028 Text area fields minRows defaults to 3 2021-10-06 12:25:44 +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 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 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 142c9ab5ea Adds dots on all steps of datset editor table of content 2020-11-25 18:45:37 +02:00
apapachristou 57defab591 Removes stepper from dataset description 2020-09-23 10:19:05 +03:00
apapachristou b908df98d7 Modified clone dmp 2020-09-03 12:52:35 +03:00
apapachristou b2977df4e5 Adds link on button "add dataset" on dmp cards 2020-08-31 19:08:32 +03:00
George Kalampokis 47650abfa0 Refactor composite Title, description and delete button for improved styling 2020-02-03 17:50:18 +02:00
apapachristou 4842587e10 Table of Contents (First Commit) (Issue #180) 2019-10-15 17:25:43 +03:00
apapachristou e50875c988 Fixes styling issue in multi field set - (Issue #156) 2019-09-18 14:35:51 +03:00
gkolokythas 3efe26d14e Changes the text and adds hint on Field's comment section. 2019-07-01 11:46:39 +03:00
Diamantis Tziotzios e7d53aadee next button commented 2019-04-02 11:43:16 +03:00
Diamantis Tziotzios 8c241fd47f Polishing position and fixes bug on "add one field" button. 2019-03-14 17:39:30 +02:00
Diamantis Tziotzios 2cbaa05f95 Restyles and repositions "Add one more Fieldset" button. 2019-03-14 12:58:24 +02:00
Diamantis Tziotzios 32d189af03 Reintroduces description property on Sections. 2019-03-08 17:12:53 +02:00
Diamantis Tziotzios bbfd5e9812 set "Add one more fieldset + " on en.json
fix visibiliti on Radio-Box Word-List And Multiplisiti Button on  Finalized Datasets-Profiles And Dataset-Editors
2019-02-14 13:27:41 +02:00
Diamantis Tziotzios 8e0b869a80 Fix Multiplicity Back And Ftrond New Ids
Create DeleteButon To RadioBox AndWordList
Try To fix ProgressBar
2019-02-04 15:41:54 +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 52f7c6dc0c visibility create function scanIfChildsOfCompositeFieldHasVisibleItems
fix style delete buttons
fix AutoComplete copnonnent get from Url to external resorsis
multiplisity model clone for mulitiplicity
2019-01-31 12:29:35 +02:00
Diamantis Tziotzios b460d35f7e visibillity rule changes 2019-01-29 09:47:50 +02:00
Diamantis Tziotzios 196435d069 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring
# Conflicts:
#	dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.html
#	dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-composite-field/form-composite-field.component.html
#	dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-composite-field/form-composite-field.component.ts
#	dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-field/form-field.component.ts
#	dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.html
#	dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.ts
#	dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description-form.component.html
#	dmp-frontend/src/app/ui/misc/dataset-description-form/dataset-description-form.component.ts
#	dmp-frontend/src/app/ui/misc/dataset-description-form/visibility-rules/visibility-rules.service.ts
2019-01-28 15:51:33 +02:00
Diamantis Tziotzios cdba456c1d dataset dynamic form visibility service changes 2019-01-28 15:47:31 +02:00
Diamantis Tziotzios 7a60c3a435 dataset profile editor fix delete section in section
dataset profile fix validation for save
2019-01-28 14:18:48 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00