-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance @site
endpoint to include site bootstrap information
#1866
Comments
We have some of that information already available on the
The names are the same as in the registry. |
Right, another alternative is to complement the |
Important reminder for Intranets: the @site endpoint should be accessible even when the portal root View permission requires authenticated user. |
@sneridagh IMO this is exactly what the
Unlike content extenders though, we only need this data on the SSR load, and not when content is loaded via the client-side router. |
@site
endpoint to include site bootstrap information
From discussion with @sneridagh today:
|
Background: We need an endpoint that provides the required information to bootstrap the UI. This information now it's "configured" hardcoded into the Volto config object.
We have to make an exhaustive list but it includes:
...
I've been giving a thought on how this initial call should work, and given the initial data acquire architecture in Plone 7, it will be convenient that it has the form of a content extender, so we can include this information along with the initial SSR data. The endpoint can have the
@bootstrap
name, as a suggestion.Feedback?
/cc @tisto @davisagli @ericof @pnicolli @plone/volto-team
The text was updated successfully, but these errors were encountered: