explore-services/explore
Konstantina Galouni 9611021a55 [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls.
1. dataProvider.component.html & project.component.html & resultLanding.component.html: [Bug fix] Updated checks for usage counts iframes and changed the order they appear (first views, then downloads).
2. dataProvider.component.ts & project.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] Updated parsing of dataProviderInfo.measure.counts when querying external usage counts api.
3. resultLanding.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] In bipFrameUrl, when environment == "beta", add "&src=beta" parameter.
4. orcid-work.component.ts:
   a. [Bug fix] Updated disabled class checks, to enable orcid buttons in search too when there are identifiers.
   b. When loading - action is in progress, show loading icon next to the label.
   c. In my orcid links page: renamed "Add to ORCID" to "Claim" and "Delete from ORCID" to "Remove".
5. newSearchPage.component.html: [Bug fix] Updated checks for "filters" floating button in mobile/ small screens.
6. Added method "detectChanges()" to be called by html.
7. navigationBar.component.html: Updated placeholder of search-input to align with the generic search form (Home page).
8. ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local.
2023-05-19 14:37:23 +03:00
..
e2e [Explore-Service]: Update to angular 11. Delete branches 2021-07-14 15:41:12 +00:00
src [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls. 2023-05-19 14:37:23 +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 [Explore | angular-14]: angular.json: Updated optimization configuration to set "inlineCritical": false. 2022-10-03 16:22:08 +03:00
package.json Update Uikit version to 3.13.10. Update library and theme 2023-05-12 17:29:13 +03:00
routes.ts [Explore | Trunk]: Add new routes to prometheus 2020-04-02 09:21:18 +00:00
server.ts Disable critical inline css in server.ts 2022-10-03 12:40:35 +03:00
static.paths.ts Clean up uoa-services-portal/trunk 2018-12-13 12:31:33 +00:00
tsconfig.json [Explore & Library | explore-redesign]: First update for direct linking according to redesign. 2023-02-15 23:56:16 +02: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.