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

chore: Create dashboard with tier 1 and tier 2 charts #21551

Merged
merged 8 commits into from
Sep 30, 2022

Conversation

kgabryje
Copy link
Member

@kgabryje kgabryje commented Sep 22, 2022

SUMMARY

This PR creates a test dashboard with 32 supported charts. The goal is to enable easily testing new dashboard features on every supported chart with cypress e2e test suites.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screen.Recording.2022-09-29.at.22.33.35.mov

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 Sep 22, 2022

Codecov Report

Merging #21551 (1b28895) into master (bbac67a) will increase coverage by 0.15%.
The diff coverage is 0.00%.

❗ Current head 1b28895 differs from pull request most recent head db3bcc6. Consider uploading reports for the commit db3bcc6 to get more accurate results

@@            Coverage Diff             @@
##           master   #21551      +/-   ##
==========================================
+ Coverage   66.67%   66.83%   +0.15%     
==========================================
  Files        1793     1798       +5     
  Lines       68540    68823     +283     
  Branches     7287     7333      +46     
==========================================
+ Hits        45699    45996     +297     
+ Misses      20979    20949      -30     
- Partials     1862     1878      +16     
Flag Coverage Δ
hive 52.91% <0.00%> (-0.17%) ⬇️
javascript 53.16% <ø> (+0.31%) ⬆️
mysql 78.23% <0.00%> (+0.02%) ⬆️
postgres 78.29% <0.00%> (+0.02%) ⬆️
presto 52.81% <0.00%> (-0.17%) ⬇️
python 81.42% <0.00%> (+<0.01%) ⬆️
sqlite 76.79% <0.00%> (+0.02%) ⬆️
unit 50.92% <0.00%> (-0.15%) ⬇️

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

Impacted Files Coverage Δ
superset/cli/examples.py 0.00% <0.00%> (ø)
superset/examples/data_loading.py 0.00% <0.00%> (ø)
superset/examples/supported_charts_dashboard.py 0.00% <0.00%> (ø)
...iews/CRUD/data/dataset/AddDataset/Footer/index.tsx 33.33% <0.00%> (-66.67%) ⬇️
...ins/plugin-chart-echarts/src/BoxPlot/buildQuery.ts 66.66% <0.00%> (-16.67%) ⬇️
.../plugin-chart-pivot-table/src/plugin/buildQuery.ts 42.85% <0.00%> (-12.70%) ⬇️
...s/plugin-chart-echarts/src/BoxPlot/controlPanel.ts 5.55% <0.00%> (-11.12%) ⬇️
...nd/plugins/plugin-chart-table/src/controlPanel.tsx 53.12% <0.00%> (-9.84%) ⬇️
.../BigNumber/BigNumberWithTrendline/controlPanel.tsx 16.66% <0.00%> (-8.34%) ⬇️
...ntend/plugins/plugin-chart-table/src/buildQuery.ts 56.25% <0.00%> (-4.77%) ⬇️
... and 76 more

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

Copy link
Member

@codyml codyml left a comment

Choose a reason for hiding this comment

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

Thanks for this! I tried running superset with CYPRESS_CONFIG=true to get it to load the dashboard into superset for manual checking and it seemed like some of them were missing/broken – I left comments for them. But, if I'm doing that wrong and that's making them break let me know!

superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
"meta": {
"chartId": 9,
"height": 50,
"sliceName": "Pie Chart",
Copy link
Member

Choose a reason for hiding this comment

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

I'm also not seeing this one.

superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
superset/examples/echarts_dashboard.py Outdated Show resolved Hide resolved
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.

Two comments from a quick look

@geido geido merged commit eeb979c into apache:master Sep 30, 2022
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 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/XXL 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants