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.

Dashboard CSS keeps disappearing for v0.37

See original GitHub issue

Expected results

Once CSS is written on the Dashboard CSS feature, it should remain persistent.

Actual results

The CSS once applied reflects on the dashboard for the current session. In the subsequent login the CSS script disappears. The number of sessions are arbitrary. Sometimes it happens after one session, sometimes after several.

Screenshots

Before Before After After

How to reproduce the bug

  1. Go to Dashboards -> Edit Record -> Scroll to CSS text box
  2. Paste some CSS, like
.grid-container{
    margin: 18px;
}
.dashboard-header {
display: none;
}
  1. Save and go to Dashboard.
  2. You will see the CSS changes. Now log out and log back in, CSS disappears.

Environment

  • superset version: 0.37
  • python version: 3.6.9

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [ Y] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [ Y] I have reproduced the issue with at least the latest released version of superset.
  • [ Y] I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
willbarrettcommented, Sep 12, 2020

Some members of the community are working on a refactor of the related code, there are a number of related data handling issues. We do not have an ETA for completion or release, but the problem is being actively worked on.

2reactions
issue-label-bot[bot]commented, Sep 3, 2020

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.99. 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

Dashboard CSS keeps disappearing for v0.37 #10779 - GitHub
I noticed when the CSS gets erased. It's not session based but rather caused by editing an existing dashboard. If you build a...
Read more >
subject:"\[GitHub\] \[incubator\-superset\] i2cute ... - The Mail Archive
... i2cute commented on issue #10779: Dashboard CSS keeps disappearing for v0.37 ... This is an automated message from the Apache Git Service....
Read more >
CAST Engineering Dashboard - Object - Incorrect Object Status ...
This page help to understand why this object is seen as added/deleted. ... In particular, directories/files can be missing in version v0.
Read more >
How to include notebook dashboards in repos (github)?
Goal: I would like to have dashboard in notebooks to be added to repos (github). When commit and push changes to github, the...
Read more >
Dashboard, "Home" Site Issues using sub-directory - #21 by arrmo ...
Also, base_url is the same as Specific URL in the webui. At this point, I dont know what more to check…Maybe webserver logs?...
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