Initialize navbar and defaultCatalog for static sites #2467
Labels
discussion required
requires a discussion before moving forward
navbar
Anything related to the navbar app
For static sites to use the chaise navbar, currently a
chaise-config.js
needs to be defined with all of the navbar related configuration properties OR achaise-config.js
with adefaultCatalog
to fetch achaise-config
annotation from the catalog object.When
chaise-config.js
is not defined, or the value fordefaultCatalog
is not defined properly, the navbar appears to be broken on static pages. This isn't an issue for chaise apps since chaise requires the catalog information to be present in the page url.Some ways we can try to resolve this
defaultCatalog
when it is not defined orchaise-config.js
is not defined:ermrest:registry
in catalog 0 (can be queried as anonymous on dev.derivacloudermrest:registry
that signifies the "default catalog"?"1"
as the default value fordefaultCatalog
?"0"
and suggest having achaise-config
annotation defined for that catalog when setting up the server?The text was updated successfully, but these errors were encountered: