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/CS/AspMvcDashboardCustomPropertiesSample/AspMvcDashboardCustomPropertiesSample.csproj b/CS/AspMvcDashboardCustomPropertiesSample/AspMvcDashboardCustomPropertiesSample.csproj index 472d652..2eca110 100644 --- a/CS/AspMvcDashboardCustomPropertiesSample/AspMvcDashboardCustomPropertiesSample.csproj +++ b/CS/AspMvcDashboardCustomPropertiesSample/AspMvcDashboardCustomPropertiesSample.csproj @@ -104,39 +104,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.AspNet.WebPages.Data.3.2.3\lib\net45\WebMatrix.Data.dll diff --git a/CS/AspMvcDashboardCustomPropertiesSample/Web.config b/CS/AspMvcDashboardCustomPropertiesSample/Web.config index db85722..51a39d4 100644 --- a/CS/AspMvcDashboardCustomPropertiesSample/Web.config +++ b/CS/AspMvcDashboardCustomPropertiesSample/Web.config @@ -6,11 +6,11 @@ -
-
-
-
-
+
+
+
+
+
@@ -30,37 +30,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -82,11 +82,11 @@ - - + + - + @@ -94,11 +94,11 @@ - + - - + + diff --git a/readme.md b/readme.md index 3d4e746..d2e729b 100644 --- a/readme.md +++ b/readme.md @@ -2,15 +2,13 @@ ![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/253062639/21.2.1%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/T878019) [![](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/AspMvcDashboardCustomPropertiesSample/Content/Extensions) - [Index.cshtml](./CS/AspMvcDashboardCustomPropertiesSample/Views/Home/Index.cshtml) # Dashboard for MVC - Custom Properties - -**[[Run Online]](https://codecentral.devexpress.com/253062639/)** - 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. @@ -85,7 +83,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 @@ -97,7 +95,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 @@ -110,7 +108,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 @@ -165,3 +163,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-mvc-dashboard-custom-properties-sample&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=asp-net-mvc-dashboard-custom-properties-sample&~~~was_helpful=no) + +(you will be redirected to DevExpress.com to submit your response) +