🔧(frontend) make feedback form configurable via backend settings

Implement conditional rendering that hides all feedback-related UI components
when feedback is disabled in backend configuration.

Also, feedback URL is now customizable.
This commit is contained in:
lebaudantoine
2025-04-28 16:48:26 +02:00
committed by aleb_the_flash
parent f2e6edb90d
commit 56c1cd98fa
10 changed files with 37 additions and 22 deletions

View File

@@ -312,6 +312,9 @@ class Base(Configuration):
"is_silent_login_enabled": values.BooleanValue(
True, environ_name="FRONTEND_IS_SILENT_LOGING_ENABLED", environ_prefix=None
),
"feedback": values.DictValue(
{}, environ_name="FRONTEND_FEEDBACK", environ_prefix=None
),
}
# Mail