FR: #4048 - Add color customization to the chatbot (#4885)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Diego Romero-Lovo 2024-06-26 04:51:00 -05:00 committed by GitHub
commit 4c0a31d38b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 379 additions and 18 deletions

View file

@ -1042,6 +1042,8 @@ class Site(db.Model):
icon_background = db.Column(db.String(255))
description = db.Column(db.Text)
default_language = db.Column(db.String(255), nullable=False)
chat_color_theme = db.Column(db.String(255))
chat_color_theme_inverted = db.Column(db.Boolean, nullable=False, server_default=db.text('false'))
copyright = db.Column(db.String(255))
privacy_policy = db.Column(db.String(255))
show_workflow_steps = db.Column(db.Boolean, nullable=False, server_default=db.text('true'))