GitHub user dosubot[bot] added a comment to the discussion: want to substitute the loader in superset while loading dashboards with custom spinner
<!-- Answer -->
Setting `THEME_DEFAULT = {"token": {"brandSpinnerUrl":
"/static/assets/images/my-custom-spinner.gif"}}` in `superset_config.py` is the
correct approach for customizing the loader spinner in Superset 6.0.0+—but if
you don't see your custom GIF, it's likely because saved themes in browser
localStorage are overriding your config. To fix this, clear the
`superset-theme` key from localStorage and your browser cache, then restart
Superset. Also, double-check that your GIF is accessible at
`/static/assets/images/my-custom-spinner.gif` using browser dev tools. No
frontend build or asset compilation is needed; changes take effect after
restart and cache clear. For more details, see [this
issue](https://github.com/apache/superset/issues/36979) and [this
PR](https://github.com/apache/superset/pull/36951).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/d606dd1c-242d-4763-b754-803c67fc5099?feedback_type=other)</sup>
[](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Setting%20%60THEME_DEFAULT%20%3D%20%7B%22token%22%3A%20%7B%22brandSpinnerUrl%22%3A%20%22/static/assets/images/my-custom-spinner.gif%22%7D%7D%60%20in%20%60superset_config.py%60%20is%20the%20correct%20approach%20for%20customizing%20the%20loader%20spinner%20in%20Superset%206.0.0%2B%E2%80%94but%20if%20you%20don%27t%20see%20your%20custom%20GIF%2C%20it%27s%20likely%20because%20saved%20themes%20in%20browser%20localStorage%20are%20overriding%20your%20config.%20To%20fix%20this%2C%20clear%20the%20%60superset-theme%60%20key%20from%20localStorage%20and%20your%20browser%20cache%2C%20then%20restart%20Superset.%20Also%2C%20double-check%20that%20your%20GIF%20is%20accessible%20at%20%60/static/assets/images/my-custom-spinner.gif%60%20using%20browser%20dev%20tools.%20No
%20frontend%20build%20or%20asset%20compilation%20is%20needed%3B%20changes%20take%20effect%20after%20restart%20and%20cache%20clear.%20For%20more%20details%2C%20see%20%5Bthis%20issue%5D%28https%3A//github.com/apache/superset/issues/36979%29%20and%20%5Bthis%20PR%5D%28https%3A//github.com/apache/superset/pull/36951%29.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/37666)
GitHub link:
https://github.com/apache/superset/discussions/37666#discussioncomment-15693993
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
