Add time remaining to embedding reindex pane (#14279)

* Add function to convert seconds to human readable duration

* Add estimated time remaining to reindexing pane
This commit is contained in:
Josh Hawkins
2024-10-11 08:04:25 -05:00
committed by GitHub
parent 2897afce41
commit ae91fa6a39
4 changed files with 37 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ export type EmbeddingsReindexProgressType = {
descriptions: number;
processed_objects: number;
total_objects: number;
time_remaining: number;
};
export type ToggleableSetting = "ON" | "OFF";