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

[300 line limit] Refactor AxisConfigDialog: create AxisConfigBinOptions and AxisConfigChoiceGroup component #1609

Merged
merged 4 commits into from
Aug 4, 2022

Conversation

tongyu-microsoft
Copy link
Contributor

This PR refactors AxisConfigDialog.tsx as it contains over 500 lines.

Description

This PR creates AxisConfigBinOptions component and AxisConfigChoiceGroup component, so we move axis value selection logic and bin count selection logic out from AxisConfigDialog

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@tongyu-microsoft tongyu-microsoft changed the title Refactor AxisConfigDialog: create AxisConfigBinOptions and AxisConfigChoiceGroup component [300 line limit] Refactor AxisConfigDialog: create AxisConfigBinOptions and AxisConfigChoiceGroup component Aug 3, 2022
@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2022

Codecov Report

Merging #1609 (9812c1d) into main (5f1482d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1609   +/-   ##
=======================================
  Coverage   88.91%   88.91%           
=======================================
  Files         110      110           
  Lines        5415     5415           
=======================================
  Hits         4815     4815           
  Misses        600      600           
Flag Coverage Δ
unittests 88.91% <ø> (ø)

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.

@tongyu-microsoft tongyu-microsoft enabled auto-merge (squash) August 4, 2022 00:32
2 similar comments
@tongyu-microsoft tongyu-microsoft merged commit 297654a into main Aug 4, 2022
@tongyu-microsoft tongyu-microsoft deleted the tongy/limit300lines branch August 4, 2022 03:04
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