mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-24 18:23:07 +08:00
feat: support rename conversation (#1056)
This commit is contained in:
@@ -18,8 +18,10 @@ export type ISidebarProps = {
|
||||
currentId: string
|
||||
onCurrentIdChange: (id: string) => void
|
||||
list: ConversationItem[]
|
||||
onListChanged: (newList: ConversationItem[]) => void
|
||||
isClearConversationList: boolean
|
||||
pinnedList: ConversationItem[]
|
||||
onPinnedListChanged: (newList: ConversationItem[]) => void
|
||||
isClearPinnedConversationList: boolean
|
||||
isInstalledApp: boolean
|
||||
installedAppId?: string
|
||||
@@ -40,8 +42,10 @@ const Sidebar: FC<ISidebarProps> = ({
|
||||
currentId,
|
||||
onCurrentIdChange,
|
||||
list,
|
||||
onListChanged,
|
||||
isClearConversationList,
|
||||
pinnedList,
|
||||
onPinnedListChanged,
|
||||
isClearPinnedConversationList,
|
||||
isInstalledApp,
|
||||
installedAppId,
|
||||
@@ -115,6 +119,7 @@ const Sidebar: FC<ISidebarProps> = ({
|
||||
currentId={currentId}
|
||||
onCurrentIdChange={onCurrentIdChange}
|
||||
list={pinnedList}
|
||||
onListChanged={onPinnedListChanged}
|
||||
isClearConversationList={isClearPinnedConversationList}
|
||||
isInstalledApp={isInstalledApp}
|
||||
installedAppId={installedAppId}
|
||||
@@ -138,6 +143,7 @@ const Sidebar: FC<ISidebarProps> = ({
|
||||
currentId={currentId}
|
||||
onCurrentIdChange={onCurrentIdChange}
|
||||
list={list}
|
||||
onListChanged={onListChanged}
|
||||
isClearConversationList={isClearConversationList}
|
||||
isInstalledApp={isInstalledApp}
|
||||
installedAppId={installedAppId}
|
||||
|
||||
Reference in New Issue
Block a user