Skip to content

Commit 1a593f0

Browse files
refactor: deprecate Board (#7866)
* refactor: deprecate Board * Apply suggestions from code review --------- Co-authored-by: Serhii Kulykov <[email protected]>
1 parent e64c042 commit 1a593f0

File tree

2 files changed

+7
-2
lines changed
  • vaadin-board-flow-parent/vaadin-board-flow/src/main/java/com/vaadin/flow/component/board

2 files changed

+7
-2
lines changed

vaadin-board-flow-parent/vaadin-board-flow/src/main/java/com/vaadin/flow/component/board/Board.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@
2424
* Row consists of four columns, and can contain up to four components taking
2525
* one column each, or fewer components with multiple columns each as long as
2626
* sum of columns stays less than or equal to four.
27-
* <p>
27+
*
28+
* @deprecated Board is deprecated and will be removed in Vaadin 26. Consider
29+
* using Dashboard as an alternative.
2830
*/
2931
@Tag("vaadin-board")
3032
@NpmPackage(value = "@vaadin/board", version = "25.0.0-alpha15")
3133
@JsModule("@vaadin/board/src/vaadin-board.js")
34+
@Deprecated(since = "25.0", forRemoval = true)
3235
public class Board extends Component
3336
implements HasSize, HasStyle, HasOrderedComponents {
3437

vaadin-board-flow-parent/vaadin-board-flow/src/main/java/com/vaadin/flow/component/board/Row.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
* taking one column each, or fewer components with multiple columns each as
2727
* long as sum of columns stays less than or equal to four.
2828
*
29-
* <p>
29+
* @deprecated Board Row is deprecated and will be removed in Vaadin 26.
30+
* Consider using Dashboard as an alternative.
3031
*/
3132
@Tag("vaadin-board-row")
3233
@NpmPackage(value = "@vaadin/board", version = "25.0.0-alpha15")
3334
@JsModule("@vaadin/board/src/vaadin-board-row.js")
35+
@Deprecated(since = "25.0", forRemoval = true)
3436
public class Row extends Component
3537
implements HasStyle, HasSize, HasOrderedComponents {
3638

0 commit comments

Comments
 (0)