Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Update support for material theme and theme variant #245

Merged
merged 8 commits into from
Jul 16, 2018

Conversation

denis-anisimov
Copy link

@denis-anisimov denis-anisimov commented Jun 27, 2018

This change is Reviewable

Denis Anisimov and others added 6 commits June 27, 2018 10:22
@ZheSun88 ZheSun88 changed the title 1.1 readme tree grid Update support for material theme and theme variant Jul 13, 2018
@@ -109,7 +110,8 @@
@HtmlImport("frontend://flow-component-renderer.html")
@JavaScript("frontend://gridConnector.js")
public class Grid<T> extends Component implements HasDataProvider<T>, HasStyle,
HasSize, Focusable<Grid<T>>, SortNotifier<Grid<T>, GridSortOrder<T>> {
HasSize, Focusable<Grid<T>>, SortNotifier<Grid<T>, GridSortOrder<T>>,
HasTheme {

protected static class UpdateQueue implements TreeUpdate {
private List<Runnable> queue = new ArrayList<>();

Choose a reason for hiding this comment

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

CRITICAL Make "queue" transient or serializable. rule

@vaadin-bot
Copy link

SonarQube analysis reported 29 issues

  • CRITICAL 4 critical
  • MAJOR 12 major
  • MINOR 12 minor
  • INFO 1 info

Watch the comments in this conversation to review them.

Top 10 extra issues

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:

  1. CRITICAL Grid.java#L163: Define a constant instead of duplicating this literal "This method can't be used for a Grid. Use TreeGrid instead." 3 times. rule
  2. CRITICAL Grid.java#L763: Make "detailsVisible" transient or serializable. rule
  3. CRITICAL Grid.java#L1655: Remove usage of generic wildcard type. rule
  4. MAJOR pom.xml#L59: Make this line start at column 9. rule
  5. MAJOR pom.xml#L82: Make this line start at column 13. rule
  6. MAJOR pom.xml#L83: Make this line start at column 13. rule
  7. MAJOR pom.xml#L84: Make this line start at column 13. rule
  8. MAJOR pom.xml#L85: Make this line start at column 13. rule
  9. MAJOR pom.xml#L163: Make this line start at column 21. rule
  10. MAJOR Grid.java#: This file has 1,201 lines, which is greater than 750 authorized. Split it into smaller files. rule

Copy link
Author

@denis-anisimov denis-anisimov left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 3 files at r4, 1 of 1 files at r5, 2 of 2 files at r6.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @vaadin-bot)

Copy link
Contributor

@ZheSun88 ZheSun88 left a 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: :shipit: complete! all files reviewed, all discussions resolved

@ZheSun88 ZheSun88 merged commit 74176b0 into master Jul 16, 2018
@ZheSun88 ZheSun88 deleted the 1.1-readme-tree-grid branch July 16, 2018 06:10
@gilberto-torrezan gilberto-torrezan added this to the 1.1.0.alpha1 milestone Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants