GitHub user dosubot[bot] added a comment to the discussion: Customizing the 
Welcome Page

<!-- Greeting -->
Hi @armanmshah! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
superset team.

<!-- Answer -->
Superset doesn't currently support injecting custom HTML directly into the 
welcome page via configuration or `superset_config.py`—the welcome page is 
rendered by a React app, and most of its content can't be changed from the 
backend or config alone. Your approach with a custom `IndexView` in 
`superset_config.py` won't work for modifying the actual welcome page content; 
it can only redirect or replace the page entirely, not insert HTML into the 
existing React-rendered content 
[reference](https://github.com/apache/superset/discussions/18571).

If you're on Superset 5.0.0 or later, you can inject HTML into the `<head>` of 
all pages (including the welcome page) by adding a `head_custom_extra.html` 
file, but this only affects the `<head>`, not the body content 
[reference](https://github.com/apache/superset/issues/31686).

For more advanced customization (like adding info sections or banners to the 
welcome page body), you'd need to fork the frontend or use the React extension 
points (`welcome.message`, `welcome.banner`, etc.)—but these require writing a 
Superset frontend plugin, not just Python config 
[reference](https://github.com/apache/superset/blob/e6af4ea126058052506e5437cbe90f9c5f2192d0/superset-frontend/src/pages/Home/index.tsx).

If you want this kind of HTML injection as a config feature, it would need to 
be proposed and implemented as a new feature.


<!-- 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/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2edb077b-3267-4f46-911d-d034864a04f1?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33761)

GitHub link: 
https://github.com/apache/superset/discussions/33761#discussioncomment-13451346

----
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]

Reply via email to