-
Notifications
You must be signed in to change notification settings - Fork 16.6k
feat(native-filters): add timegrain and column filter #13484
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
Conversation
c0b5464 to
0273f63
Compare
Codecov Report
@@ Coverage Diff @@
## master #13484 +/- ##
==========================================
- Coverage 77.16% 76.80% -0.36%
==========================================
Files 917 930 +13
Lines 46130 46278 +148
Branches 5600 5554 -46
==========================================
- Hits 35595 35546 -49
- Misses 10403 10598 +195
- Partials 132 134 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
29f7865 to
9b5c5ef
Compare
|
For some weird reason the GH API is not listing some files changed in this PR, which is causing CI to skip Python tests: https://api.github.com/repos/apache/superset/pulls/13484/files (looking into what could be the cause of this) |
e7ba499 to
551cca1
Compare
a2f1eea to
9a0f808
Compare
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBar.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterValue.tsx
Outdated
Show resolved
Hide resolved
...ashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
9a0f808 to
cd6af2b
Compare
superset-frontend/src/dashboard/components/FiltersBadge/selectors.ts
Outdated
Show resolved
Hide resolved
...ashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeGrain/TimeGrainFilterPlugin.tsx
Show resolved
Hide resolved
simcha90
left a comment
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.
left some comments only for review of Client side
db63822 to
ac2f28a
Compare
ac2f28a to
578820f
Compare
superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/filters/components/TimeGrain/TimeGrainFilterPlugin.tsx
Outdated
Show resolved
Hide resolved
zhaoyongjie
left a comment
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.
Tested in my local environment, LGTM, thanks @villebro
* feat(native-filters): add timegrain and column filter * add fetch values predicate * bump deps * lint * fix test * add python test for legacy merge * fix default value and isInitialized to not check strict equality * Address comments * add FilterValue type * address review comments
SUMMARY
Changes:
QueryObjectand SQLA model and apply it to Select and Range filters.Relies on changes to
superset-ui/coredone in apache-superset/superset-ui#992. Other unrelatedsuperset-uiPRs pulled in by this bump:BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
CI + added tests
ADDITIONAL INFORMATION