argos/dmp-frontend
Konstantina Galouni 2715db7365 #8148 - Added paging functionality with load more/ less buttons in home page, for the existing 4 tabs - ordering and keyword are also added in the url and they are resolved on page reload.
1. i18n/: Added properties "GENERAL.ACTIONS.LOAD-LESS" and "GENERAL.ACTIONS.NO-MORE-AVAILABLE".
2. dashboard.component.html: Added aria-label on each <mat-tab> | Added on <mat-tab-group> bindings for [selectedIndex] and (selectedTabChange), to define the active tab.
3. dashboard.component.ts: Added field currentType: string = "recent"; | Set currentType by url params | Added method get indexFromCurrentType(), to return the active tab index.
4. drafts.component.html & recent-edited-activity.component.html & recent-edited-dataset-activity.component.html & recent-edited-dmp-activity.component.html: Added button "LOAD-LESS" and message "NO-MORE-AVAILABLE" to the end of the list.
5. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts:
   a. Added fields @ViewChild("...") resultsContainer, offsetLess: number = 0, hasMoreResults:boolean = true, page: number = 1 and @Input() isActive: boolean = false.
   b. Read url params, set offsets and query filters and update url.
   c. Renamed "loadMore()" to "loadNextOrPrevious()" and added parameter more: boolean = true.
2023-04-25 17:55:31 +03:00
..
e2e no message 2018-05-28 12:50:42 +03:00
src #8148 - Added paging functionality with load more/ less buttons in home page, for the existing 4 tabs - ordering and keyword are also added in the url and they are resolved on page reload. 2023-04-25 17:55:31 +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 dockerization 2022-09-13 10:35:56 +03: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 configurable list of languages 2023-02-11 14:38:13 +02:00
mime.types dockerization 2022-09-13 10:35:56 +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 #7680: Support SAML Authentication 2022-04-28 12:03:01 +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.