explore-services/explore
Konstantina Galouni 0b53cea58a [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters.
1. dataProvider.component.ts: [Bug fix] Allow also ?pid url parameter, query accordingly and set canonicalUrl to use it in seoService and scema2jsonld.
2. dataProvider.component.html: Set canonicalUrl into URL of <schema2jsonld> | Use <landing-header> instead of <showTitle>.
3. dataProvider.service.ts: Set url for querying a datasource by pid (if ?pid in landing url param) and parse also the whole record, the objIdentifier and the relcanId.
4. landing-header.component.ts: Added @Input() isSticky: boolean = false; to set less margins when sticky.
5. resultLanding.component.html: Use <landing-header> instead of <showTitle>.
6. resultLanding.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
7. metrics.service.ts: Removed console.log.
8. searchDataproviders.service.ts: Added parsing for relcanId.
9. dataProviderInfo.ts: Added relcanId, objIdentifier, record.
10. result-preview.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
11. string-utils.class.ts: Renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
12. [SITEMAPS] extractUrlsFromSearch.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
13. newSearchPage.component.ts: [Bug fix]
   a. entityType for datasources is "dataprovider".
   b. Added service filter options only when entityType == "service".
2022-05-30 10:39:10 +03:00
..
e2e [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
src [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters. 2022-05-30 10:39:10 +03: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 Create new branch for explore new-theme. Initialize variables, css and angular.json 2022-03-30 13:01:55 +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.