Commit Graph

63 Commits

Author SHA1 Message Date
Konstantina Galouni b7d622e330 #7225: In dataset template, rename "users" to "editors" and add hint | #7226: In dataset templates, default descending sorting by "created".
1.  dataset-profile-listing.component.html: #7226: In <mat-table> added matSortActive="created" matSortDirection="desc".
2. dataset-profile-editor.component.html: #7225: Added hint in section 1.4 to make prominent when the new editors will receive an informative email.
3. assets/i18n/: #7225: In every language file, renamed "users" to "editors" (DATASET-TEMPLATE-USERS, DATASET-TEMPLATE-REMOVE-USER, DATASET-TEMPLATE-NO-USERS-YET, DATASET-TEMPLATE-VALIDATE-AND-ADD-USER) and added DATASET-TEMPLATE-USERS-HINT.
2021-11-30 12:21:03 +02:00
Konstantina Galouni 03009edaa3 Use <rich-text-editor-component> when html editor is needed - replace in dataset template descriprion, section & question descriptions.
1. dataset-profile-editor-section.component.html & dataset-profile-editor.component.html & dataset-profile-editor-composite-field.component.html: Replace <angular-editor> with <rich-text-editor-component> (custom common component when rich text editor is set).
2. dataset-profile-editor-section.component.ts & dataset-profile-editor.component.ts & dataset-profile-editor-composite-field.component.ts: Remove AngularEditorConfig (this is set in RichTextEditorComponent).
3. dataset-profile.module.ts: Instead of AngularEditorModule, import RichTextEditorModule (common component where rich text editor is set).
4. styles.scss: Moved css for angular editor to dedicated css file (src/app/library/rich-text-editor/rich-text-editor.component.scss) and keep here only "form-field-subscript-wrapper" class.
2021-11-01 15:10:00 +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 52c26cd864 Admin Dataset editor guard fix. 2021-09-09 09:09:27 +03:00
Kristian Ntavidi 1be8e8e8f9 Fix side actions on template editor z-index issue 2021-07-23 14:27:40 +03:00
Kristian Ntavidi 501a7175e8 Users on template editor 2021-07-23 14:16:59 +03:00
Kristian Ntavidi d8a2ad281c Animations on admin template editor (partial) 2021-07-23 13:16:40 +03:00
Kristian Ntavidi 4c22799f91 Bug fixes on dataset templates editor Admin (partial)
* Make use of observables instead of setTimeouts
* Remove not nessecary calculations
2021-07-23 11:23:35 +03:00
Kristian Ntavidi 1d397d28cf Add ability to scroll on table of contents (dataset templates admin) 2021-07-21 16:41:38 +03:00
Kristian Ntavidi ee0c7df170 Pt translations on dataset-profiles-editor / listing 2021-07-15 17:12:17 +03:00
Kristian Ntavidi c6b8ad5639 Adrim template editor. Save and discard buttons on the left side. 2021-04-14 09:57:30 +03:00
Kristian Ntavidi 66d9f41081 Admin template editor. Move save/delete/update buttons on top. Add "Back to top" button. 2021-04-13 16:27:29 +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 d038f42021 Users listing component. Fix user roles chips 2021-04-12 12:05:12 +03:00
Kristian Ntavidi 23d664a48b Admin Template Editor: table styling. 2021-04-09 17:05:01 +03:00
George Kalampokis dd88167574 Improve names and styling for dataset template users 2021-04-08 12:55:53 +03:00
George Kalampokis bc3c8b44d2 Add option to add or remove users from Dataset Templates 2021-04-07 19:03:22 +03:00
Kristian Ntavidi 450dbb519f Dataset profile editor. Fix: final preview in step does not affect individual previews in step 2. 2021-04-05 12:06:14 +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 d667d574af Dataset Profile editor. Create section button on page component. Dataset profile listing: Add Download Option. Minor ui fixes. 2021-03-30 11:36:09 +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 12f9e9ede9 Dataset Profile Editor. Move validators from tempate to models. (Fixing issue of form classified as valid when not all formcontrols are rendered.) 2021-03-27 19:52:53 +02:00
Kristian Ntavidi 5e77f78a1c Dataset Profile Editor. Table of contents numbering drag and drop fix. Fix issues in dragging as well. 2021-03-23 12:39:04 +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 f6f5fd15ae Dataset Profile Editor. Ui navigation fix (clip-path instead of translateX) Use backend service to create previewForm. 2021-03-17 16:29:02 +02:00
Kristian Ntavidi 4d6e4fb2cd Dataset ProfileEditor Validator fixes. More validators added. Table of contents mark invalid entries. Guided tour fix. Fix ng-deep leaks from user listing. 2021-03-12 18:19:51 +02:00
Kristian Ntavidi 51228df7d5 Dataset Profile Editor. UI fixes. Stepper buttons animations. Alignments. RadioBox, Other, Select have emptyList Vaditator(custom). Numbering fix in table of contents when drag and drop. 2021-03-08 11:24:30 +02:00
Kristian Ntavidi 938e3b9554 Dataset Profile Editor. Ui fixes. Minimizing ng-deep leaks. Sidenav service. Side nav folds when create-edit template. 2021-03-05 11:05:09 +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
Kristian Ntavidi 70a99f0d23 Dataset Profile Editor. Error messages before each step 2021-03-01 18:42:18 +02:00
Kristian Ntavidi 081995e243 Dataset Profile editor. Drag and drop navigation table of contents. 2021-03-01 11:28:27 +02:00
Kristian Ntavidi da7f91df96 Dataset Profile Editor. Pipe static text to translation. 2021-02-25 17:53:58 +02:00
Kristian Ntavidi ddd12cbba8 Dataset Profile Editor. Drag and drop with dragula. 2021-02-25 14:17:47 +02:00
Kristian Ntavidi a4db1973d3 Dataset Profile Editor. Fieldsets same level as Section Details. Show all fieldsets in one page collapsed. 2021-02-24 16:56:14 +02:00
Kristian Ntavidi 3dde61a379 Dataset Profile Editor. Same level drag n drop on table. UI fixes 2021-02-19 16:35:14 +02:00
Kristian Ntavidi 96ebf7c0d0 Dataset profile editor. Ui fixes. mat-stepper header fix and preview fixes. 2021-02-18 17:13:56 +02:00
Kristian Ntavidi a8074f6239 Dataset profile editor. Minor ui fixes. Languages fixes and visibilities 2021-02-17 19:44:50 +02:00
Kristian Ntavidi dd2db4ce1f Dataset profile editor. Field Preview Fixes. Summary preview supports visibility rules. Minor UI fixes. 2021-02-17 18:39:07 +02:00
Kristian Ntavidi 8579071cf7 Dataset profile editor. Preview step basic implementation. 2021-02-15 19:16:48 +02:00
Kristian Ntavidi 7445ec5042 Dataset profile editor. Dynamic progress bar and confirmation before delete 2021-02-12 16:27:35 +02:00
Kristian Ntavidi 35eb42e631 Redesign dataset profile editor changes. Basic UI outline and functionality. 2021-02-12 13:23:39 +02:00
Diamantis Tziotzios 6470a8e6a6 more dataset profile changes 2021-02-04 12:22:52 +02:00
Kristian Ntavidi 1614945185 More Dataset Profile editor changes 2021-02-04 10:33:03 +02:00
Diamantis Tziotzios 8e93a02019 dataset profile editor redesign - initial commit 2021-02-03 12:21:31 +02:00
George Kalampokis 9a9fed37ce Add Validation button for the Dataset Template Editor 2020-09-22 11:27:10 +03:00
George Kalampokis 8e473d1a9f On the Dataset Template Editor, distance the delete button in the sections from the expand/collapse button 2020-08-05 11:20:02 +03:00
George Kalampokis 78ee4673ee Add ExtraProperties for DMP and language for Dataset Template 2020-06-03 12:13:31 +03:00
gkolokythas 1a160edece Adds "Update" button on finalized "Dataset Template". 2019-11-22 17:06:47 +02:00