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

@@ -916,6 +916,10 @@ function registerIpcHandlers() {
return chatService.getExportTabCounts()
})
ipcMain.handle('chat:getSessionMessageCounts', async (_, sessionIds: string[]) => {
return chatService.getSessionMessageCounts(sessionIds)
})
ipcMain.handle('chat:enrichSessionsContactInfo', async (_, usernames: string[]) => {
return chatService.enrichSessionsContactInfo(usernames)
})