Tell me, I want to rename the Slack sending method to "my name", changing SLACK = "my name" in the file /app/superset/reports/models.py. And if this worked in version 3.1.1, then in version 4.1.2 or 5.0.0, when choosing a notification method, it shows only Mail.
Comment From: dosubot[bot]
In Superset 4.x and 5.x, notification methods like Slack are defined as enum values in the backend (ReportRecipientType) and referenced by specific constants in both backend and frontend code. Renaming the SLACK value alone breaks the link between the backend and frontend, so only Mail appears as an option. The frontend expects exact identifiers (like "Slack" or "SlackV2") to display Slack as a notification method, and the backend uses these for plugin registration and discovery. To customize the Slack method name, you would need to update the enum, notification plugin classes, and all related frontend constants together—simply changing the string in models.py is no longer enough in recent versions. See the enum definition and plugin usage here and here.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other