question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hide the 'Edit dashboard' button on standalone

See original GitHub issue

Is your feature request related to a problem? Please describe. On the project that I’m working on, when we want to display a dashboard we always use the standalone mode, since it removes the navbar from superset that we don’t use while analyzing the data. We are left with the header and the charts. The former has the title, published status, favorite star, the ‘Edit dashboard’ button and its dropdown. Currently to hide some elements such as the favorite star we add some css to the dashboard (display: none). However if we do the same to the ‘Edit Dashboard’ button, every time we need to edit the dashboard we need to comment the css from the button, edit the dashboard and then uncomment back.

Describe the solution you’d like If the standalone flag was on the url, the ‘Edit Dashboard’ wouldn’t be displayed/rendered.

Describe alternatives you’ve considered Besides the ‘Edit Dashboard’ button I also thought on not rending the other elements, leaving just the dropdown. Don’t know if this is to much though.

I checked the react code and the is no standalone prop on the component rending these elements (‘Edit Dashboard’ button and so on).

Additional context 😶

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amitmiran137commented, Jul 31, 2020

I already associated between the 2 Basically what you’re asking is just another filter type in the dashboard filter component

I’ll let you know when you’re specific feature can be implemented as part of that SIP

1reaction
issue-label-bot[bot]commented, Jul 23, 2020

Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.92. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide the 'Edit dashboard' button on standalone #10413 - GitHub
Currently to hide some elements such as the favorite star we add some css to the dashboard ( display: none ). However if...
Read more >
How to Hide the “Edit” Button from the Dashboard in Splunk
Edit the below line in the source code of the existing dashboard. In this way all the navigation buttons will be hidden from...
Read more >
Display and Hide Dashboard Reports - Oracle Help Center
Open the dashboard you want to view. · Click one of these buttons on the titlebar of the report you want to hide...
Read more >
Edit Dashboards in Accessibility Mode in Salesforce Classic
In Salesforce Classic, you can edit dashboards in Accessibility mode.Required Editions and User ... Click the Delete button to delete the entire dashboard....
Read more >
The (Almost) Definitive Guide to Show/Hide Buttons in ...
Show/ Hide buttons in Tableau allow you to do just that, show or hide containers, worksheets, blanks, text, legends, even the title.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found