Auto-scroll component for websocket/grpc/sse

This commit is contained in:
Gregory Schier
2025-02-03 07:05:14 -08:00
parent be0ef7afce
commit 17dc1991f1
11 changed files with 208 additions and 137 deletions

View File

@@ -25,7 +25,7 @@ function initForWorkspace(workspaceId: string, syncDir: string | null) {
const debouncedSync = debounce(() => {
if (syncDir == null) return;
syncWorkspace.mutate({ workspaceId, syncDir });
});
}, 1000);
// Sync on model upsert
const unsubUpsertedModels = listenToTauriEvent<ModelPayload>('upserted_model', (p) => {