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

✨ Sending message to iframe for theme switching #4951

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

ignapas
Copy link
Contributor

@ignapas ignapas commented Oct 30, 2023

What do these changes do?

Use postMessage to send a formatted message to the iframe 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

@ignapas ignapas added t:enhancement Improvement or request on an existing feature UI/UX labels Oct 30, 2023
@ignapas ignapas self-assigned this Oct 30, 2023
Copy link
Member

@pcrespov pcrespov left a 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

Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ignapas ignapas requested review from pcrespov and GitHK October 30, 2023 16:08
@ignapas ignapas enabled auto-merge (squash) October 30, 2023 16:09
Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codeclimate
Copy link

codeclimate bot commented Oct 31, 2023

Code Climate has analyzed commit 5a2a7a1 and detected 0 issues on this pull request.

View more on Code Climate.

@ignapas ignapas merged commit 04928bd into ITISFoundation:master Oct 31, 2023
47 checks passed
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Nov 23, 2023
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:enhancement Improvement or request on an existing feature UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants