You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Large files may take some time to process and thus, it would be beneficial for the user to introduce a loading animation; otherwise, the user might think that the application has crashed.
The text was updated successfully, but these errors were encountered:
Attempted to use Task.Delay(TimeSpan.FromMilliseconds(1)) to yield back to the current context and thus, allowing the UI to update. The UI experienced no noticeable freezing; however, it significantly prolonged the process time.
A more conservative Task.Delay(TimeSpan.FromMicroseconds(100)) yields no benefits in terms of UI — the UI experienced frequent freezing.
Task.Yield() had no impact on UI performance either.
It could be worth looking into incorporating Web Workers with WASM to offload the work to a background thread.
isaachili
changed the title
Add a loading for file uploads
Add a loading animation for file uploads
Nov 14, 2024
Large files may take some time to process and thus, it would be beneficial for the user to introduce a loading animation; otherwise, the user might think that the application has crashed.
The text was updated successfully, but these errors were encountered: