Skip to content

Commit

Permalink
Fix vale warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki committed Dec 18, 2024
1 parent 162a726 commit 4d3d2b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions articles/components/dashboard/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Widgets are placed in columns and rows automatically, in the order supplied, bas

The Dashboard provides built-in vertical scrolling, provided that its height has been specified.

There are two ways to use the Dashboard component:
The Dashboard component can be used in two ways:

* <<#static-dashboards,Static>>: declaratively / imperatively defining the widgets. The React and Web Components for this are `<DashboardLayout>` and `<vaadin-dashboard-layout>` respectively.
* <<#dynamic-dashboards,Dynamic>>: widgets generated from data using a renderer; supports edit mode that allows the end user to move, resize and remove widgets. The React and Web Components for this are `<Dashboard>` and `<vaadin-dashboard>`, respectively.
Expand All @@ -67,7 +67,7 @@ The following configuration options are available for the dashboard:

=== Columns and Rows

Column width can vary between a minimum and maximum size. The default maximum width is `1fr`, which allows the columns to expand to fill any available space. If a fixed length value is provided, empty space will be left at the end of rows once the columns reach their maximum width.
Column width can vary between a minimum and maximum size. The default maximum width is `1fr`, which allows the columns to expand to fill any available space. If a fixed length value is provided, empty space is left at the end of rows once the columns reach their maximum width.

By default there is no limit on the number of columns, but one can be provided if needed.

Expand Down Expand Up @@ -387,7 +387,7 @@ In editing mode, widgets can be removed by clicking the remove-button in the wid

==== Adding Widgets

Check warning on line 388 in articles/components/dashboard/index.adoc

View workflow job for this annotation

GitHub Actions / lint

[vale] reported by reviewdog 🐶 [Vaadin.HeadingCase] 'Adding Widgets' should be in title case. Raw Output: {"message": "[Vaadin.HeadingCase] 'Adding Widgets' should be in title case.", "location": {"path": "articles/components/dashboard/index.adoc", "range": {"start": {"line": 388, "column": 6}}}, "severity": "WARNING"}

There is no built-in mechanism for adding new widgets to the dashboard, but this can easily be implemented using an external widget selector, such as a <<../select#,Select>> dropdown, that adds the corresponding item to the dashboard.
Dashboard has no built-in mechanism for adding new widgets, but this can easily be implemented using an external widget selector, such as a <<../select#,Select>> drop-down, that adds the corresponding item to the dashboard.

==== Screen Reader Announcements

Expand Down

0 comments on commit 4d3d2b1

Please sign in to comment.