-
Notifications
You must be signed in to change notification settings - Fork 169
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
Bring in reusable theme feature and tests #10197
Conversation
Adds a tests for checking that the document.css file is injected to the document scope and not injected to embedded element shadow root. Fixes #9552
Now there is a possibility to use the "documentCss" key in theme.json to inject npm css into the document rool level element. This is mostly for embedded web components as they do not target document by default Fixes #9533 * Use more targeted bookkeeping for globalCss Have a full map on where the global css has been injected to so that if we add for shadow roots we don't add to document, but we are able to add to other shadow roots. # Conflicts: # flow-server/src/main/java/com/vaadin/flow/server/AppShellRegistry.java # flow-server/src/test/java/com/vaadin/flow/server/startup/VaadinAppShellInitializerTest.java
The file-loader didn't handle otf extensions so having a otf font-face failed the build. Fixes #9683
Resolves #9585 # Conflicts: # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskCopyFrontendFiles.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskUpdateThemeImport.java # flow-tests/pom.xml
Add a reusable theme module for embedded tests. Add module to test using reusable theme from dependency with embedded application. Fixes: #9828 # Conflicts: # flow-tests/test-embedding/pom.xml
9bb34cb
to
12bdbfc
Compare
SonarQube analysis reported 50 issues Top 10 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
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.
One question
...g-reusable-theme/src/test/java/com/vaadin/flow/webcomponent/ApplicationThemeComponentIT.java
Show resolved
Hide resolved
This probably needs to be squashed ? Not all commits in history follow the messaage syntax |
Well they are as they were in master. |
It could be fixed by f-p but the release notes will need to be cleaned up a bit anyway so I don't think it matters so much |
part of #9983