-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
feat(native-filters): enable filter indicator and make datasource optional #13148
Conversation
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.
Wow, this is incredible once again! Nothing much to add here, except perhaps the renaming of the filter classes and changing the title from refactor to feat, as this is also adding significant new functionality.
const [state, setState] = useState([]); | ||
const [error, setError] = useState<boolean>(false); | ||
const [formData, setFormData] = useState<Partial<QueryFormData>>({}); | ||
const inputRef = useRef<HTMLInputElement>(null); | ||
const [target] = targets; | ||
const { datasetId = 18, column } = target; | ||
const { | ||
datasetId = 18, |
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.
why 18?
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.
no idea, it was here
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.
but may be good remove it
Codecov Report
@@ Coverage Diff @@
## master #13148 +/- ##
==========================================
+ Coverage 53.06% 53.52% +0.46%
==========================================
Files 489 493 +4
Lines 17314 17398 +84
Branches 4482 4521 +39
==========================================
+ Hits 9187 9313 +126
+ Misses 8127 8085 -42
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
SUMMARY
This PR decouple decouple filter params from native filters config modal. In this phase we decoupled datasource based on
datasourceCount
property that exported from every viz-pluginMore changes:
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2021-02-16.at.12.09.49.mov
TEST PLAN
ADDITIONAL INFORMATION