window.ss.store is undefined. I do see one under
window.ss.apolloClient - is that the correct one to use ?
Is the global
http://window.ss meant to contain the store? I’m looking @ https://docs.silverstripe.org/en/4/developer_guides/customising_the_admin_interface/reactjs_redux_and_graphql/#bootstrap-and-mount and I can’t see it in my window 😕
ok, no probs. thanks for your help
I’m coming in a bit blind tbh - I’ve not done anything with react in SS before
I was just looking at the bundle size and it’s ~120kb, seems a little large. Is there a way to make a lightweight component?
I’m starting a custom field for the elemental module. Docs are a little vague, but it does point to
silverstripe-elemental-bannerblock as a starter.
Am I right in reading that it’s pulling in it’s own version of react + libraries + component?
An image upload field on a dataobject with no versioning. Uploading an image, and pressing ‘apply changes’ leaves the unpublished message on the image. Refreshing the page shows that the image is actually published
nvm, it looks like it’s a bug in the UI. It still shows draft over the image after pressing ‘apply changes’. You need to refresh the page to see that the image is published
Has there been a recent change with $owns and dataobjects that don’t have the versioning extension? I’m sure that my images were being published on those dataobjects, but it seems like that’s not the case now?