Skip to content

Commit 8c0ba1a

Browse files
committed
feat: close ChatGPTNextWeb#2954 chat summary should be copyable
1 parent 4715477 commit 8c0ba1a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/components/chat.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export function SessionConfigModel(props: { onClose: () => void }) {
143143
extraListItems={
144144
session.mask.modelConfig.sendMemory ? (
145145
<ListItem
146+
className="copyable"
146147
title={`${Locale.Memory.Title} (${session.lastSummarizeIndex} of ${session.messages.length})`}
147148
subTitle={session.memoryPrompt || Locale.Memory.EmptyContent}
148149
></ListItem>

app/styles/globals.scss

+4
Original file line numberDiff line numberDiff line change
@@ -357,3 +357,7 @@ pre {
357357
overflow: hidden;
358358
text-overflow: ellipsis;
359359
}
360+
361+
.copyable {
362+
user-select: text;
363+
}

0 commit comments

Comments
 (0)