hubmapconsortium / hra-ui

HRA UIs Monorepo (includes HRA Portal, EUI, RUI, ASCT+B Reporter, and more)
https://hubmapconsortium.github.io/hra-ui/
MIT License
3 stars 2 forks source link

Production RUI is showing debug bounding boxes #420

Closed bherr2 closed 1 week ago

bherr2 commented 3 weeks ago

When using the RUI from the new /ui or /ui--staging directories, collision bounding boxes show. This is due to the code being built without the production environment being set when building. You can see this at https://apps.humanatlas.io/api/rui/ which uses the RUI built here (the official one still uses the ccf-ui build). This is what turns the bounding boxes on: https://github.com/hubmapconsortium/hra-ui/blob/main/apps/ccf-rui/src/app/core/store/scene/scene.state.ts#L63-L64. I'm not proficient with the NX setup, so @axdanbol will need to look into it.