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: add new dashboard with video game sales #12162

Merged
merged 1 commit into from
Dec 22, 2020

Conversation

betodealmeida
Copy link
Member

@betodealmeida betodealmeida commented Dec 21, 2020

SUMMARY

Adding a new dashboard by @srinify, showing sales of video games.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screenshot_2020-12-21 Video Game Sales

Screenshot_2020-12-21 Video Game Sales(2)

TEST PLAN

Ran superset load_examples.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io
Copy link

codecov-io commented Dec 21, 2020

Codecov Report

Merging #12162 (8d5b536) into master (4ae21bf) will decrease coverage by 3.84%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12162      +/-   ##
==========================================
- Coverage   66.91%   63.06%   -3.85%     
==========================================
  Files         972      994      +22     
  Lines       48036    49045    +1009     
  Branches     4743     4979     +236     
==========================================
- Hits        32141    30930    -1211     
- Misses      15775    17915    +2140     
- Partials      120      200      +80     
Flag Coverage Δ
cypress ?
javascript 61.21% <ø> (-0.79%) ⬇️
python 64.25% <80.00%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
superset/datasets/commands/importers/v1/utils.py 58.62% <ø> (ø)
superset/examples/utils.py 33.33% <50.00%> (+1.75%) ⬆️
superset/dashboards/commands/importers/v1/utils.py 94.11% <100.00%> (+0.36%) ⬆️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupColors.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/chart/ChartContainer.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/reducers/index.js 0.00% <0.00%> (-100.00%) ⬇️
...et-frontend/src/dashboard/containers/Dashboard.jsx 0.00% <0.00%> (-100.00%) ⬇️
...t-frontend/src/dashboard/containers/SliceAdder.jsx 0.00% <0.00%> (-100.00%) ⬇️
... and 232 more

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 4ae21bf...8d5b536. Read the comment docs.

@betodealmeida betodealmeida force-pushed the video_game_sales branch 3 times, most recently from fe91c37 to 2ccf00e Compare December 21, 2020 22:53
@@ -81,6 +81,15 @@ def update_id_refs(config: Dict[str, Any], chart_ids: Dict[str, int]) -> Dict[st
for old_id, value in metadata["expanded_slices"].items()
}

if "default_filters" in metadata:
Copy link
Member

Choose a reason for hiding this comment

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

nit: This switch type logic on update_id_refs if it grows (or even now) is asking for a small refactor IMO

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point!

@betodealmeida betodealmeida merged commit c281e52 into apache:master Dec 22, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.0 labels Mar 12, 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 preset-io size/XXL 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants