Go to file
Konstantina Galouni 1530ce60ec [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter
1. styles.less: Renamed from styles.css and added imports of less files and portal-custom.css (to be updated).
2. angular.json: In styles configuration added styles.less.
3. index.html & beta/index.html: In beta badge, used background instead of background-color to css rules.
4. portal-custom.css: Added rule for .search-form to inherit color in background.
5. searchFields.ts:
   a. Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources refine filter "Type".
   b. In method "getResultAdvancedFields()" return always RESULT_ADVANCED_FIELDS without excluding "eoscifguidelines".
6. datasourcesHelper.class.ts: Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources queries and used updated type names "Research Entity Registry" (old "Registry") and "Journal Archive" (old "Journal archive").
7. cache-interceptor.service.ts: Updated cachingRequests array, using new "eoscdatasourcetype" and its values.
8. dataProvider.component.html && result-preview.component.html: Do not add hardcoded compatibility label "Not yet registered" and updated checks.
9. resultLanding.service.ts & parsingFunctions.class.ts: Parse resultLandingInfo.eoscSubjects only by "eoscifguidelines" field not "subjects".
10. searchFilter.component.ts: [Bug fix] In Access filter, fixed bug in view all, when clearing the preselected value.

* Do not forget to add in package.json in devDependencies, "@types/express-serve-static-core": "4.17.28"
2022-09-30 14:51:00 +03:00
e2e [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
src [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter 2022-09-30 14:51:00 +03:00
.browserslistrc [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
.gitignore [Aggreagator]: Remove clean-library. Add gitignore. Add gitmodule 2021-07-19 17:32:59 +03:00
.gitmodules initial commit for new-theme branch 2022-04-26 17:19:38 +03:00
CHANGELOG.md CHANGELOG.md file added 2022-09-29 11:48:43 +03:00
README.md [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
angular.json [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter 2022-09-30 14:51:00 +03:00
package.json [Eosc Explore]: Removed special files for eosc and configurations for aggregator (eosc was separated from aggregator to this dedicated project). 2022-08-08 17:49:07 +03:00
prometheus.ts [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
server.ts [Eosc Explore]: Removed special files for eosc and configurations for aggregator (eosc was separated from aggregator to this dedicated project). 2022-08-08 17:49:07 +03:00
tsconfig.json [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00

README.md

Aggregator

This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.

Install packages

Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.

Development server

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

Build - CSR

Use the npm run build-dev for a development build.
Use the npm run build-beta for a beta build.
Use the npm run build-prod for a production build.

Build - SSR

Use the npm run build:ssr-dev for a development build.
Use the npm run build:ssr-beta for a beta build.
Use the npm run build:ssr-prod for a production build.

Run SSR

npm run serve:ssr will run the last server build.

Webpack Analyzer

In order to analyze bundle size you can run npm run webpack-bundle-analyzer

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.