feat(chat): replace jump date modal with inline calendar popover

This commit is contained in:
tisonhuang committed 2026-03-04 21:19:11 +08:00
1 parent 1652ebc4ad
commit 4b57e3e350
8 files changed
+570 -49

No files matched your search

+2
View File
@@ -288,6 +288,8 @@ export interface ElectronAPI {
images?: { imageMd5?: string; imageDatName?: string; createTime?: number }[]
error?: string
}>
getMessageDates: (sessionId: string) => Promise<{ success: boolean; dates?: string[]; error?: string }>
getMessageDateCounts: (sessionId: string) => Promise<{ success: boolean; counts?: Record<string, number>; error?: string }>
resolveVoiceCache: (sessionId: string, msgId: string) => Promise<{ success: boolean; hasCache: boolean; data?: string }>
getVoiceTranscript: (sessionId: string, msgId: string, createTime?: number) => Promise<{ success: boolean; transcript?: string; error?: string }>
onVoiceTranscriptPartial: (callback: (payload: { msgId: string; text: string }) => void) => () => void