-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support for Integration Fields #903
Comments
Hi! Sorry for the inconvenience. At the moment, we are not able to provision Integration Fields from SliceMachine, which is why the form field does not exist. I'll mention it to our PMs today and see if we can find a middleground! |
Hi @hypervillain thanks for the response! So yeah the middle ground I suppose would be that a user sets up the integration field directly in prismic, and then slice machine just offers a form field to use that integration field in some slice or custom type via the schema shared above. A question - in the scenario that this is something we agree to do, what are the chances that I can do the implementation of it? I've been using slice machine for some time now, really interested in contributing to it 🙂 |
I see |
Hi, @NickSchmitt that is true since the integration field widget is not known by Slice Machine UI, but I confirm that the model is accepted and you can push it to your page builder. This is of course something that we will fix when we start working on the topic, but I can't provide an ETA now. I hope you understand. Best, Côme. |
Is your feature request related to a problem? Please describe.
I've often needed to use Integration Fields (e.g. shopify fields or custom ones) but slice machine does not provide a field out of the box to set up one. I've been getting around this issue up till now by manually editing the relevant model.json and adding the integration field config there before pushing the model to prismic.
Describe the solution you'd like
I would like there to be a field for setting up Integration fields. E.g. where you a user can select fields like link, key text, rich text, and so on, there should be an option for integration fields. It will take
catalog
,label
, andplaceholder
properties in the UI and construct a property in the relevantmodel.json
like so:Describe alternatives you've considered
At the moment I don't think there are any other alternatives if you're primarily using slice machine to build all your slices. Only one I've discussed above is a kind of hack where you edit the
model.json
yourself before pushing the schema to prismic.Additional context
I'm more than willing to take this up and add this feature in. If this is deemed reasonable and we have a green light on implementing this feature, I'd like to work on it.
The text was updated successfully, but these errors were encountered: