AOSSIE-Org / AOSSIE-Org/OpenPeerChat-flutter

Implement File Upload Progress Indicator

Aberta
#24 3 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Dart
Estrelas
31
Forks
53
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Currently, large file transfers occur without clear progress feedback. A progress indicator would greatly improve user experience by showing the percentage or status of an ongoing upload or download event.

Goals:
• Track file transfer progress in real time.
• Display a clear progress bar (circular or linear) to both the sender and receiver.
• Provide a user-friendly representation of how long a file transfer will take.

Possible Approach:
• During file upload, track the number of bytes transferred vs. total bytes.
• Utilize flutter_nearby_connections and Streams and Global cache.
• Update the UI with the calculated percentage (bytes transferred / total bytes).
• Create a callback or event handler that notifies the UI for each chunk of data transferred.
• Handle edge cases like transfer failures or cancellations and gracefully stop the progress bar.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.