-
Notifications
You must be signed in to change notification settings - Fork 3
feat(lib): change preview dimension #463
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some improvements, questions and suggestions 🙏
...plugin/src/messaging/pluginMessage/pluginToContainerMessage/PreviewDimensionChangeMessage.ts
Outdated
Show resolved
Hide resolved
packages/field-plugin/src/createFieldPlugin/FieldPluginActions.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work @johannes-lindgren and @fernandacanto 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job and great addition @johannes-lindgren @fernandacanto 🔥 🔥
Tested in both Sandbox and Storyfront, and everything worked like a charm.

Investigating a possible bug a just found
What?
Jira issue: SHAPE-11026
PR for change in storyfront: https://github.com/storyblok/storyfront/pull/8231
Allow field plugins to change the preview dimension (mobile/tablet/desktop/custom)

How to test? (optional)