-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Adding Dashboard toggle fullscreen button #10840
Adding Dashboard toggle fullscreen button #10840
Conversation
678438b
to
5e8aaf5
Compare
Codecov Report
@@ Coverage Diff @@
## master #10840 +/- ##
==========================================
+ Coverage 65.57% 65.60% +0.02%
==========================================
Files 809 809
Lines 38038 38216 +178
Branches 3561 3566 +5
==========================================
+ Hits 24945 25072 +127
- Misses 12987 13035 +48
- Partials 106 109 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Could you attach a screenshot showing what the dashboard looks like after clicking the button? |
@etr2460 HI, I append a image to PR comment. thanks for you remind |
I think "standalone" is a better term... I would reserve "fullscreen" for some sort of Or, you could consider adding that functionality in this PR to make the functionality better fit the name. |
Actually, @zhaoyongjie I'm curious what your use case is here... do you want to share the link to others in "standalone mode" or is it that you want a version for TV/presentation purposes (i.e. "presentation mode")? |
FWIW, Tableau has a Presentation Mode on desktop app, but a Full Screen button on web. They also removed the main menu on the dashboard page and replaced it with a back button. Redash, on the other hand, replace the main menu with a sidebar everywhere. It'd be interesting to explore these nav patterns for Superset, too. But that's totally another topic. |
SUMMARY
Dashboard can recieve url parameter
standalone
toggle fullscreen mode or not, expose this function to Dashboard header dropdownBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
adding button in dashboard dropdown
Dashboard in fullscreen mode
TEST PLAN
Adding unit test to getDashboardUrl_spec.js
ADDITIONAL INFORMATION