explore-services/explore
Konstantina Galouni 5d21dde264 [Library]: Fixes (major: Parsing of organizations in result landing) & Addition of "FOS" and "SDGs" in result refine filters and result landing pages.
1. searchFields.ts: Added fos & sdg refine filters for research results.
2. resultLandingInfo.ts: Added string arrays "fos" and "sdg".
3. HelperFunctions.class.ts: Added method for sdg sorting (splits value, keeps only number before dot and compares numerically).
4. searchResearchResults.service.ts: [Bug fix] when parsing "dateofacceptance", stringify it only if it has a value.
5. searchFilter.component.ts: When sorting filters, sort differently SDGs.
6. resultLanding.service.ts:
	a. [Bug fix] Fix in parsing subtitle.
	b. [Bug fix] Parsing of "Related organizations" was accidentally deleted when parsing of relations changed.
	c. Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
7. resultLanding.component.ts:
	a. [Bug fix] Do not make call for opencitations (deprecated).
	b. Updated method "hasPrimaryInfo()": Description is now array and added checks for organizations.
8. resultLanding.component.html: Display of "FOS" and "SDGs" separately from subjects.
9. showPublisher.component.ts: [Bug fix] Remove from html name of developer!
10. parsingFunctions.class.ts: Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
11. metrics.component.ts: [Bug fix] Default value of "metricsClicked" should be false.
2022-03-15 23:31:10 +02:00
..
e2e [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
src [Library]: Fixes (major: Parsing of organizations in result landing) & Addition of "FOS" and "SDGs" in result refine filters and result landing pages. 2022-03-15 23:31:10 +02:00
.browserslistrc [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
README.md [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
angular.json SEO - accessibility: more changes for accessibility, new manifest file 2021-08-11 13:59:50 +03:00
package.json SEO: enable no-index filter for poor content 2021-10-04 13:20:18 +03:00
routes.ts [Explore | Trunk]: Add new routes to prometheus 2020-04-02 09:21:18 +00:00
server.ts [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
static.paths.ts Clean up uoa-services-portal/trunk 2018-12-13 12:31:33 +00:00
tsconfig.json [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00

README.md

Explore

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:4300/. 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-test for a test 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-test for a test 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.