File tree Expand file tree Collapse file tree
components/ConversationView Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ interface Props {
7676 initialModelId : string ;
7777 streamErrorText : string ;
7878 isReadOnly ?: boolean ;
79- readOnlyNotice ?: string ;
8079 onDuplicateConversation ?: ( ) => void ;
8180 duplicateError ?: string ;
8281 isTranscriptionSupported ?: boolean ;
@@ -105,7 +104,6 @@ const ConversationView: FC<Props> = ({
105104 initialModelId,
106105 streamErrorText,
107106 isReadOnly = false ,
108- readOnlyNotice,
109107 onDuplicateConversation,
110108 duplicateError,
111109 isTranscriptionSupported = false ,
@@ -387,11 +385,6 @@ const ConversationView: FC<Props> = ({
387385 >
388386 { isReadOnly ? (
389387 < div className = "flex flex-col items-center justify-center gap-2 p-4" >
390- { readOnlyNotice && (
391- < p className = "dial-body-regular-text text-secondary" >
392- { readOnlyNotice }
393- </ p >
394- ) }
395388 { duplicateError && (
396389 < DialNotification
397390 variant = { NotificationVariant . Error }
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export enum ChatI18nKeys {
1515 StopStreaming = 'chat.stopStreaming' ,
1616 QuickReplyButtons = 'chat.quickReplyButtons' ,
1717 StoppedGenerating = 'chat.stoppedGenerating' ,
18- ReadOnlyNotice = 'chat.readOnlyNotice' ,
1918 Thinking = 'chat.thinking' ,
2019 ShowMoreUserMessage = 'chat.showMoreUserMessage' ,
2120 ShowLessUserMessage = 'chat.showLessUserMessage' ,
Original file line number Diff line number Diff line change 2323 "stopStreaming" : " Stop streaming" ,
2424 "quickReplyButtons" : " Quick reply buttons" ,
2525 "stoppedGenerating" : " You stopped generating the response" ,
26- "readOnlyNotice" : " Only own conversations can be edited" ,
2726 "thinking" : " Thinking" ,
2827 "showMoreUserMessage" : " Show full user message" ,
2928 "showLessUserMessage" : " Collapse user message"
Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ export const ConversationPage: FC = () => {
280280 isReadOnly = { isReadOnly }
281281 onDuplicateConversation = { handleDuplicateConversation }
282282 duplicateError = { duplicateError ?? undefined }
283- readOnlyNotice = { t ( ChatI18nKeys . ReadOnlyNotice ) }
284283 isTranscriptionSupported = { isTranscriptionSupported }
285284 onUploadAudio = { handleUploadAudio }
286285 onTranscribeAudio = { handleTranscribeAudio }
You can’t perform that action at this time.
0 commit comments