Commit Graph

248 Commits

Author SHA1 Message Date
Diamantis Tziotzios df609fd359 #501 bug fix 2022-02-04 15:31:19 +02:00
argirok 938f98100f Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-02-04 10:05:32 +02:00
Diamantis Tziotzios 85859ce078 visibiliity service performance improvements 2022-02-03 20:06:27 +02:00
argirok 858fa3ee71 #7326 - static APIs
1. Rename of "Registries" to "Metadata"
2. add apis for taxonomy, licenses, publications
3. change data repositories: from querying all registered to all of type data repository
4. add separate APIs for journals and pub repositories
2022-01-21 15:44:51 +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
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 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
Kristian Ntavidi e46de79ec2 #7133 Multiplicity visibility rule fix
* Inherit visibility value from clone reference
2021-11-02 12:28:55 +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 eeb5479a98 form-composite-title.component.html: [Bug fix] Show "view more/less" functionality only if there is extendedDescription. 2021-10-15 13:56:45 +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
Kristian Ntavidi 74ec2126f0 Visibility Rules fix
* Reduce sourceValue visibility value based on logic.
2021-10-06 16:32:06 +03:00
Kristian Ntavidi 907ad14269 #7028 Text area fields minRows defaults to 3 2021-10-06 12:25:44 +03:00
George Kalampokis 06364873ca Fix issue with unordered multiplicity fields 2021-09-27 18:11:55 +03:00
Kristian Ntavidi faeb7e0d62 improvement on computing ordinal on mutliplicity fields 2021-09-27 16:25:17 +03:00
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi d229189783 Visibility rule service refactor.
* Take into account other dependencies
* OR and AND logic support
2021-09-20 21:34:20 +03:00
Kristian Ntavidi b40e30ee60 Fix issue with visibility rules on multiplicity fields.
* Append new visibility rules on creation of multiplicity item
* Compute visibility rules for multiplicityItems on loading data (Researchers page)
2021-09-20 14:34:09 +03:00
Kristian Ntavidi ba865c9708 Dataset Editor (Researchers Page). Incrementing ordinals on multiplicity items. 2021-09-17 12:12:48 +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 f4591549c2 Admin Dataset Template Editor and Dataset profile editor UI improvemenets.
[Admin Template Editor]:
* Add question underneath each question and in the table of contents
* "Make conditional question" changed position
* Small restyles in required toggler and question preview component
* Input icons update
* Scrolling on top of question

[Dataset Editor]:
* Show asterisk on required fields

