Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Handle extras option in IntegerValidator #4612

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

Merged
gvwilson merged 3 commits into master from handle-extras-integer-validator
Jul 3, 2024

Conversation

@archmoj
Copy link
Contributor

@archmoj archmoj commented May 17, 2024

extras are added to plotly.js integer validator in plotly/plotly.js@37dee48
i.e. to handle cases like bold and normal in font.weight which could also be a number between 1-1000.

This commit would be required in updating to upcoming plotly.js v2.33.0.

@LiamConnors
cc: @emilykl @gvwilson

LiamConnors reacted with thumbs up emoji
@LiamConnors LiamConnors self-requested a review June 13, 2024 15:30
Copy link
Contributor Author

archmoj commented Jun 13, 2024

@LiamConnors please merge this PR once you added a changelog regarding the changes, etc. as required.
Thank you very much in advance 🙏

Copy link
Contributor

emilykl commented Jun 13, 2024

Logic looks good to me. Thanks @archmoj !

Do we have tests for the validators? Can we add a test for this change?

archmoj reacted with thumbs up emoji

Copy link
Contributor Author

archmoj commented Jun 13, 2024

Logic looks good to me. Thanks @archmoj !

Do we have tests for the validators? Can we add a test for this change?

Good call.
It would be nice to add tests for this PR.
@LiamConnors you may add a test in packages/python/plotly/_plotly_utils/tests/validators/test_dash_validator.py

Thank you!

Copy link
Contributor Author

archmoj commented Jul 3, 2024

@LiamConnors The tests used to pass before your commit which simply added a line to the changelog. But now it fails.
Do you have any idea why this is happening?

Copy link
Member

@archmoj if you update from master to bring in this change #4625
it should fix it

archmoj reacted with thumbs up emoji archmoj reacted with hooray emoji

Copy link
Contributor Author

archmoj commented Jul 3, 2024

I'll add tests in a separate PR later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@LiamConnors LiamConnors Awaiting requested review from LiamConnors

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /