Skip to content

feat: add disabled dates API to date and date-time pickers#9691

Open
Artur- wants to merge 3 commits into
mainfrom
feature/disable-dates
Open

feat: add disabled dates API to date and date-time pickers#9691
Artur- wants to merge 3 commits into
mainfrom
feature/disable-dates

chore: use dev-disable-dates web components snapshot

2f5e32d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 8, 2026 in 3m 38s

Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 115 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_u&open=AZ88jOfUEWR74vVuuK_u&pullRequest=9691

Check warning on line 37 in vaadin-date-time-picker-flow-parent/vaadin-date-time-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datetimepicker/DateTimePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOYbEWR74vVuuK_g&open=AZ88jOYbEWR74vVuuK_g&pullRequest=9691

Check failure on line 139 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use ".equals()" instead of "==" or "!=" to compare objects of value-based types.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_y&open=AZ88jOfUEWR74vVuuK_y&pullRequest=9691

Check warning on line 132 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_x&open=AZ88jOfUEWR74vVuuK_x&pullRequest=9691

Check warning on line 67 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfBEWR74vVuuK_k&open=AZ88jOfBEWR74vVuuK_k&pullRequest=9691

Check warning on line 37 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfKEWR74vVuuK_n&open=AZ88jOfKEWR74vVuuK_n&pullRequest=9691

Check warning on line 151 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_2&open=AZ88jOfUEWR74vVuuK_2&pullRequest=9691

Check warning on line 62 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfBEWR74vVuuK_j&open=AZ88jOfBEWR74vVuuK_j&pullRequest=9691

Check warning on line 75 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfBEWR74vVuuK_l&open=AZ88jOfBEWR74vVuuK_l&pullRequest=9691

Check warning on line 113 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_t&open=AZ88jOfUEWR74vVuuK_t&pullRequest=9691

Check warning on line 59 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_q&open=AZ88jOfUEWR74vVuuK_q&pullRequest=9691

Check warning on line 37 in vaadin-date-time-picker-flow-parent/vaadin-date-time-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datetimepicker/DateTimePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOYbEWR74vVuuK_h&open=AZ88jOYbEWR74vVuuK_h&pullRequest=9691

Check warning on line 43 in vaadin-date-time-picker-flow-parent/vaadin-date-time-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datetimepicker/DateTimePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOYbEWR74vVuuK_i&open=AZ88jOYbEWR74vVuuK_i&pullRequest=9691

Check warning on line 155 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_3&open=AZ88jOfUEWR74vVuuK_3&pullRequest=9691

Check warning on line 144 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_0&open=AZ88jOfUEWR74vVuuK_0&pullRequest=9691

Check warning on line 106 in vaadin-date-picker-flow-parent/vaadin-date-picker-testbench/src/main/java/com/vaadin/flow/component/datepicker/testbench/DatePickerElement.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOguEWR74vVuuK_4&open=AZ88jOguEWR74vVuuK_4&pullRequest=9691

Check warning on line 120 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_v&open=AZ88jOfUEWR74vVuuK_v&pullRequest=9691

Check warning on line 150 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_1&open=AZ88jOfUEWR74vVuuK_1&pullRequest=9691

Check warning on line 59 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_r&open=AZ88jOfUEWR74vVuuK_r&pullRequest=9691

Check warning on line 45 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfKEWR74vVuuK_p&open=AZ88jOfKEWR74vVuuK_p&pullRequest=9691

Check warning on line 141 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_z&open=AZ88jOfUEWR74vVuuK_z&pullRequest=9691

Check failure on line 94 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use ".equals()" instead of "==" or "!=" to compare objects of value-based types.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_s&open=AZ88jOfUEWR74vVuuK_s&pullRequest=9691

Check warning on line 37 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/main/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesPage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfKEWR74vVuuK_o&open=AZ88jOfKEWR74vVuuK_o&pullRequest=9691

Check warning on line 129 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfUEWR74vVuuK_w&open=AZ88jOfUEWR74vVuuK_w&pullRequest=9691

Check warning on line 79 in vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/test/java/com/vaadin/flow/component/datepicker/DatePickerDisabledDatesIT.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a "java.time.Month" enum constant instead of this int literal.

See more on https://sonarcloud.io/project/issues?id=vaadin_flow-components&issues=AZ88jOfBEWR74vVuuK_m&open=AZ88jOfBEWR74vVuuK_m&pullRequest=9691