-
Notifications
You must be signed in to change notification settings - Fork 383
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
clean up dataset explorer #1721
Conversation
Signed-off-by: Ke Xu <xuke@microsoft.com>
Codecov Report
@@ Coverage Diff @@
## main #1721 +/- ##
=======================================
Coverage 89.00% 89.00%
=======================================
Files 105 105
Lines 5577 5577
=======================================
Hits 4964 4964
Misses 613 613
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
this.setState({ chartProps: newProps }); | ||
this.logButtonClick(TelemetryEventName.DatasetExplorerNewChartTypeSelected); | ||
}; | ||
|
||
private logButtonClick = (eventName: TelemetryEventName): void => { | ||
this.props.telemetryHook?.({ |
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.
Do we want to update all props.telemetryHook to context.telemetryHook? For example this line?
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.
I am planning to wrap all buttons/input etc for automatically telemetry.
Signed-off-by: Ke Xu <xuke@microsoft.com>
clean up dataset explorer by reduce file size
use context in axis config instead of passing values