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

fix: Native filters cyclic dependency #16921

Merged

Conversation

michael-s-molina
Copy link
Member

SUMMARY

Fixes #15483

@junlincc @jinghua-qa

AFTER SCREENSHOTS OR ANIMATED GIF

Screen.Recording.2021-09-30.at.11.20.12.AM.mov

TESTING INSTRUCTIONS

Check the original issue for instructions.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Sep 30, 2021

Codecov Report

Merging #16921 (feeaead) into master (ae26967) will decrease coverage by 0.02%.
The diff coverage is 51.35%.

❗ Current head feeaead differs from pull request most recent head 2e1760e. Consider uploading reports for the commit 2e1760e to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16921      +/-   ##
==========================================
- Coverage   76.77%   76.74%   -0.03%     
==========================================
  Files        1022     1022              
  Lines       54884    54896      +12     
  Branches     7483     7484       +1     
==========================================
- Hits        42137    42132       -5     
- Misses      12499    12516      +17     
  Partials      248      248              
Flag Coverage Δ
javascript 71.01% <51.35%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset-frontend/src/components/Icons/index.tsx 100.00% <ø> (ø)
...onfigModal/FiltersConfigForm/FiltersConfigForm.tsx 73.83% <ø> (ø)
...d/src/filters/components/Time/TimeFilterPlugin.tsx 86.66% <ø> (ø)
...l/AdhocFilterEditPopoverSimpleTabContent/index.tsx 72.54% <46.15%> (-0.43%) ⬇️
...mponents/nativeFilters/FiltersConfigModal/utils.ts 70.88% <63.63%> (-1.34%) ⬇️
...ersConfigModal/FiltersConfigForm/DatasetSelect.tsx 48.48% <0.00%> (-36.37%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae26967...2e1760e. Read the comment docs.

@geido
Copy link
Member

geido commented Sep 30, 2021

/testenv up FEATURE_DASHBOARD_NATIVE_FILTERS=true FEATURE_DASHBOARD_CROSS_FILTERS=true FEATURE_DASHBOARD_NATIVE_FILTERS_SET=true FEATURE_DASHBOARD_FILTERS_EXPERIMENTAL=true

@github-actions
Copy link
Contributor

@geido Ephemeral environment spinning up at http://54.186.120.19:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@geido geido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! As discussed, the only problem I see is that the user can be moved to the culprit filter and there is no clear indication that is happening. A solution could be to flash the title on the left with red, to make it evident. I'll work on it in a separate PR.

@michael-s-molina michael-s-molina merged commit 87290dd into apache:master Sep 30, 2021
@github-actions
Copy link
Contributor

Ephemeral environment shutdown and build artifacts deleted.

opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.4.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hierarchical filters hang when filters are made parents of one another
3 participants