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: Preserve filters from previous drillings in drill by #23831

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

kgabryje
Copy link
Member

SUMMARY

When user performs multiple drilling, the filters should accumulate through the drilling stages. This PR fixes a bug which caused the filters to be overwritten with only the most recent filter

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

image

image

After:

image

image

TESTING 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 Apr 26, 2023

Codecov Report

Merging #23831 (3e2b427) into master (40ae074) will increase coverage by 0.00%.
The diff coverage is 88.23%.

❗ Current head 3e2b427 differs from pull request most recent head 35df33a. Consider uploading reports for the commit 35df33a to get more accurate results

@@           Coverage Diff           @@
##           master   #23831   +/-   ##
=======================================
  Coverage   67.99%   68.00%           
=======================================
  Files        1937     1937           
  Lines       74934    74942    +8     
  Branches     8138     8138           
=======================================
+ Hits        50954    50965   +11     
+ Misses      21895    21892    -3     
  Partials     2085     2085           
Flag Coverage Δ
javascript 54.29% <87.50%> (+<0.01%) ⬆️
mysql ?

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

Impacted Files Coverage Δ
...d/src/SqlLab/components/SaveDatasetModal/index.tsx 50.00% <0.00%> (ø)
superset-frontend/src/SqlLab/actions/sqlLab.js 66.33% <50.00%> (-0.17%) ⬇️
...tend/src/components/Chart/DrillBy/DrillByModal.tsx 74.07% <100.00%> (+1.52%) ⬆️
...frontend/src/explore/actions/datasourcesActions.ts 100.00% <100.00%> (ø)
superset/views/core.py 75.11% <100.00%> (-0.21%) ⬇️

... and 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kgabryje kgabryje merged commit 5f03549 into apache:master Apr 26, 2023
sebastianliebscher pushed a commit to sebastianliebscher/superset that referenced this pull request Apr 28, 2023
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.0.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/M 🚢 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants