feat: update Makelore modules and conversations
This commit is contained in:
@@ -106,7 +106,7 @@ export function ChatCommandRenameDialog({
|
||||
aria-modal="true"
|
||||
aria-labelledby="chat-rename-title"
|
||||
className="
|
||||
fixed inset-0 z-50 flex items-center justify-center bg-black/50
|
||||
fixed inset-0 z-50 flex items-center justify-center bg-foreground/15
|
||||
"
|
||||
onKeyDown={(event) => handleModalKeyDown(event, onCancel)}
|
||||
>
|
||||
@@ -142,7 +142,6 @@ export function ChatCommandRenameDialog({
|
||||
|
||||
export interface ChatCommandTimelineDialogProps {
|
||||
open: boolean;
|
||||
mode: 'timeline' | 'fork';
|
||||
entries: readonly ChatTimelineEntry[];
|
||||
onSelect: (messageId: string) => void;
|
||||
onCancel: () => void;
|
||||
@@ -150,7 +149,6 @@ export interface ChatCommandTimelineDialogProps {
|
||||
|
||||
export function ChatCommandTimelineDialog({
|
||||
open,
|
||||
mode,
|
||||
entries,
|
||||
onSelect,
|
||||
onCancel,
|
||||
@@ -160,7 +158,7 @@ export function ChatCommandTimelineDialog({
|
||||
useModalDialogFocus(open, dialogRef, firstEntryRef);
|
||||
|
||||
if (!open) return null;
|
||||
const title = mode === 'fork' ? '选择分叉位置' : '消息时间线';
|
||||
const title = '消息时间线';
|
||||
return (
|
||||
<div
|
||||
ref={dialogRef}
|
||||
@@ -168,7 +166,7 @@ export function ChatCommandTimelineDialog({
|
||||
aria-modal="true"
|
||||
aria-labelledby="chat-timeline-title"
|
||||
className="
|
||||
fixed inset-0 z-50 flex items-center justify-center bg-black/50
|
||||
fixed inset-0 z-50 flex items-center justify-center bg-foreground/15
|
||||
"
|
||||
onKeyDown={(event) => handleModalKeyDown(event, onCancel)}
|
||||
>
|
||||
@@ -193,7 +191,7 @@ export function ChatCommandTimelineDialog({
|
||||
"
|
||||
onClick={() => onSelect(entry.messageId)}
|
||||
>
|
||||
<span className="block text-xs font-bold text-muted-foreground">
|
||||
<span className="block text-xs font-medium text-muted-foreground">
|
||||
{entry.label}
|
||||
</span>
|
||||
<span className="block truncate">{entry.preview}</span>
|
||||
|
||||
Reference in New Issue
Block a user