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
Dp/ccdm/support inline bodysize viewport annotations #7168
Dp/ccdm/support inline bodysize viewport annotations #7168
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.
Reviewable status: 2 unresolved discussions, 0 of 1 LGTMs obtained (waiting on @ptdatkhtn)
flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellRegistry.java, line 182 at r1 (raw file):
}); getAnnotations(Viewport.class).forEach(viewport -> {
Viewport only should happen once, although compiler would fail when adding multiple annotations I don't know what happens if class is annotated, but also super class
flow-tests/test-ccdm/src/main/java/com/vaadin/flow/ccdmtest/AppShell.java, line 10 at r1 (raw file):
@Meta(name = "foo", content = "bar") @PWA(name = "My App", shortName = "app") @Viewport(Viewport.DEVICE_DIMENSIONS)
If you add this you need some assertions in the test class for checking that it happens.
See IndexHtmlRequestHandlerIT.indexHtmlRequestListener_openRootURL_shouldDynamicMetaContent
…ss for checking it happens in flow tests
flow-tests/test-ccdm/src/main/java/com/vaadin/flow/ccdmtest/AppShell.java, line 10 at r1 (raw file): Previously, manolo (Manuel Carrasco Moñino) wrote…
Done. |
flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellRegistry.java, line 182 at r1 (raw file): Previously, manolo (Manuel Carrasco Moñino) wrote…
Done. |
flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellRegistry.java, line 188 at r2 (raw file): Previously, vaadin-bot (Vaadin Bot) wrote…
Done. |
SonarQube analysis reported 1 issue Note: 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.
Reviewed 3 of 5 files at r1, 2 of 3 files at r2, 1 of 1 files at r3.
Reviewable status: 1 unresolved discussion, 1 of 1 LGTMs obtained (waiting on @vaadin-bot)
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.
Reviewable status: 1 unresolved discussion, 1 of 1 LGTMs obtained (waiting on @vaadin-bot)
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.
Dismissed @vaadin-bot from a discussion.
Reviewable status: complete! all discussions resolved, 1 of 1 LGTMs obtained
fixes support @ViewPort annotations on an AppShell class #7171
This change is