-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
refactor(explore): move MetricControl and FilterControl to sub-component #12446
refactor(explore): move MetricControl and FilterControl to sub-component #12446
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12446 +/- ##
==========================================
- Coverage 65.97% 63.10% -2.87%
==========================================
Files 1015 485 -530
Lines 49548 29944 -19604
Branches 5080 0 -5080
==========================================
- Hits 32687 18897 -13790
+ Misses 16714 11047 -5667
+ Partials 147 0 -147
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Good call! Tested and everything still works as expected.
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, just a few import nits
superset-frontend/spec/javascripts/explore/components/AdhocFilterOption_spec.jsx
Outdated
Show resolved
Hide resolved
...et-frontend/spec/javascripts/explore/components/AdhocFilterEditPopoverSqlTabContent_spec.jsx
Outdated
Show resolved
Hide resolved
superset-frontend/spec/javascripts/explore/components/AdhocMetricEditPopoverTitle_spec.jsx
Outdated
Show resolved
Hide resolved
…terEditPopoverSqlTabContent_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
…terOption_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
…ricEditPopoverTitle_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Ville, Thanks for the point out. |
…ent (#12446) * wip * wip * wip * wip * move spec * wip * wip * remove unused file * wip * wip * Update superset-frontend/spec/javascripts/explore/components/AdhocFilterEditPopoverSqlTabContent_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> * Update superset-frontend/spec/javascripts/explore/components/AdhocFilterOption_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> * Update superset-frontend/spec/javascripts/explore/components/AdhocMetricEditPopoverTitle_spec.jsx Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
SUMMARY
To make the explore code more maintainable, I will refactor some controls, so first I need to move some files to the sub-component.
TEST PLAN
IT / cypress run ok
ADDITIONAL INFORMATION