Skip to content

Long-lived loading indicators should display progress #1

Description

@skivdal

When the frontend is waiting on data for a panel, a spinning wheel is shown. This is fine for quick tasks, like Metadata, but an annoying user experience for longer tasks, such as Transcription, and Upload or Keyframes for longer videos.

Showing a progress bar instead is more interactive. Instrumentation for this exists in the websocket types, more precisely BackendProgress at

export interface BackendProgress extends BackendMessage {
progress: number;
}

Hijacking the tqdm library seems like a good option.

This might be a good option of how to visualize the loading bar: https://flowbite.com/docs/components/progress/

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions