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: View all fav charts and dashboards #12060

Merged
merged 13 commits into from
Dec 18, 2020
Merged

feat: View all fav charts and dashboards #12060

merged 13 commits into from
Dec 18, 2020

Conversation

geido
Copy link
Member

@geido geido commented Dec 15, 2020

SUMMARY

Allows to show fav Charts and Dashboards from the Welcome page, by clicking the "Favorite" tab and "View all". It also removes the "Favorite" tab for "Saved Queries" as this functionality is not implemented yet.

TEST PLAN

  1. Login in Superset
  2. From the Welcome page click on "Favorite" for the "Dashboards" collapse and click "View all".
  3. OR From the Welcome page click on "Favorite" for the "Charts" collapse and click "View all".
  4. Check that only fav Charts/Dashboards are shown.
  5. Change the filter on the top from "Favorite": "Yes" to "Favorite": "None".
  6. Check that no favorites are shown.
  7. Change the filter on the top from "Favorite": "No" to "Favorite": "Any".
  8. Check that both fav and non-fav are shown
  9. Go back to the Welcome page and check that no "Favorite" tab is shown for "Saved Queries"

ADDITIONAL INFORMATION

@geido
Copy link
Member Author

geido commented Dec 15, 2020

@rusackas @junlincc

@codecov-io
Copy link

codecov-io commented Dec 15, 2020

Codecov Report

Merging #12060 (d248677) into master (dd5cdb1) will decrease coverage by 1.45%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12060      +/-   ##
==========================================
- Coverage   64.71%   63.25%   -1.46%     
==========================================
  Files         960      478     -482     
  Lines       47302    29445   -17857     
  Branches     4629        0    -4629     
==========================================
- Hits        30611    18626   -11985     
+ Misses      16517    10819    -5698     
+ Partials      174        0     -174     
Flag Coverage Δ
cypress ?
javascript ?
python 63.25% <ø> (-0.93%) ⬇️

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

Impacted Files Coverage Δ
superset/db_engines/hive.py 0.00% <0.00%> (-85.72%) ⬇️
superset/databases/commands/create.py 32.65% <0.00%> (-59.19%) ⬇️
superset/sql_validators/postgres.py 50.00% <0.00%> (-50.00%) ⬇️
superset/db_engine_specs/hive.py 54.61% <0.00%> (-29.62%) ⬇️
superset/views/database/mixins.py 59.64% <0.00%> (-22.81%) ⬇️
superset/db_engine_specs/presto.py 69.95% <0.00%> (-12.45%) ⬇️
superset/db_engine_specs/mysql.py 79.59% <0.00%> (-12.25%) ⬇️
superset/databases/commands/update.py 85.71% <0.00%> (-8.17%) ⬇️
superset/databases/dao.py 94.11% <0.00%> (-5.89%) ⬇️
superset/views/database/validators.py 78.94% <0.00%> (-5.27%) ⬇️
... and 495 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 dd5cdb1...d248677. Read the comment docs.

Copy link
Member

@junlincc junlincc left a comment

Choose a reason for hiding this comment

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

DASH
chart
Screen Shot 2020-12-15 at 9 52 16 PM

Show a list of favorite dashboards and charts only by clicking View All from the Favorite tab ✅
Remove/hide Favorite tab from Saved Queries section ✅
LGTM, but please make sure to address comments from @etr2460
Thanks so much @geido 🙏
cc: @pkdotson

@nytai nytai linked an issue Dec 16, 2020 that may be closed by this pull request
@pull-request-size pull-request-size bot added size/L and removed size/M labels Dec 17, 2020
@geido
Copy link
Member Author

geido commented Dec 17, 2020

@nytai @rusackas @junlincc all requests resolved. Another review is appreciated.

@geido geido requested review from nytai and junlincc December 17, 2020 10:53
Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

This LGTM! I think the follow-up PR addresses the only remaining concern brought up on this.

Copy link
Member

@nytai nytai left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks making those changes

@rusackas rusackas merged commit f4ce831 into apache:master Dec 18, 2020
@kode-magic
Copy link

This finally saved my day, thanks guys.

@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 size/L 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use can't get to all his favorite dashboards from the new welcome page
8 participants