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

feat: drill by modal #23458

Merged
merged 10 commits into from
Mar 29, 2023
Merged

feat: drill by modal #23458

merged 10 commits into from
Mar 29, 2023

Conversation

lilykuang
Copy link
Member

@lilykuang lilykuang commented Mar 22, 2023

SUMMARY

  • Create a Modal component that takes chart's formData
  • Modal title: Drill by: {origin chart's name}
  • In the footer, "Close" primary button and "Edit chart" secondary button that does nothing for now

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

drillByModal

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

@kgabryje
Copy link
Member

Could we remove the separator line from the footer to much the design?
image

@estebanbouza
Copy link

@lilykuang I'm running this code from the docker-compose.yml file in it. I can't see the drill popup when navigating to the same USA Births Names dashboard. It's a clean install (no prior docker images exist in the system, no pre-existing volumes used)
What am I missing to be able to preview this feature?

@lilykuang
Copy link
Member Author

@lilykuang I'm running this code from the docker-compose.yml file in it. I can't see the drill popup when navigating to the same USA Births Names dashboard. It's a clean install (no prior docker images exist in the system, no pre-existing volumes used) What am I missing to be able to preview this feature?

@estebanbouza There is a feature flag DRILL_BY need to set to True in superset/config.py
https://github.com/apache/superset/blob/master/superset/config.py#L481

@lilykuang lilykuang requested a review from geido March 29, 2023 16:54
@lilykuang lilykuang changed the title feat: drill by modal [WIP] feat: drill by modal Mar 29, 2023
@lilykuang lilykuang requested a review from kgabryje March 29, 2023 17:17
@lilykuang lilykuang marked this pull request as ready for review March 29, 2023 17:17
@lilykuang lilykuang requested a review from kgabryje March 29, 2023 19:08
Copy link
Member

@kgabryje kgabryje left a comment

Choose a reason for hiding this comment

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

Lgtm

@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #23458 (99b9141) into master (9fbfd1c) will decrease coverage by 0.03%.
The diff coverage is 76.00%.

❗ Current head 99b9141 differs from pull request most recent head 7410e02. Consider uploading reports for the commit 7410e02 to get more accurate results

@@            Coverage Diff             @@
##           master   #23458      +/-   ##
==========================================
- Coverage   67.59%   67.57%   -0.03%     
==========================================
  Files        1910     1914       +4     
  Lines       73712    73857     +145     
  Branches     7973     8023      +50     
==========================================
+ Hits        49829    49912      +83     
- Misses      21842    21901      +59     
- Partials     2041     2044       +3     
Flag Coverage Δ
javascript 53.89% <76.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
...c/filters/components/Select/SelectFilterPlugin.tsx 64.63% <ø> (-0.85%) ⬇️
.../src/components/Chart/DrillBy/DrillByMenuItems.tsx 89.47% <64.28%> (ø)
...tend/src/components/Chart/DrillBy/DrillByModal.tsx 90.90% <90.90%> (ø)

... and 16 files with indirect coverage changes

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

@lilykuang lilykuang merged commit 97b5cdd into apache:master Mar 29, 2023
@lilykuang lilykuang deleted the lily/drill-by-modal branch March 29, 2023 20:13
@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/L 🚢 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants