Skip to content
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

Possibility to edit complete data structure in Field Plugin Sandbox #337

Open
RoettingerJ opened this issue Jan 17, 2024 · 3 comments
Open

Comments

@RoettingerJ
Copy link

Is your feature request related to a problem? Please describe.
Currently the Field Plugin Sandbox only displays the content and the data.
I would suggest for a possibility to enter data.
Not a problem, but would help to develop plugins, that access content of the current story.

Describe the solution you'd like
The complete data structure (incl. content) should be editable and provided to the field plugin as storyblok would do it in real life.

Describe alternatives you've considered
Currently the data will be taken from an .env.local file and "simulated" that this data comes from stroyblok

@eunjae-lee
Copy link
Contributor

Hi @RoettingerJ thanks for reaching out to us.

If I understand your request correctly, do you want to have an actual (or simulated) payload of whole story within the Sandbox? I'm curious to hear your example / experience on how it could make difference in your workflow :)

@RoettingerJ
Copy link
Author

Initially it would be enough to have just a simulated payload that can be entered (or pasted in) manually.
It's used for manual testing the behavior of the plugin entering the first time (with no plugin specific data set) and the further times (when the user has changed data in the plugin)
To have an actual payload, that can be selected would make life easier - sure ;-)

@eunjae-lee
Copy link
Contributor

@RoettingerJ thanks for your input. We could improve field-plugin.config.js file to include a dummy story object :) I've just put it in our backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants