Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Loading states data attribute #93

Merged
merged 7 commits into from
Feb 28, 2019
Merged

Conversation

valentijnnieman
Copy link
Contributor

This PR adds the loading_states prop from plotly/dash-renderer#93 to all components, as well as a data-dash-is-loading attribute to all components that holds loading_states.is_loading.

@valentijnnieman
Copy link
Contributor Author

Released as rc version 0.14.0rc20 (rc1 to rc6 where taken - leaving a bit of room there)

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comment, nothing major.

CHANGELOG.md Outdated
@@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.14.0] - Unreleased
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the final merge this will need to simply be unreleased and the version change in package.json to be reverted.

src/components/Xmp.react.js Outdated Show resolved Hide resolved
@@ -23,7 +24,12 @@ const Xmp = (props) => {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would make sense to also omit loading_state from the props being passed down to the child

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the Loading component checks the loading_state prop, if we were to omit it, the Loading component would not work anymore, so I don't think we should omit it.

@valentijnnieman
Copy link
Contributor Author

released as rc version 0.14.0rc21

@valentijnnieman valentijnnieman merged commit 27ab2e1 into master Feb 28, 2019
@valentijnnieman valentijnnieman deleted the loading_states_data branch February 28, 2019 21:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants