diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml new file mode 100644 index 0000000..fc11f81 --- /dev/null +++ b/.github/workflows/vale.yml @@ -0,0 +1,30 @@ +name: vale-validation +on: + pull_request: + paths: + - README.md + - readme.md + - Readme.md + +jobs: + vale: + name: runner / vale + runs-on: ubuntu-latest + steps: + - name: clone repo + uses: actions/checkout@v4 + - name: clone vale-styles repo + uses: actions/checkout@v4 + with: + repository: DevExpress/vale-styles + path: vale-styles + ssh-key: ${{ secrets.VALE_STYLES_ACCESS_KEY }} + - name: copy vale rules to the root repo + run: shopt -s dotglob && cp -r ./vale-styles/vale/* . + - name: vale linter check + uses: DevExpress/vale-action@reviewdog + with: + files: '["README.md", "readme.md", "Readme.md"]' + fail_on_error: true + filter_mode: nofilter + reporter: github-check diff --git a/readme.md b/readme.md index 2da5eac..485dcae 100644 --- a/readme.md +++ b/readme.md @@ -2,6 +2,7 @@ ![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/260212520/20.2.2%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T885558) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) +[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) *Files to look at*: - [Extensions](./CS/AspNetCoreDashboard/wwwroot/Content/Extensions) @@ -9,9 +10,6 @@ - [Index.cshtml](./CS/AspNetCoreDashboard/Pages/Index.cshtml) # Dashboard for ASP.NET Core - Custom Properties - -**[[Run Online]](https://codecentral.devexpress.com/260212520/)** - The example shows how to create [custom properties](https://docs.devexpress.com/Dashboard/401702/designer-and-viewer-applications/web-dashboard/client-side-customization/custom-properties?v=20.1) for the Web Dashboard. @@ -93,7 +91,7 @@ This extension enables or disables scale breaks for the Chart dashboard item. **Overview**: - Adds a custom Boolean property for a specific dashboard item (Chart). -- Integrates a _Scale breaks (Custom)_ section into the _Options_ menu with the [CheckBox](https://js.devexpress.com/DevExtreme/ApiReference/UI_Widgets/dxCheckBox/) widget as an editor. +- Integrates a _Scale breaks (Custom)_ section into the _Options_ menu with the [dxCheckBox](https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxCheckBox/) widget as an editor. ### ChartLineOptionsExtension @@ -105,7 +103,7 @@ This extension changes the dash style of each series line in the Chart dashboard **Overview**: - Adds a string custom property for a specific data item container (Chart's series). -- Integrates a _Line Options (Custom)_ section into the data item menu with the [SelectBox](https://js.devexpress.com/DevExtreme/ApiReference/UI_Widgets/dxSelectBox/) widget as an editor. +- Integrates a _Line Options (Custom)_ section into the data item menu with the [dxSelectBox](https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxSelectBox/) widget as an editor. ### DashboardDescriptionExtension @@ -118,7 +116,7 @@ This extension enables you to set a dashboard's description in the dashboard men **Overview**: - Adds a custom string property for a dashboard. - Shows how to add a new item to the [ToolBox](https://docs.devexpress.com/Dashboard/117442/designer-and-viewer-applications/web-dashboard/ui-elements/toolbox?v=20.1). In this example, a new item is added to the [dashboard menu](https://docs.devexpress.com/Dashboard/117444/designer-and-viewer-applications/web-dashboard/ui-elements/dashboard-menu?v=20.1). -- Demonstrates how to create complex editors using templates. In this example, it is the [](https://js.devexpress.com/DevExtreme/ApiReference/UI_Widgets/dxPopup/) widgets with the [TextArea](https://js.devexpress.com/DevExtreme/ApiReference/UI_Widgets/dxTextArea/) and [Button](https://js.devexpress.com/DevExtreme/ApiReference/UI_Widgets/dxButtonGroup/) widgets inside. +- Demonstrates how to create complex editors using templates. In this example, it is the [dxPopup](https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxPopup/) widgets with the [dxTextArea](https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxTextArea/) and [dxButton](https://js.devexpress.com/jQuery/Documentation/ApiReference/UI_Components/dxButton/) widgets inside. ### ItemDescriptionExtension @@ -173,3 +171,10 @@ Overview: - [WinForms Dashboard Designer - Custom Properties](https://github.com/DevExpress-Examples/winforms-dashboard-custom-properties) - [WPF Dashboard Viewer - Custom Properties](https://github.com/DevExpress-Examples/wpf-dashboard-custom-properties) - [Multiplatform Example - Constant Lines](https://github.com/DevExpress-Examples/dashboard-constant-lines) + +## Does this example address your development requirements/objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-custom-properties-sample&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-core-dashboard-custom-properties-sample&~~~was_helpful=no) + +(you will be redirected to DevExpress.com to submit your response) +