Konstantina Galouni
4a6d39d4e9
1. landing-utils.css: Deleted .landing-background-default-color (replaced in html with uk-background-default). 2. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Updates and fixes for redesign. a. #graph_and_feedback outside margins and checks (invisible when no info). b. [Bug fix] margin-top of center column fixed (uk-sticky-placeholder was adding space). c. [Bug fix] Show again right sidebar when screen becomes medium+. d. [Bug fix] Added grid in labels. 3. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts: Added ResizeObserver and updated how graph_offset is calculated | Added graph_height field to set margin-top of center column. 4. project.component.ts: In getFileNameType() use OpenaireEntities. 5. organization.component.ts: a. In contentTypes field added type file names from OpenaireEntities b. Added field contentFileName. c. Added field shouldSticky and observer for "bottom" to stop sticky title & tabs when bottom is in viewport. 6. dataProvider.component.ts: Added field "provenanceUrls" and method "getProvenanceUrls()" to flatten all urls from dataProviderInfo.provenance. |
||
---|---|---|
.. | ||
e2e | ||
src | ||
.browserslistrc | ||
README.md | ||
angular.json | ||
package.json | ||
routes.ts | ||
server.ts | ||
static.paths.ts | ||
tsconfig.json |
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.