mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-13 06:32:57 +02:00
Add user dropdown seed-able list (#2308)
* add user dropdown seedable list * minor cleanup * fix build issue * minor type update * remove log * quick update to divider logic (squash) * tiny icon updates
This commit is contained in:
@ -1,4 +1,13 @@
|
||||
from typing import List
|
||||
|
||||
from pydantic import BaseModel
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class NavigationItem(BaseModel):
|
||||
link: str
|
||||
icon: str
|
||||
title: str
|
||||
|
||||
|
||||
class EnterpriseSettings(BaseModel):
|
||||
@ -10,6 +19,9 @@ class EnterpriseSettings(BaseModel):
|
||||
use_custom_logo: bool = False
|
||||
use_custom_logotype: bool = False
|
||||
|
||||
# custom navigation
|
||||
custom_nav_items: List[NavigationItem] = Field(default_factory=list)
|
||||
|
||||
# custom Chat components
|
||||
two_lines_for_chat_header: bool | None = None
|
||||
custom_lower_disclaimer_content: str | None = None
|
||||
|
Reference in New Issue
Block a user