-
Notifications
You must be signed in to change notification settings - Fork 729
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
WIP: API review changes #9287
WIP: API review changes #9287
Conversation
- Make HierarchyRenderer.ExpanderState private - Add javadocs to HierarchyRenderer#setStyleNames
Reviewed 10 of 11 files at r1. client/src/main/java/com/vaadin/client/renderers/HierarchyRenderer.java, line 97 at r1 (raw file):
could perhaps mention that this only changes the settings, not actual active style names server/src/main/java/com/vaadin/data/provider/InMemoryHierarchicalDataProvider.java, line 54 at r1 (raw file):
Shouldn't this still be expressed in some way (also telling what are the limitations)? shared/src/main/java/com/vaadin/shared/ui/composite/CompositeState.java, line 21 at r1 (raw file):
should perhaps mention that this isn't really used on the client side, but rather CompositeConnector.getState() does some tricks to show the composition root component state Comments from Reviewable |
Reviewed 6 of 6 files at r2, 4 of 4 files at r3, 2 of 2 files at r4. Comments from Reviewable |
Reviewed 1 of 1 files at r5, 1 of 1 files at r6. server/src/main/java/com/vaadin/ui/Grid.java, line 3942 at r6 (raw file):
@SInCE as AFAIK these were exposed in 8.1 server/src/main/java/com/vaadin/ui/Grid.java, line 4002 at r6 (raw file):
@SInCE as above server/src/main/java/com/vaadin/ui/TreeGrid.java, line 293 at r5 (raw file):
(it might be good for this to be implemented by calling the method above to reduce duplication - not a blocker) Comments from Reviewable |
Review status: 19 of 21 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed. server/src/main/java/com/vaadin/ui/TreeGrid.java, line 95 at r7 (raw file):
Does the comment from the no-args constructor apply here as well? server/src/main/java/com/vaadin/ui/TreeGrid.java, line 106 at r7 (raw file):
Does the comment from the no-args constructor apply here as well? server/src/main/java/com/vaadin/ui/TreeGrid.java, line 119 at r7 (raw file):
Creates a TreeGrid Comments from Reviewable |
Reviewed 1 of 7 files at r2, 6 of 6 files at r8, 2 of 2 files at r11. client/src/main/java/com/vaadin/client/connectors/LocalDateRendererConnector.java, line 18 at r9 (raw file):
TRC of 8.0 is now in a different package, but we can't really move it. How many of the renderer connectors are in each of the locations? Comments from Reviewable |
c961beb
to
a636d42
Compare
Reviewed 2 of 5 files at r12, 3 of 4 files at r14. server/src/main/java/com/vaadin/ui/ItemCollapseAllowedProvider.java, line 34 at r14 (raw file):
(related changes might conflict with #9318) Comments from Reviewable |
Reviewed 2 of 5 files at r12. client/src/main/java/com/vaadin/client/connectors/LocalDateRendererConnector.java, line 18 at r9 (raw file): Previously, hesara (Henri Sara) wrote…
These seem to be a real mess for the old and new renderer connectors, and also e.g. ComponentRendererConnector is a part of the picture. Also, there are base two different base classes for the connectors which probably must not be moved as other renderers outside the framework may inherit them. Should probably really move all the concrete renderer connectors (or at least all the new ones) to a new package. client/src/main/java/com/vaadin/client/widgets/Grid.java, line 6230 at r14 (raw file):
(could also eliminate this now) Comments from Reviewable |
Reviewed 2 of 2 files at r10. server/src/main/java/com/vaadin/data/provider/AbstractBackEndHierarchicalDataProvider.java, line 43 at r14 (raw file):
(should have some comment or javadoc as what this is doing is not immediately obvious (concatenate non-conflicting own sort orders to the query sort orders?) Comments from Reviewable |
Review status: 23 of 32 files reviewed at latest revision, 11 unresolved discussions, some commit checks failed. server/src/main/java/com/vaadin/data/provider/InMemoryHierarchicalDataProvider.java, line 31 at r17 (raw file):
The javadoc states absolutely nothing about why or when this class should be used, and the why is not even that clear Comments from Reviewable |
Review status: 17 of 33 files reviewed at latest revision, 14 unresolved discussions. client/src/main/java/com/vaadin/client/widgets/Grid.java, line 6230 at r14 (raw file): Previously, hesara (Henri Sara) wrote…
Done server/src/main/java/com/vaadin/ui/Grid.java, line 3942 at r6 (raw file): Previously, hesara (Henri Sara) wrote…
Done. server/src/main/java/com/vaadin/ui/Grid.java, line 4002 at r6 (raw file): Previously, hesara (Henri Sara) wrote…
Done. server/src/main/java/com/vaadin/ui/ItemCollapseAllowedProvider.java, line 34 at r14 (raw file): Previously, hesara (Henri Sara) wrote…
#9318 changes merged to this PR server/src/main/java/com/vaadin/ui/TreeGrid.java, line 293 at r5 (raw file): Previously, hesara (Henri Sara) wrote…
Done. server/src/main/java/com/vaadin/ui/TreeGrid.java, line 95 at r7 (raw file): Previously, hesara (Henri Sara) wrote…
Done. server/src/main/java/com/vaadin/ui/TreeGrid.java, line 106 at r7 (raw file): Previously, hesara (Henri Sara) wrote…
Done. server/src/main/java/com/vaadin/ui/TreeGrid.java, line 119 at r7 (raw file): Previously, hesara (Henri Sara) wrote…
Done. Comments from Reviewable |
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)