From 54e76be6ca9027e1eee8c50f7a47ced21f6a2594 Mon Sep 17 00:00:00 2001 From: AnnMarieW Date: Thu, 6 Jan 2022 07:18:56 -0700 Subject: [PATCH 1/4] added page_current to persisted_props --- components/dash-table/src/dash-table/dash/DataTable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/dash-table/src/dash-table/dash/DataTable.js b/components/dash-table/src/dash-table/dash/DataTable.js index a5babd1a21..ef1752da07 100644 --- a/components/dash-table/src/dash-table/dash/DataTable.js +++ b/components/dash-table/src/dash-table/dash/DataTable.js @@ -101,6 +101,7 @@ export const defaultProps = { 'columns.name', 'filter_query', 'hidden_columns', + 'page_current', 'selected_columns', 'selected_rows', 'sort_by' @@ -1537,6 +1538,7 @@ export const propTypes = { 'data', 'filter_query', 'hidden_columns', + 'page_current', 'selected_columns', 'selected_rows', 'sort_by' From 3107b8a7072f8f6d0ccfc33b4bca469199ff98ae Mon Sep 17 00:00:00 2001 From: AnnMarieW Date: Thu, 6 Jan 2022 07:35:58 -0700 Subject: [PATCH 2/4] updated CHANGELOG.md for #1883 --- components/dash-table/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/dash-table/CHANGELOG.md b/components/dash-table/CHANGELOG.md index 92badbc054..604f37ec2c 100644 --- a/components/dash-table/CHANGELOG.md +++ b/components/dash-table/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + +### Added +- [#1883](https://github.com/plotly/dash/pull/1883) Add `page_current` to `persisted_props` as requested in [#1860](https://github.com/plotly/dash/issues/1860) + ### Fixed - [#1778](https://github.com/plotly/dash/pull/1778) Fix React warnings stating that each child in a list should have a unique "key" prop From 4c5f505354104281d103925d1d4d57f129f0b736 Mon Sep 17 00:00:00 2001 From: AnnMarieW Date: Thu, 6 Jan 2022 09:19:49 -0700 Subject: [PATCH 3/4] updated CHANGELOG.md --- CHANGELOG.md | 6 ++++++ components/dash-core-components/CHANGELOG.md | 2 ++ components/dash-html-components/CHANGELOG.md | 2 ++ components/dash-table/CHANGELOG.md | 10 ++-------- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 414927d8d5..57207d67bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,9 @@ This project adheres to [Semantic Versioning](https://semver.org/). - `dash[ci]`: mainly for internal use, these are additional requirements for the Dash CI tests, exposed for other component libraries to use a matching configuration. ### Added +- [#1883](https://github.com/plotly/dash/pull/1883) in DataTable added `page_current` to `persisted_props` as requested in [#1860](https://github.com/plotly/dash/issues/1860) + + - [#1763](https://github.com/plotly/dash/pull/1763): ## Dash and Dash Renderer @@ -183,6 +186,9 @@ This project adheres to [Semantic Versioning](https://semver.org/). - [#1779](https://github.com/plotly/dash/pull/1779): - Clean up our handling of serialization problems, including fixing `orjson` for Python 3.6 - Added the ability for `dash.testing` `percy_snapshot` methods to choose widths to generate. + +- [#1778](https://github.com/plotly/dash/pull/1778) DataTable: Fix React warnings stating + that each child in a list should have a unique "key" prop ## [2.0.0] - 2021-08-03 diff --git a/components/dash-core-components/CHANGELOG.md b/components/dash-core-components/CHANGELOG.md index 8bfc8fc552..da762d89f2 100644 --- a/components/dash-core-components/CHANGELOG.md +++ b/components/dash-core-components/CHANGELOG.md @@ -1,4 +1,6 @@ # Change Log for dash-core-components +### NOTE: as of v2.0, changes in dash-core-component are all being recorded in the main dash changelog. +###This file is kept only for historical purposes. All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). diff --git a/components/dash-html-components/CHANGELOG.md b/components/dash-html-components/CHANGELOG.md index 82a3b54a0d..0489bf688f 100644 --- a/components/dash-html-components/CHANGELOG.md +++ b/components/dash-html-components/CHANGELOG.md @@ -1,4 +1,6 @@ # Change Log for dash-html-components +### NOTE: as of v2.0, changes in dash-html-components are all being recorded in the main dash changelog. +###This file is kept only for historical purposes. All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). diff --git a/components/dash-table/CHANGELOG.md b/components/dash-table/CHANGELOG.md index 604f37ec2c..15d7bd870d 100644 --- a/components/dash-table/CHANGELOG.md +++ b/components/dash-table/CHANGELOG.md @@ -1,15 +1,9 @@ # Change Log for dash-table +### NOTE: as of v2.0, changes in dash-table are all being recorded in the main dash changelog. +### This file is kept only for historical purposes. All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] - -### Added -- [#1883](https://github.com/plotly/dash/pull/1883) Add `page_current` to `persisted_props` as requested in [#1860](https://github.com/plotly/dash/issues/1860) - -### Fixed -- [#1778](https://github.com/plotly/dash/pull/1778) Fix React warnings stating - that each child in a list should have a unique "key" prop ## [4.12.0] - 2021-07-09 ### Fixed From 910a7acc288863a19e1a91fc22c718188372127c Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 6 Jan 2022 17:19:27 -0500 Subject: [PATCH 4/4] Apply suggestions from code review --- components/dash-core-components/CHANGELOG.md | 2 +- components/dash-html-components/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dash-core-components/CHANGELOG.md b/components/dash-core-components/CHANGELOG.md index da762d89f2..5058d5e1e6 100644 --- a/components/dash-core-components/CHANGELOG.md +++ b/components/dash-core-components/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for dash-core-components ### NOTE: as of v2.0, changes in dash-core-component are all being recorded in the main dash changelog. -###This file is kept only for historical purposes. +### This file is kept only for historical purposes. All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). diff --git a/components/dash-html-components/CHANGELOG.md b/components/dash-html-components/CHANGELOG.md index 0489bf688f..1d6cceb6a8 100644 --- a/components/dash-html-components/CHANGELOG.md +++ b/components/dash-html-components/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for dash-html-components ### NOTE: as of v2.0, changes in dash-html-components are all being recorded in the main dash changelog. -###This file is kept only for historical purposes. +### This file is kept only for historical purposes. All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).