-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
fix: add action buttons to time series column popover #14525
Conversation
/testenv up |
@junlincc Ephemeral environment spinning up at http://54.186.165.68:8080. Credentials are |
887cab8
to
f47095c
Compare
Codecov Report
@@ Coverage Diff @@
## master #14525 +/- ##
=======================================
Coverage 77.40% 77.40%
=======================================
Files 958 958
Lines 48329 48356 +27
Branches 5679 5682 +3
=======================================
+ Hits 37410 37432 +22
- Misses 10719 10724 +5
Partials 200 200
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@junlincc Ephemeral environment spinning up at http://52.33.59.89:8080. Credentials are |
superset-frontend/src/explore/components/controls/BoundsControl.jsx
Outdated
Show resolved
Hide resolved
this.setState({ | ||
minMax: [ | ||
Number.isNaN(this.props.value[0]) ? '' : this.props.value[0], | ||
Number.isNaN(this.props.value[1]) ? '' : this.props.value[1], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This behaves a little funny in practice, in that if you type a non-numeric value into one of these fields, it doesn't complain, and the value sticks. However, that non-numeric value IS removed if you type into the other field.
In other words, you can enter a good value in min
and then a bad value in max
- that bad value is only removed if you go back and change min
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced Input
by InputNumber
. Now it only allows numeric values and the user can click on the spinner.
a4b2d08
to
bd1637b
Compare
bd1637b
to
cb57ebd
Compare
tested locally. LGTM. Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Ephemeral environment shutdown and build artifacts deleted. |
(cherry picked from commit d31958c)
SUMMARY
Fixes #12672.
Improves the layout of the elements.
@rusackas will open another PR to globally fix the tooltip wrap. I increased the spacing to avoid wrapping.
@junlincc @zuzana-vej
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
1 - Create a Time Series table
2 - Check Times Series Columns control
ADDITIONAL INFORMATION