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

clean up dataset explorer #1721

Merged
merged 2 commits into from
Sep 15, 2022
Merged

clean up dataset explorer #1721

merged 2 commits into from
Sep 15, 2022

Conversation

xuke444
Copy link
Collaborator

@xuke444 xuke444 commented Sep 15, 2022

clean up dataset explorer by reduce file size
use context in axis config instead of passing values

Signed-off-by: Ke Xu <xuke@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2022

Codecov Report

Merging #1721 (940498b) into main (85d8c60) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1721   +/-   ##
=======================================
  Coverage   89.00%   89.00%           
=======================================
  Files         105      105           
  Lines        5577     5577           
=======================================
  Hits         4964     4964           
  Misses        613      613           
Flag Coverage Δ
unittests 89.00% <ø> (ø)

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?.({
Copy link
Contributor

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?

Copy link
Collaborator Author

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>
@xuke444 xuke444 merged commit 8f1161c into main Sep 15, 2022
@xuke444 xuke444 deleted the xuke/cleanup branch September 15, 2022 22:12
This pull request was closed.
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.

3 participants