-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ Sending message to iframe for theme switching #4951
Conversation
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.
Pls solve issues detected by github actions
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.
👍
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.
👍
Kudos, SonarCloud Quality Gate passed! |
Code Climate has analyzed commit 5a2a7a1 and detected 0 issues on this pull request. View more on Code Climate. |
What do these changes do?
Use
postMessage
to send a formatted message to theiframe
whenever the theme is switched and after it is loaded.The message has the following format:
osparc;theme=<theme_name>
Related issue/s
How to test
Manually by changing the theme and seeing it arriving to the iframed UI. S4L should react to this after the latest version is deployed (3.1.10 or 3.1.11)
DevOps Checklist