Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message on components with invalid prop names #1074

Merged
merged 3 commits into from
Jan 8, 2020

Conversation

chriddyp
Copy link
Member

@chriddyp chriddyp commented Jan 8, 2020

#1045 but rebased off of dev

@chriddyp
Copy link
Member Author

chriddyp commented Jan 8, 2020

Slight sizing issue in Percy which I'm assuming is irrelevant
image

@chriddyp
Copy link
Member Author

chriddyp commented Jan 8, 2020

Tests are passing now 🎉

CHANGELOG.md Outdated
@@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Fixed
- [#1037](https://github.com/plotly/dash/pull/1037) Fix no_update test to allow copies, such as those stored and retrieved from a cache.
- [#1074](https://github.com/plotly/dash/pull/1045) Error messages when providing an incorrect property to a component have been improved: they now specify the component type, library, version, and ID (if available).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not a big deal, but I wouldn't call this "Fixed", I'd call it "Changed." Fixed should refer to bugs only.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in 4abe0b8

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

Beautiful. 💃

@alexcjohnson
Copy link
Collaborator

Slight sizing issue in Percy which I'm assuming is irrelevant

yeah that one has been doing that forever. would be great to figure out why and 🔒 it, but somehow the cause wasn't obvious to me last time I looked.

@chriddyp chriddyp merged commit 4c376b8 into dev Jan 8, 2020
@chriddyp chriddyp deleted the improve-component-error-messages branch January 8, 2020 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants