Add progress indicator for initial load of web app #246
Labels
A-Run
Related to the bevy run command
A-Web
Building or running Bevy apps targeting the browser
C-Usability
An improvement that makes the API more pleasant
D-Complex
Quite challenging from either a design or technical perspective. Ask for help!
S-Needs-Design
This issue requires design work to think about how it would best be accomplished
The Wasm binary of a Bevy app can be quite big, especially in debug mode. This can result in significant loading times for the website.
We should check if we can add a simple progress indicator to the loading to improve the user feedback.
The server might provide a
content-length
header indicating the total size of the binary, which we can then use to calculate the progress.As we only control the dev server and not the deployed version, the implementation should gracefully handle if the server doesn't provide the required data.
The text was updated successfully, but these errors were encountered: