-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
feat(native-filters): Filter set tabs #13507
Conversation
…incubator-superset into filter_bar_actions � Conflicts: � superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBar.tsx
…_to_data_mask � Conflicts: � superset-frontend/package-lock.json � superset-frontend/package.json
…incubator-superset into filter_bar_actions
…incubator-superset into filter_bar_actions
…incubator-superset into filter_bar_actions
…ctions � Conflicts: � superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBar.tsx
� Conflicts: � superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBar.tsx
Codecov Report
@@ Coverage Diff @@
## master #13507 +/- ##
==========================================
- Coverage 77.00% 72.93% -4.07%
==========================================
Files 912 612 -300
Lines 46034 21506 -24528
Branches 5587 5588 +1
==========================================
- Hits 35448 15686 -19762
+ Misses 10455 5688 -4767
- Partials 131 132 +1
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.
Some comments about naming, other than that looks great!
string | null | ||
>(null); | ||
|
||
const takeFiltersSet = (value: string) => { |
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.
While we're moving these, it would be nice to rename these to comply with the "Filter set" name instead of "Filters set". In this case, this could be takeFilterSet
. Also, "id" might be a more descriptive variable name than "value" here.
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.
this function will be moved and renamed in the next PR
<Sets> | ||
<FilterSet> | ||
<StyledTitle> | ||
<div>{t('Choose filters set')}</div> |
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 think this should be "Choose filter set"
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.
and same here, because this functionality going to be changed
SUMMARY
Add filter set tabs according: https://www.figma.com/proto/Z75uj6W6n0A6nfK3Mvawqi/Dashboard-Filters---P1?node-id=960%3A446&scaling=min-zoom
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2021-03-07.at.10.45.00.mov
TEST PLAN
ADDITIONAL INFORMATION