feat: expose webapp title in admin settings

This commit is contained in:
3252a8
2026-05-24 22:53:50 +03:00
parent 9674c674a2
commit e15cbffdb1
6 changed files with 38 additions and 5 deletions
@@ -11,6 +11,7 @@ from bot.app.web.webapp.cache_helpers import (
WEBAPP_APPEARANCE_SETTING_KEYS = frozenset(
{
"WEBAPP_TITLE",
"WEBAPP_LOGO_URL",
"WEBAPP_LOGO_USE_EMOJI",
"WEBAPP_LOGO_EMOJI",
@@ -34,6 +34,13 @@ class SettingField:
SETTINGS_MANIFEST: List[SettingField] = [
# ─── General ────────────────────────────────────────────────────
SettingField(
"WEBAPP_TITLE",
"string",
"general",
"Web App title",
placeholder="My subscription",
),
SettingField(
"DEFAULT_LANGUAGE",
"string",
@@ -117,9 +124,6 @@ SETTINGS_MANIFEST: List[SettingField] = [
subsection="Remnawave",
),
# ─── Web app appearance ────────────────────────────────────────
SettingField(
"WEBAPP_TITLE", "string", "appearance", "Название Web App", placeholder="Моя подписка"
),
SettingField(
"SUBSCRIPTION_MINI_APP_URL",
"url",