Closed jbusecke closed 7 months ago
I think this would need to happen on whichever repo is building the vercel site? If there is a way to do it from here, that'd be awesome tho!
With the addition of previews in PR #89, we should now be able to load the catalog page and point to different catalogs for previewing. Whenever a user opens a PR, we create a "deployment" that points to the catalog version in the pull request branch. To access this deployment, click on the View deployment button. Below is a screenshot of the button:
For instance: https://leap-data-catalog.vercel.app/?catalog=https://raw.githubusercontent.com/leap-stc/data-management/export-pangeo-forge-api/catalog/datasets/consolidated-web-catalog.json points to the catalog version from https://github.com/leap-stc/data-management/pull/74
Cc @jbusecke / @katamartin for visibility
It would be really neat if there would be a preview of the catalog from a PR, so that users do not have to wait for a merge and open another PR to fix things.
@andersy005 this is not a high priority, but just wondering what you think about this?