-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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: Removes the filters set feature #26369
refactor: Removes the filters set feature #26369
Conversation
e9e83d5
to
18343fd
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #26369 +/- ##
==========================================
- Coverage 69.18% 69.06% -0.13%
==========================================
Files 1948 1931 -17
Lines 76036 75355 -681
Branches 8478 8431 -47
==========================================
- Hits 52604 52042 -562
+ Misses 21265 21165 -100
+ Partials 2167 2148 -19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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. Slightly sad to see this go, but maybe we can reuse our learnings from this POC if this feature request comes up again.
module = import_module( | ||
"superset.migrations.versions.2021-03-29_11-15_3ebe0993c770_filterset_table" | ||
) | ||
|
||
|
||
def upgrade(): | ||
module.downgrade() | ||
|
||
|
||
def downgrade(): | ||
module.upgrade() |
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.
Nice, it never occurred to me we could do something like this 👍
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 ❤️ DRY code.
SUMMARY
As part of the 4.0 approved initiatives, this PR removes the Filters Set feature including the deprecated
DASHBOARD_NATIVE_FILTERS_SET
feature flag and all related API endpoints. The feature is permanently removed as it was not being actively maintained, it was not widely used, and it was full of bugs. We also considered that if we were to provide a similar feature, it would be better to re-implement it from scratch given the amount of technical debt that the current implementation has.The previous value of the feature flag was
False
and now the feature is permanently removed.TESTING INSTRUCTIONS
CI should be sufficient for merging this PR. We'll do a complete testing of 4.0 after all approved proposals are merged.
ADDITIONAL INFORMATION