Go to file
Konstantina Galouni 7b629ca7a8 [Library | develop & Eosc Explore | develop]: Added font-family "Inter" to align with Marketplace | Updated how back button "Go to search" is build - combine referrer and the new url parameter "pv", which is expected to have the previous url path and params.
1. /assets: Added /media/fonts/inter folder with the "Inter" font-family.
2. eosc-custom.less: Override the default font family to use 'Inter', sans-serif.
3. routerHelper.class.ts: Added method "addQueryParam()" to add a query parameter in already existing or not object with parameters.
4. search-tab.component.ts & searchResult.component & projects-in-modal.component.ts & result/deletedByInference/deletedByInference.component.ts & organization/deletedByInference/deletedByInference.component.ts: Added @Input() prevPath: string = ""; and pass it to the appropriate children components.
5. result-preview.component & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Added @Input() prevPath: string = ""; and method "addEoscPrevInParams()" and call it when building queryParams of internal links.
6. metrics.component.ts: Added @Input() prevPath: string = ""; and use it when building internal urls.
7. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts:
   a. Added fields public referrer: string; and public prevPath: string;
   b. Read "pv" url property and get referrer.
   c. Added methods "addEoscPrevInParams()" and "eoscBackLink()".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html:
   a. Update "Go to Search" back link.
   b. Call "addEoscPrevInParams()" method when building queryParams of internal links.
   c. Pass "prevPath" to the appropriate children components.
2023-04-20 20:06:53 +03:00
e2e [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
src [Library | develop & Eosc Explore | develop]: Added font-family "Inter" to align with Marketplace | Updated how back button "Go to search" is build - combine referrer and the new url parameter "pv", which is expected to have the previous url path and params. 2023-04-20 20:06:53 +03:00
.browserslistrc [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
.gitignore Merge remote-tracking branch 'origin/angular-13' into angular-14 2022-10-04 15:50:41 +03:00
.gitmodules initial commit for new-theme branch 2022-04-26 17:19:38 +03:00
CHANGELOG.md [EOSC Explore | develop]: Updated CHANGELOG.md and changed version to 2.0.0 (used to be 1.1.0). 2023-03-27 16:47:25 +03:00
README.md Updated "README.md" 2023-02-02 10:29:26 +01:00
angular.json [Eosc Explore]: angular.json: Updated optimization configuration to set "inlineCritical": false. 2022-10-03 15:09:24 +03:00
package.json [EOSC Explore | develop]: Updated CHANGELOG.md and changed version to 2.0.0 (used to be 1.1.0). 2023-03-27 16:47:25 +03:00
prometheus.ts [Aggregator | Trunk]: Upgrade to angular 11 2021-07-14 11:47:56 +00:00
server.ts Disable inline critical css in server.ts 2022-10-03 12:38:01 +03:00
tsconfig.json Update angular core, cli and submodules to version 14 2022-09-23 16:32:02 +03:00

README.md

EOSC EXPLORE

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

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.