Pt language updates
2021-06-16 15:52:39 +03:00
Kristian Ntavidi 54b2661ebd Ui fixes.
* Fix issue on table of contents in dataset editor. Invalid fields that are hidden via visibility rules, are not computed in in the validity of the tocEntry.
2021-06-15 09:58:51 +03:00
George Kalampokis e615c403d3 Final fix over storing array of data from Datasets 2021-06-14 18:01:04 +03:00
George Kalampokis dcf88479bd Allow to store and retrieve combobox multivalues with commas 2021-06-14 14:21:27 +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 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 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 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 20a92bea9d Dataset Editor scrollspy on Guide Steps.Language text updates. 2021-04-08 18:29:08 +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 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 6e70071a16 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-04-05 12:07:33 +03:00
Kristian Ntavidi 9cab64b65e Dataset Profile Editor. Patch visibility rules for select multiList, Validator and DatasetIdentifier 2021-04-05 11:37:00 +03:00
Kristian Ntavidi ee1c09149e Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-04-01 18:59:00 +03:00
Kristian Ntavidi b04e2b3482 Dataset profile Editor. Ui fixes. Visibility Rules fix. 2021-04-01 18:57:23 +03:00
Kristian Ntavidi 2df5c6820a Dataset Profile Editor. Drag n drop fix on Import Template. Feedback messages on update/save template. Code cleanups. MultiAutoComplete Preview Fix. 2021-03-31 18:31:57 +03:00
Kristian Ntavidi a3572f92ed Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-30 17:56:51 +03:00
Kristian Ntavidi cc8c771ae5 Dataset profile editor. Ignore invalid data(if any) in previews. Fix Fieldset card changes height after the updated preview component is rendered . Update error messages.Now they use chapter-section namespace. 2021-03-30 17:47:35 +03:00
Kristian Ntavidi 94ecf92a09 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-29 18:44:14 +03:00
Kristian Ntavidi 7dac466f71 Dataset Profile Editor. Remove validate button. Toolbar next to fieldset.Update icons (most of them). Update texts(Quetions, sections and chapters). Add delete option on template listing. Preview Fieldset instead of each field(Enables multiplicity preview). 2021-03-29 18:42:55 +03:00
Kristian Ntavidi 41a1aeaf1f Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-22 19:17:25 +02:00
Kristian Ntavidi 427c04f631 Dataset Profile Editor. Individual preview (needs backend support).
Replace static text with language translation.
Fix scrolling behaviour.
Clean up some code in table of contents.
Patch drag and drop (instant drag) issue.
UI enhancements: validate button and marking on table of contents(Pages when dont have children)
2021-03-22 15:47:45 +02: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 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 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
Kristian Ntavidi efc882016b Dataset profile editor. Validators are added to prevent user from proceeding with empty array of options(radio box and select). Polishing UI. 2021-03-04 14:38:46 +02:00
Kristian Ntavidi 87b79c2049 Dataset profile editor. Minor ui visibility fixes. Table of contents can slide. 2021-03-03 12:13:29 +02:00
Diamantis Tziotzios ca0babc6af added property to dataset external autocomplete criteria 2021-03-03 11:14:43 +02:00
Kristian Ntavidi 35eb42e631 Redesign dataset profile editor changes. Basic UI outline and functionality. 2021-02-12 13:23:39 +02:00
George Kalampokis 3b00b76f19 Add option to make static dataset profile fields with autocomplete to have multiple values 2020-12-09 17:51:30 +02:00
apapachristou 142c9ab5ea Adds dots on all steps of datset editor table of content 2020-11-25 18:45:37 +02:00
apapachristou 0159baf8ed Fix style on dialog import dmp from file 2020-11-18 16:23:16 +02:00
apapachristou af849b6c36 Style fixes on user profile 2020-11-17 15:46:17 +02:00
George Kalampokis eae7f22f72 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-06 16:29:50 +02:00
George Kalampokis 2ff9b95fdf Made identifier validation field to work properly 2020-11-06 16:29:33 +02:00
apapachristou 0bd5afffe1 Fix: on save of datset, table of contents remains open 2020-11-06 12:42:31 +02:00
George Kalampokis da9872576e Initial commit for the new Dataset Template Field (identifier validator) 2020-11-05 18:20:37 +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
George Kalampokis baf4314a33 Fixed various bugs with the new Login system (prevent to send twice the login request with some providers) 2020-10-27 12:04:57 +02:00
George Kalampokis c8a163f4aa Refactor most login providers in order to work on window popups and add proper login support for the link new user 2020-10-26 18:18:26 +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 b8f3c5af70 with previous commit 2020-10-19 12:58:55 +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
apapachristou 20c607d88a Fixes style of dataset description form template 2020-10-07 18:28:53 +03:00
apapachristou 7cc584ac33 Fixes spelling of variable name 2020-10-07 13:14:19 +03:00
apapachristou 394fc15018 Fixes style of uppercase and bold subtitles on templates form 2020-10-05 17:58:44 +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 edd2a64fd7 Removes console.log 2020-09-23 10:29:47 +03:00
apapachristou 49c08f5061 Removes stepper from dataset description form 2020-09-23 10:21:26 +03:00
apapachristou 7897d9072d Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-23 10:19:09 +03:00
apapachristou 57defab591 Removes stepper from dataset description 2020-09-23 10:19:05 +03:00
George Kalampokis 040ffdc57e Fix issue with autocomplete field 2020-09-22 17:48:07 +03:00
George Kalampokis fed426e64b Fixed issue with visible rules when using multiple world list 2020-09-22 17:34:12 +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 da7fc0def3 Fixed various issues with DMP imports and exports (mostly RDA) 2020-09-15 13:21:22 +03:00
apapachristou b994d3a7a7 Switches button edit-clone at overview 2020-09-14 15:56:13 +03:00
George Kalampokis bc6193c7d7 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-11 14:29:50 +03:00
George Kalampokis b66fe982f5 Update Tags field with multiple autocomplete like in the dataset editor 2020-09-11 14:27:53 +03:00
George Kalampokis 4b87ab04e8 Allow Services to use tag if they have no source 2020-09-11 14:24:57 +03:00
apapachristou 45e5848956 Adds hover effects on login buttons and reverts error on form-composite-field 2020-09-11 12:19:31 +03:00
apapachristou 6bc03ccbfc Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-10 18:36:53 +03:00
apapachristou c0d3b471c0 Adds dashes on overview pages if fields are empty 2020-09-10 18:36:46 +03:00
George Kalampokis 5be674d07e Allow wordlist combobox type to have multiple values 2020-09-10 18:04:14 +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 e558c99404 Fixed issue with visibility rules not working 2020-09-10 11:27:04 +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
gpapavgeri bcbb9ba606 Adds custom panelClass in matDialogConfig Object for UserDialogComponent 2020-08-26 16:15:57 +03:00
apapachristou 10eccf89eb Adds dataset editor on dmp editor 2020-07-29 18:04:19 +03:00
gpapavgeri 1fd4c8e05f get user email from Principal fixed 2020-07-17 13:42:39 +03:00
gpapavgeri 3a2dcca4d3 minor changes in dmp-overview, dataset-overview & user-dialog components 2020-07-15 18:18:16 +03:00