usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
12 stars 10 forks source link

Feature/collection citation #342

Closed chuanlin2018 closed 4 months ago

chuanlin2018 commented 4 months ago

This checkin modified citation text to use facilitators when there is no author in the author list for collections. If no facilitator, point of contact will be used.

This version is using the fake backend to get taxonomy data for the taxonomy tree view.

To test, turn on the fake backend in app.module.ts and run it locally.

URL: Forensics: http://localhost:4200/lps/pdr0-0001 CHIPS Metrology: http://localhost:4200/lps/pdr0-0002 NIST: http://localhost:4200/lps/5887178FE62C46F8E0531A57068103631858

To change test data, modify test1(Forensics) or test2(CHIPS Metrology) in environments.ts.

To change taxonomy tree view sample data: Config: Collection config file: assets/site-constants/collections.json Sample data: asset/sample-data/semiconductor-realdata.json Sample data: To change collection sample data, adjust line 19 in app/_helpers/fakeBackendInterceptor.ts: const sampleCollection: any = require('../../assets/sample-data/semiconductor-realdata.json');