-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(lib): add translatable as part of the plugin payload #360
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
6eecfb9
to
d24fb14
Compare
I need to check it, however I haven't changed anything that would affect the templates, maybe it has something to do with the origin feature where messaging only works for two specific domains? |
Our test helper is using the sandbox origin, though 🤔
Let me know if you need help! |
You are absolutely right @eunjae-lee. I think I have found the cause of this :) looking at it now |
@eunjae-lee I made an addition to Fixing this issue, made me think that maybe some validations are missing in regards to |
Ahhh... okay, so Storyfront already has been sending translatable in the payload. We made the change on the SDK side, but actually it was not feature-parity with the container implementation of the test helper. Oh then, this leads to the fact that we still have two different implementation of container (the test helper and the sandbox), and when we extract the implementation and reuse it, we could write proper tests for better validation. In the meantime, do you have any idea how to improve this at the current stage? (but feel free to skip if not) |
I agree with you @eunjae-lee it would be much clearer if the container and tests shared this functionality, I will create a ticket for it (if we do not already have one). I think there is not much more we can do at this point, just to keep it in the back of our minds when reviewing such changes. |
What?
Library
Added new property to the plugin.data object called
translatable
. This is a field setting that can be adjusted by the content editor and came in as a feature request from a customer.Sandbox
In order to make the local development easier, sandbox was extended with a checkbox 'Translatable' where the user can manipulate the new property accordingly.
Documentation
You can review the Documentation updated here.
Open Tasks
Why?
JIRA: EXT-2225