diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..e56592345 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +"Package: Vizro-AI :robot:": + - changed-files: + - any-glob-to-any-file: ["vizro-ai/**/*"] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..dc101a2d0 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,26 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: Labeler +on: + pull_request: + branches: + - "main" + paths: + - "vizro-ai/**" + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/vizro-core/changelog.d/20240709_142241_huong_li_nguyen_automatically_assign_label.md b/vizro-core/changelog.d/20240709_142241_huong_li_nguyen_automatically_assign_label.md new file mode 100644 index 000000000..f1f65e73c --- /dev/null +++ b/vizro-core/changelog.d/20240709_142241_huong_li_nguyen_automatically_assign_label.md @@ -0,0 +1,48 @@ +<!-- +A new scriv changelog fragment. + +Uncomment the section that is right (remove the HTML comment wrapper). +--> + +<!-- +### Highlights ✨ + +- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Removed + +- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Added + +- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Changed + +- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Deprecated + +- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Fixed + +- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> +<!-- +### Security + +- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1)) + +--> diff --git a/vizro-core/docs/pages/examples/your-examples.md b/vizro-core/docs/pages/examples/your-examples.md index d896e4c9c..5cb8409fb 100644 --- a/vizro-core/docs/pages/examples/your-examples.md +++ b/vizro-core/docs/pages/examples/your-examples.md @@ -4,8 +4,7 @@ This page lists videos, blog posts, and examples of Vizro usage in repositories If you have something you'd like us to include on the list, or spot something that we should include, let us know: -* by emailing [vizro@mckinsey.com](mailto: vizro@mckinsey.com), -* or you can [raise an issue](https://github.com/mckinsey/vizro/issues) on the Vizro repository, +* you can [raise an issue](https://github.com/mckinsey/vizro/issues) on the Vizro repository, * better still, you can [make a PR to contribute](../explanation/contributing.md) to this page. diff --git a/vizro-core/docs/pages/user-guides/table.md b/vizro-core/docs/pages/user-guides/table.md index 48b068a34..ff3016124 100755 --- a/vizro-core/docs/pages/user-guides/table.md +++ b/vizro-core/docs/pages/user-guides/table.md @@ -37,7 +37,7 @@ To add a [`AgGrid`][vizro.models.AgGrid] to your page, do the following: The Vizro version of this AG Grid differs in one way from the original Dash AG Grid: it requires the user to pass a pandas DataFrame as the source of data. As explained in [our guide to using data in Vizro](data.md), this must be entered under the argument `data_frame`. Most other [parameters of the Dash AG Grid](https://dash.plotly.com/dash-ag-grid/reference) can be entered as keyword arguments. Note that some defaults are set for some arguments (for example, for `columnDefs`) to help with styling and usability. -Sometimes a parameter may not work because it requires a callback to function. In that case you can try [creating a custom AG Grid callable](custom-tables.md) or reach out to the [Vizro team](mailto:vizro@mckinsey.com) for help. +Sometimes a parameter may not work because it requires a callback to function. In that case you can try [creating a custom AG Grid callable](custom-tables.md). !!! example "Basic Dash AG Grid"