-
Notifications
You must be signed in to change notification settings - Fork 743
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
Doc: Navbar will hide when iframed and send its size to its parent #7744
Conversation
The build 39203 found UI Test snapshots differences: Details
|
fb8f717
to
de7c540
Compare
The build 39554 found UI Test snapshots differences: Details
|
GitHub Issue (If applicable): closes #
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Currently we pull the menu from the uno platform website and rebuild it at the top of the page to use it as a navbar. This means that every changes to the menu in the uno platform website has to be made in the doc also. It also means that changes made in the CMS might break the menu in the doc page. This makes changes to the menu harder than it should be.
What is the new behavior?
The doc will now be added as an iframe. The changes introduced makes it possible for the parent to know what size the iframe should be ; this makes the iframe responsive. It also removes the navbar, it will now use the same one as the rest of the website. It checks if the content is iframed first because it's hard to synchronize these changes with the website. This way the current behavior can continue until the changes are introduced in the website.
PR Checklist
Please check if your PR fulfills the following requirements:
Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)Validated PRScreenshots Compare Test Run
results.Other information
Internal Issue (If applicable):
https://dev.azure.com/nventive/UNO%20Marketing/_workitems/edit/236738