Konstantina Galouni
7b629ca7a8
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. |
||
---|---|---|
e2e | ||
src | ||
.browserslistrc | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
README.md | ||
angular.json | ||
package.json | ||
prometheus.ts | ||
server.ts | ||
tsconfig.json |
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.