perf(export): prioritize totals and keep table visible

This commit is contained in:
tisonhuang
2026-03-01 17:27:10 +08:00
parent d12c111684
commit bf9b5ba593
6 changed files with 216 additions and 59 deletions

View File

@@ -84,6 +84,11 @@ export interface ElectronAPI {
}
error?: string
}>
getSessionMessageCounts: (sessionIds: string[]) => Promise<{
success: boolean
counts?: Record<string, number>
error?: string
}>
enrichSessionsContactInfo: (usernames: string[]) => Promise<{
success: boolean
contacts?: Record<string, { displayName?: string; avatarUrl?: string }>