argos/dmp-frontend
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
..
e2e no message 2018-05-28 12:50:42 +03:00
src Description boxes in admin forms replaced with rich text editor <angular-editor>. 2021-10-12 18:14:22 +03:00
.browserslistrc upgrade to Angular 12 2021-09-24 21:52:14 +03:00
.dockerignore no message 2018-06-27 13:29:21 +03:00
.editorconfig rxjs refactor 2018-11-27 19:33:17 +02:00
.gitignore no message 2018-05-28 12:50:42 +03:00
Dockerfile ci changes 2021-01-22 10:32:07 +02:00
Dockerfile.CI ci changes 2021-01-22 10:32:07 +02:00
README.md no message 2018-05-28 12:50:42 +03:00
angular.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00
mime.types Improve self deployment 2020-04-27 16:21:03 +03:00
nginx-custom.conf Introduced Facet Search Component On Dataset Public Listing 2018-10-05 09:56:50 +03:00
nginx.conf Improve self deployment 2020-04-27 16:21:03 +03:00
nginx.conf.CI ci changes 2021-01-22 10:32:07 +02:00
package.json Description boxes in admin forms replaced with rich text editor <angular-editor>. 2021-10-12 18:14:22 +03:00
protractor.conf.js rxjs refactor 2018-11-27 19:33:17 +02:00
start_nginx.sh ci changes 2021-01-22 10:32:07 +02:00
tsconfig.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00
tslint.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00

README.md

DmpFrontend2

This project was generated with Angular CLI version 1.7.4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.